Skip to content

Commit a08cb86

Browse files
committed
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
1 parent d390164 commit a08cb86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ArduCopter/compassmot.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ MAV_RESULT Copter::mavlink_compassmot(const GCS_MAVLINK &gcs_chan)
232232
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
233233
// a lot of autotest timeouts are based on receiving system time
234234
gcs_chan.send_system_time();
235+
// autotesting of compassmot wants to see RC channels message
236+
gcs_chan.send_rc_channels();
235237
#endif
236238
}
237239
}

0 commit comments

Comments
 (0)