FOUND
Loading...
Searching...
No Matches
found::LOSTVectorGenerationAlgorithm Class Reference

The LOSTVectorGenerationAlgorithm class houses the a Vector Assembly Algorithm that calculates the position of the satellite using orientation information determined from LOST. More...

#include <vectorize.hpp>

Inheritance diagram for found::LOSTVectorGenerationAlgorithm:
Collaboration diagram for found::LOSTVectorGenerationAlgorithm:

Public Member Functions

 LOSTVectorGenerationAlgorithm (Quaternion relativeOrientation, Quaternion referenceOrientation)
 Creates a LOSTVectorGenerationAlgorithm object.
 
 LOSTVectorGenerationAlgorithm (Quaternion orientation)
 Creates a LOSTVectorGenerationAlgorithm object.
 
PositionVector Run (const PositionVector &x_E) override
 Runs the Vector Assembly Algorithm, which finds the vector of the satellite with respect to Earth's center using information from LOST.
 
- Public Member Functions inherited from found::FunctionStage< PositionVector, PositionVector >
 FunctionStage ()=default
 Constructs a new Stage.
 
virtual ~FunctionStage ()=default
 Destroys this.
 
void DoAction () override
 Executes Run (with a stored input and storing the output)
 
PositionVectorGetResource ()
 Returns the stored input of this.
 
PositionVector *& GetProduct ()
 Returns the stored output of this.
 
- Public Member Functions inherited from found::Stage< Input, Output >
virtual Output Run (Input input)=0
 Runs this stage.
 

Private Attributes

Quaternion orientation
 Orientation from LOST.
 

Additional Inherited Members

- Protected Attributes inherited from found::FunctionStage< PositionVector, PositionVector >
PositionVector resource
 The stored input for this.
 
PositionVectorproduct
 The pointer to the stored output for this.
 

Detailed Description

The LOSTVectorGenerationAlgorithm class houses the a Vector Assembly Algorithm that calculates the position of the satellite using orientation information determined from LOST.

Constructor & Destructor Documentation

◆ LOSTVectorGenerationAlgorithm() [1/2]

found::LOSTVectorGenerationAlgorithm::LOSTVectorGenerationAlgorithm ( Quaternion  relativeOrientation,
Quaternion  referenceOrientation 
)
inlineexplicit

Creates a LOSTVectorGenerationAlgorithm object.

Parameters
relativeOrientationThe orientation of the FOUND camera with respect to the reference Orientation
referenceOrientationThe orientation of the reference orientation
Precondition
You must use a backwards rotation quaternion here. Remember that forwards and backwards quaternions are conjugates.

◆ LOSTVectorGenerationAlgorithm() [2/2]

found::LOSTVectorGenerationAlgorithm::LOSTVectorGenerationAlgorithm ( Quaternion  orientation)
inlineexplicit

Creates a LOSTVectorGenerationAlgorithm object.

Parameters
orientationThe absolute orientation of the FOUND camera
Precondition
You must use a backwards rotation quaternion here. Remember that forwards and backwards quaternions are conjugates.

Member Function Documentation

◆ Run()

PositionVector found::LOSTVectorGenerationAlgorithm::Run ( const PositionVector x_E)
override

Runs the Vector Assembly Algorithm, which finds the vector of the satellite with respect to Earth's center using information from LOST.

Precondition
This class was initialized by backwards quaternion(s)
Parameters
x_EThe distance from Earth
Returns
A PositionVector that represents the 3D Vector of the satellite relative to Earth's center

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