FOUND
Loading...
Searching...
No Matches
vectorize.hpp
Go to the documentation of this file.
1#ifndef VECTORIZE_H
2#define VECTORIZE_H
3
5#include "common/style.hpp"
6#include "common/pipeline.hpp"
7
8namespace found {
9
15class VectorGenerationAlgorithm : public Stage<PositionVector, PositionVector> {
16 public:
17 // Constructs this
19 // Destroys this
21};
22
29 public:
40 explicit LOSTVectorGenerationAlgorithm(Quaternion relativeOrientation, Quaternion referenceOrientation)
41 : orientation(relativeOrientation * referenceOrientation) {}
42 // TODO: I feel like we should be taking the conjugate of the above multiplication here, to mirror the blow
43 // constructor, because relativeOrientation == orientation * referenceOrientation^-1, but it works out for
44 // some reason. I'm not really sure why though, but the test cases all pass and don't when you attempt to
45 // conjugate this.
46
60
61 // Destroys this
63
73 PositionVector Run(const PositionVector &x_E) override;
74
75 private:
76 // Fields specific to this algorithm go here, and helper methods
77
80};
81
88 public:
92 FeatureDetectionVectorGenerationAlgorithm(/*Params to initialze fields for this object*/);
93
98
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
FeatureDetectionVectorGenerationAlgorithm figures out the distance vector of the satellite relative t...
Definition vectorize.hpp:87
PositionVector Run(const PositionVector &x_E) override
Place documentation here.
~FeatureDetectionVectorGenerationAlgorithm()
Place documentation here.
FeatureDetectionVectorGenerationAlgorithm()
Place documentation here.
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:40
LOSTVectorGenerationAlgorithm(Quaternion orientation)
Creates a LOSTVectorGenerationAlgorithm object.
Definition vectorize.hpp:58
Quaternion orientation
Orientation from LOST.
Definition vectorize.hpp:79
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:192
A Stage is a data structure that wraps a function, and taking in parameter Input and returning Output...
Definition pipeline.hpp:32
A Vec3 is a mutable object that represents a 3D Vector.
Definition attitude-utils.hpp:47
The VectorGenerationAlgorithm class houses the Vector Assembly Algorithm.
Definition vectorize.hpp:15
virtual ~VectorGenerationAlgorithm()
Definition vectorize.hpp:20
Definition calibrate.cpp:7