Skip to content

Commit

Permalink
Report that MockLink has a GPS
Browse files Browse the repository at this point in the history
  • Loading branch information
DonLakeFlyer committed Jan 21, 2024
1 parent 34c9f62 commit 6fb1094
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/comm/MockLink.cc
Original file line number Diff line number Diff line change
Expand Up @@ -427,13 +427,13 @@ void MockLink::_sendSysStatus(void)
_vehicleComponentId,
static_cast<uint8_t>(mavlinkChannel()),
&msg,
0, // onboard_control_sensors_present
0, // onboard_control_sensors_enabled
0, // onboard_control_sensors_health
250, // load
4200 * 4, // voltage_battery
8000, // current_battery
_battery1PctRemaining, // battery_remaining
MAV_SYS_STATUS_SENSOR_GPS, // onboard_control_sensors_present
0, // onboard_control_sensors_enabled
0, // onboard_control_sensors_health
250, // load
4200 * 4, // voltage_battery
8000, // current_battery
_battery1PctRemaining, // battery_remaining
0,0,0,0,0,0,0,0,0);
respondWithMavlinkMessage(msg);
}
Expand Down

0 comments on commit 6fb1094

Please sign in to comment.