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>
The LOSTVectorGenerationAlgorithm class houses the a Vector Assembly Algorithm that calculates the position of the satellite using orientation information determined from LOST.
◆ LOSTVectorGenerationAlgorithm() [1/2]
found::LOSTVectorGenerationAlgorithm::LOSTVectorGenerationAlgorithm |
( |
Quaternion |
relativeOrientation, |
|
|
Quaternion |
referenceOrientation |
|
) |
| |
|
inlineexplicit |
Creates a LOSTVectorGenerationAlgorithm object.
- Parameters
-
relativeOrientation | The orientation of the FOUND camera with respect to the reference Orientation |
referenceOrientation | The orientation of the reference orientation |
- Precondition
- If using EulerAngles to generate the parameters, use SphericalToQuaternion, which provides the backwards rotation quaternions for both Euler angles. Using the normal quaternion will result in the opposite behavior (i.e. Run(x_E) will rotate the position vector away from its celestial equivalent instead of to it)
◆ LOSTVectorGenerationAlgorithm() [2/2]
found::LOSTVectorGenerationAlgorithm::LOSTVectorGenerationAlgorithm |
( |
Quaternion |
orientation | ) |
|
|
inlineexplicit |
Creates a LOSTVectorGenerationAlgorithm object.
- Parameters
-
orientation | The absolute orientation of the FOUND camera |
- Precondition
- If using EulerAngles to generate the parameters, use SphericalToQuaternion, which provides the backwards rotation quaternions for both Euler angles. Using the normal quaternion will result in the opposite behavior (i.e. Run(x_E) will rotate the position vector away from its celestial equivalent instead of to it)
- Note
- We take the conjugate to turn this back into a forward rotation
◆ ~LOSTVectorGenerationAlgorithm()
found::LOSTVectorGenerationAlgorithm::~LOSTVectorGenerationAlgorithm |
( |
| ) |
|
|
default |
◆ Run()
Runs the Vector Assembly Algorithm, which finds the vector of the satellite with respect to Earth's center using information from LOST.
- Parameters
-
x_E | The distance from Earth |
- Returns
- A PositionVector that represents the 3D Vector of the satellite relative to Earth's center
Implements found::Stage< PositionVector, PositionVector >.
◆ orientation
Quaternion found::LOSTVectorGenerationAlgorithm::orientation |
|
private |
The documentation for this class was generated from the following files: