3#include "LinearKalmanFilter.h"
4#include "system_messages/StateEstimatorMsg.h"
14 int8_t setup()
override;
15 int8_t loop()
override;
23 SUBSYSTEM_NAME(
"StateEstimator");
30 bool receivedBaro =
false;
31 bool receivedAcc =
false;
33 float yAcceleration = 0;
37 float currentMillis = 0;
40 uint32_t last_log = 0;
Definition: LinearKalmanFilter.h:6
Definition: StateEstimator.h:8
void on_message(SystemMessage *msg) override
Definition: StateEstimator.cpp:49
Definition: Subsystem.h:30
Subsystem(uint8_t id)
Definition: Subsystem.h:86
A base class for all system messages.
Definition: SystemMessage.h:32
Message sent by the accelerometer to the system.
Definition: AccelerometerDataMsg.h:17
Message sent by the barometer to the system.
Definition: BarometerDataMsg.h:15