mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 22:17:01 +08:00
[ahrs] update remaining ahrs stuff
This commit is contained in:
@@ -157,7 +157,7 @@ static void send_navdata(struct transport_tx *trans, struct link_device *dev)
|
||||
static void send_filter_status(struct transport_tx *trans, struct link_device *dev)
|
||||
{
|
||||
uint8_t mde = 3;
|
||||
if (ahrs.status == AHRS_UNINIT) { mde = 2; }
|
||||
if (!DefaultAhrsImpl.is_aligned) { mde = 2; }
|
||||
if (imu_lost) { mde = 5; }
|
||||
uint16_t val = imu_lost_counter;
|
||||
pprz_msg_send_STATE_FILTER_STATUS(trans, dev, AC_ID, &mde, &val);
|
||||
|
||||
Reference in New Issue
Block a user