Skip to content

Commit

Permalink
AP_ExternalAHRS: fixed InertialLabs gyro/accel data
Browse files Browse the repository at this point in the history
this fixes a flapping CI test
  • Loading branch information
tridge committed Dec 28, 2023
1 parent 6c24f80 commit 1d0fc4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/AP_ExternalAHRS/AP_ExternalAHRS_InertialLabs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,8 @@ bool AP_ExternalAHRS_InertialLabs::check_uart()
if (GOT_MSG(ACCEL_DATA_HR) &&
GOT_MSG(GYRO_DATA_HR)) {
AP::ins().handle_external(ins_data);
state.accel = ins_data.accel;
state.gyro = ins_data.gyro;
}
if (GOT_MSG(GPS_INS_TIME_MS) &&
GOT_MSG(NUM_SATS) &&
Expand Down

0 comments on commit 1d0fc4e

Please sign in to comment.