From 4d1177698794d84164604d532ada1adaf2c62789 Mon Sep 17 00:00:00 2001 From: Karen Haining Date: Thu, 11 Aug 2022 21:50:48 -0700 Subject: [PATCH] add previous attitude class --- src/star-utils.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/star-utils.hpp b/src/star-utils.hpp index 4b5d5214..587dfe71 100644 --- a/src/star-utils.hpp +++ b/src/star-utils.hpp @@ -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