diff --git a/src/comm/MAVLinkSimulationMAV.cc b/src/comm/MAVLinkSimulationMAV.cc index f971b3be14db37b6f5b0c4ae73c57239348b2bbd..9dc20acafdcbf4d82ba465ec18a4d5b8aac76d07 100644 --- a/src/comm/MAVLinkSimulationMAV.cc +++ b/src/comm/MAVLinkSimulationMAV.cc @@ -168,11 +168,16 @@ void MAVLinkSimulationMAV::mainloop() // SYSTEM STATUS mavlink_sys_status_t status; + + // Since the simulation outputs global position, attiude and raw pressure we specify that the + // sensors that would be collecting this information are present, enabled and healthy. + status.onboard_control_sensors_present = MAV_SYS_STATUS_SENSOR_3D_GYRO | MAV_SYS_STATUS_SENSOR_3D_ACCEL | MAV_SYS_STATUS_SENSOR_3D_MAG | MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE | MAV_SYS_STATUS_SENSOR_GPS; + status.onboard_control_sensors_enabled = status.onboard_control_sensors_present; status.onboard_control_sensors_health = status.onboard_control_sensors_present; status.load = 300;