Skip to content

Commit

Permalink
add previous attitude class
Browse files Browse the repository at this point in the history
  • Loading branch information
karenhaining committed Aug 12, 2022
1 parent e0abcee commit 4d11776
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/star-utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@ const CatalogStar *findNamedStar(const Catalog &, int name);
// (so 523 = 5.23)
Catalog NarrowCatalog(const Catalog &, int maxMagnitude, int maxStars);

// for tracking mode
class PrevAttitude {
public:
PrevAttitude(Attitude prev, float uncertainty)
: prev(prev), uncertainty(uncertainty) { };

Attitude prev;
float uncertainty;
};

}

#endif

0 comments on commit 4d11776

Please sign in to comment.