SITL: morse simulator should generate packets from same vehicle sysid

This commit is contained in:
Tom Pittenger 2019-10-21 10:11:35 +08:00 committed by Randy Mackay
parent 5b1e688b6a
commit bbd6f3aa6c
1 changed files with 2 additions and 2 deletions

View File

@ -614,8 +614,8 @@ void Morse::send_report(void)
uint8_t saved_seq = chan0_status->current_tx_seq;
chan0_status->current_tx_seq = mavlink.seq;
uint16_t len = mavlink_msg_obstacle_distance_encode(
0,
0,
mavlink_system.sysid,
13,
&msg, &packet);
chan0_status->current_tx_seq = saved_seq;