Fix ahrs_int_cmpl_quat in NPS simulation by updating state input filters in sim_overwrite_ahrs (#3611)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled

This commit is contained in:
Christophe De Wagter
2026-03-05 11:19:28 +01:00
committed by GitHub
parent 10040de4cd
commit 15accba262
2 changed files with 3 additions and 1 deletions
@@ -191,6 +191,8 @@ void nps_autopilot_run_step(double time)
void sim_overwrite_ahrs(void)
{
stateSetInputFilter(STATE_INPUT_ATTITUDE, MODULE_NPS_ID);
stateSetInputFilter(STATE_INPUT_RATES, MODULE_NPS_ID);
struct FloatQuat quat_f;
QUAT_COPY(quat_f, fdm.ltp_to_body_quat);