FOUND
Loading...
Searching...
No Matches
vectorize.hpp
1#ifndef SRC_DISTANCE_VECTORIZE_HPP_
2#define SRC_DISTANCE_VECTORIZE_HPP_
3
4#include "common/spatial/attitude-utils.hpp"
5#include "common/style.hpp"
6#include "common/pipeline/stages.hpp"
7
8namespace found {
9
15class VectorGenerationAlgorithm : public FunctionStage<PositionVector, PositionVector> {
16 public:
17 // Constructs this
18 VectorGenerationAlgorithm() = default;
19 // Destroys this
21};
22
29 public:
39 explicit LOSTVectorGenerationAlgorithm(Quaternion relativeOrientation, Quaternion referenceOrientation)
40 : orientation(relativeOrientation * referenceOrientation) {}
41
52
53 // Destroys this
55
67 PositionVector Run(const PositionVector &x_E) override;
68
69 private:
70 // Fields specific to this algorithm go here, and helper methods
71
74};
75
82 public:
86 FeatureDetectionVectorGenerationAlgorithm(/*Params to initialze fields for this object*/);
87
92
102 PositionVector Run(const PositionVector &x_E) override;
103 private:
104 // Fields specific to this algorithm go here, and helper methods
105};
106
107} // namespace found
108
109#endif // SRC_DISTANCE_VECTORIZE_HPP_
FeatureDetectionVectorGenerationAlgorithm figures out the distance vector of the satellite relative t...
Definition vectorize.hpp:81
PositionVector Run(const PositionVector &x_E) override
Place documentation here.
~FeatureDetectionVectorGenerationAlgorithm()
Place documentation here.
FeatureDetectionVectorGenerationAlgorithm()
Place documentation here.
A FunctionStage is a data structure that wraps a function, and taking in parameter Input and returnin...
Definition stages.hpp:56
The LOSTVectorGenerationAlgorithm class houses the a Vector Assembly Algorithm that calculates the po...
Definition vectorize.hpp:28
LOSTVectorGenerationAlgorithm(Quaternion relativeOrientation, Quaternion referenceOrientation)
Creates a LOSTVectorGenerationAlgorithm object.
Definition vectorize.hpp:39
LOSTVectorGenerationAlgorithm(Quaternion orientation)
Creates a LOSTVectorGenerationAlgorithm object.
Definition vectorize.hpp:50
Quaternion orientation
Orientation from LOST.
Definition vectorize.hpp:73
PositionVector Run(const PositionVector &x_E) override
Runs the Vector Assembly Algorithm, which finds the vector of the satellite with respect to Earth's c...
Definition vectorize.cpp:7
A Quaternion is a mutable object that represents a Quaternion.
Definition attitude-utils.hpp:474
A Vec3 is a mutable object that represents a 3D Vector.
Definition attitude-utils.hpp:98
The VectorGenerationAlgorithm class houses the Vector Assembly Algorithm.
Definition vectorize.hpp:15