waterloo-rocketry / cansw_processor_airbrakes

Processor board was developed for the 2023-2024 design cycle to perform state estimation and control tasks for Borealis's airbrakes system
2 stars 0 forks source link

State est calibration message implementation #47

Closed Joe-Joe-Joe-Joe closed 3 months ago

Joe-Joe-Joe-Joe commented 3 months ago

Currently there is a message type floating around called STATE_EST_CALIB or smth like that

it is designed to signal to the state estimation system to "calibrate" the filter, the intended use being for once we are railed and raised, to make sure that the starting angle is calculated from the accelerometer using our static position (5 deg from vertical)

The other thing this should allow us to do is change the target apogee of the controller on the fly, in case conditions change between when we close up the sled and when we are starting ops