LOST  0.0.1
LOST: Open-source Star Tracker
lost::TriadAlgorithm Class Reference

A fast attitude estimator which only takes into account information from two stars. More...

#include <attitude-estimators.hpp>

Inheritance diagram for lost::TriadAlgorithm:
Collaboration diagram for lost::TriadAlgorithm:

Public Member Functions

Attitude Go (const Camera &, const Stars &, const Catalog &, const StarIdentifiers &)
 Actually run the star-id algorithm. More...
 
- Public Member Functions inherited from lost::AttitudeEstimationAlgorithm
virtual ~AttitudeEstimationAlgorithm ()
 

Detailed Description

A fast attitude estimator which only takes into account information from two stars.

TRIAD is prone to error if either of the selected stars are not good. Even if both selected stars are decent, it's better to use an attitude estimator that takes into account all the stars to better cancel out centroiding noise.

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

Member Function Documentation

◆ Go()

Attitude lost::TriadAlgorithm::Go ( const Camera ,
const Stars ,
const Catalog ,
const StarIdentifiers  
)
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)

Implements lost::AttitudeEstimationAlgorithm.

Definition at line 134 of file attitude-estimators.cpp.

Here is the call graph for this function:

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