38static constexpr std::chrono::microseconds MAX_PROPAGATION_TIME =
39 std::chrono::seconds(5);
42static constexpr std::chrono::microseconds MAX_ACCELERATION_TIME =
43 std::chrono::seconds(5);
58 explicit Propagator(std::chrono::milliseconds updatePeriod);
81 miosix::Lock<miosix::FastMutex> lock(stateMutex);
94 miosix::FastMutex stateMutex;
97 uint64_t t0 = 0, t1 = 0;
98 uint64_t lastReceivedTime =
Predictor class that linearly propagates the last available rocket position by means of the rocket NA...
void setRocketNasState(const NASState &newRocketNasState)
Synchronized setter for the latest rocket nas state. Also notifies the predictor of a new packet arri...
bool init() override
Dummy init since we don't have to setup anything.
PropagatorState getState()
Synchronized getter for the State of the predictor.
Driver for the VN100S IMU.
State of the propagator, taking into account the prediction steps (0 if true NAS state) and the propa...