mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-01 10:54:07 +08:00
Not arming FMU in HIL mode
This commit is contained in:
parent
4298f68fcd
commit
b757ebbda8
@ -382,8 +382,8 @@ PX4FMU::task_main()
|
||||
/* get new value */
|
||||
orb_copy(ORB_ID(actuator_armed), _t_armed, &aa);
|
||||
|
||||
/* update PWM servo armed status */
|
||||
up_pwm_servo_arm(aa.armed);
|
||||
/* update PWM servo armed status if armed and not locked down */
|
||||
up_pwm_servo_arm((aa.armed && !aa.lockdown);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user