Skip to content

Commit

Permalink
AP_CINS: fixes from CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Nov 24, 2023
1 parent 08b0744 commit 6dbce7b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libraries/AP_CINS/AP_CINS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#define CINS_INITIAL_PITCH 0
#define CINS_INITIAL_YAW 0

#pragma GCC diagnostic error "-Wframe-larger-than=2000"

/*
initialise the filter
Expand Down Expand Up @@ -95,6 +96,7 @@ void AP_CINS::update(void)
// update_yaw_from_compass();
update_attitude_from_compass();

#if HAL_LOGGING_ENABLED
// @LoggerMessage: CINS
// @Description: CINS state
// @Field: TimeUS: Time since system startup
Expand Down Expand Up @@ -131,6 +133,7 @@ void AP_CINS::update(void)
loc.lat,
loc.lng,
loc.alt*0.01);
#endif // LOGGING_ENABLED
}


Expand Down Expand Up @@ -366,4 +369,4 @@ void AP_CINS::update_attitude_from_compass() {
Delta = state.ZHat * Delta * state.ZHat.inverse();

state.XHat = Gal3(Delta.R(), Delta.W2(), Delta.W1(), 0.) * state.XHat;
}
}

0 comments on commit 6dbce7b

Please sign in to comment.