LOST  0.0.1
LOST: Open-source Star Tracker
lost::AttitudeEstimationAlgorithm Class Referenceabstract

An attitude estimation algorithm estimates the orientation of the camera based on identified stars. More...

#include <attitude-estimators.hpp>

Inheritance diagram for lost::AttitudeEstimationAlgorithm:

Public Member Functions

virtual Attitude Go (const Camera &, const Stars &, const Catalog &, const StarIdentifiers &)=0
 Actually run the star-id algorithm. More...
 
virtual ~AttitudeEstimationAlgorithm ()
 

Detailed Description

An attitude estimation algorithm estimates the orientation of the camera based on identified stars.

Subclasses should have a constructor which stores any configuration values in private fields, and then override the Go method to perform the actual attitude estimation.

Definition at line 15 of file attitude-estimators.hpp.

Constructor & Destructor Documentation

◆ ~AttitudeEstimationAlgorithm()

virtual lost::AttitudeEstimationAlgorithm::~AttitudeEstimationAlgorithm ( )
inlinevirtual

Definition at line 24 of file attitude-estimators.hpp.

Member Function Documentation

◆ Go()

virtual Attitude lost::AttitudeEstimationAlgorithm::Go ( const Camera ,
const Stars ,
const Catalog ,
const StarIdentifiers  
)
pure virtual

Actually run the star-id algorithm.

Uses the given centroids and star identifiers to come up with an attitude estimate which minimizes error.

Todo:
More detail in return type (eg, whether attitude estimation failed, measure of error)

Implemented in lost::QuestAlgorithm, lost::TriadAlgorithm, and lost::DavenportQAlgorithm.


The documentation for this class was generated from the following file: