mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Plane: send SERVO_OUTPUT_RAW message when in cpu failsafe under SITL
This allows us to test that rc inputs are copied to the outputs in CPU failsafe in autotest
This commit is contained in:
parent
3f7ab6289d
commit
5a7d52fa0d
@ -102,5 +102,11 @@ void Plane::failsafe_check(void)
|
||||
flaperon_update(0);
|
||||
|
||||
servos_output();
|
||||
|
||||
// in SITL we send through the servo outputs so we can verify
|
||||
// we're manipulating surfaces
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
gcs().chan(0)->send_servo_output_raw();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user