mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-01 12:57:27 +08:00
Fix ahrs_int_cmpl_quat in NPS simulation by updating state input filters in sim_overwrite_ahrs (#3611)
This commit is contained in:
committed by
GitHub
parent
10040de4cd
commit
15accba262
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user