mirror of https://github.com/ArduPilot/ardupilot
Copter: send RC_CHANNELS in SITL in compassmot loop
When setting an RC value in autotest, we require the change to appear in this message
This commit is contained in:
parent
d198c3e13d
commit
5b69ff6e65
|
@ -232,6 +232,8 @@ MAV_RESULT Copter::mavlink_compassmot(const GCS_MAVLINK &gcs_chan)
|
|||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
// a lot of autotest timeouts are based on receiving system time
|
||||
gcs_chan.send_system_time();
|
||||
// autotesting of compassmot wants to see RC channels message
|
||||
gcs_chan.send_rc_channels();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue