Avionics
Core avionics package for CURE flight computers
Loading...
Searching...
No Matches
BaseStateMachine.h
Go to the documentation of this file.
1#ifndef BASE_STATE_MACHINE_H
2#define BASE_STATE_MACHINE_H
3
7
14 public:
22 virtual int update(const AccelerationTriplet& accel, const DataPoint& alt) = 0;
23
29 virtual uint8_t getState() const = 0;
30};
31
32#endif
Abstract interface for flight state machines driven by IMU/altimeter data.
virtual int update(const AccelerationTriplet &accel, const DataPoint &alt)=0
Advance the state machine with the latest measurements.
virtual uint8_t getState() const =0
Current discrete state identifier.
Timestamped float measurement container.
Definition DataPoint.h:11