@ -4,9 +4,9 @@
@@ -4,9 +4,9 @@
typedef struct __mavlink_sys_status_t
{
uint32_t onboard_control_sensors_present ; ///< Bitmask showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present. Indices: 0: 3D gyro, 1: 3D acc, 2: 3D mag, 3: absolute pressure, 4: differential pressure, 5: GPS, 6: optical flow, 7: computer vision position, 8: laser based position, 9: external ground-truth (Vicon or Leica). Controllers: 10: 3D angular rate control 11: attitude stabilization, 12: yaw position, 13: z/altitude control, 14: x/y position control, 15: motor outputs / control
uint32_t onboard_control_sensors_enabled ; ///< Bitmask showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled. Indices: 0: 3D gyro, 1: 3D acc, 2: 3D mag, 3: absolute pressure, 4: differential pressure, 5: GPS, 6: optical flow, 7: computer vision position, 8: laser based position, 9: external ground-truth (Vicon or Leica). Controllers: 10: 3D angular rate control 11: attitude stabilization, 12: yaw position, 13: z/altitude control, 14: x/y position control, 15: motor outputs / control
uint32_t onboard_control_sensors_health ; ///< Bitmask showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled. Indices: 0: 3D gyro, 1: 3D acc, 2: 3D mag, 3: absolute pressure, 4: differential pressure, 5: GPS, 6: optical flow, 7: computer vision position, 8: laser based position, 9: external ground-truth (Vicon or Leica). Controllers: 10: 3D angular rate control 11: attitude stabilization, 12: yaw position, 13: z/altitude control, 14: x/y position control, 15: motor outputs / control
uint32_t onboard_control_sensors_present ; ///< Bitmask showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
uint32_t onboard_control_sensors_enabled ; ///< Bitmask showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
uint32_t onboard_control_sensors_health ; ///< Bitmask showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled. Indices defined by ENUM MAV_SYS_STATUS_SENSOR
uint16_t load ; ///< Maximum usage in percent of the mainloop time, (0%: 0, 100%: 1000) should be always below 1000
uint16_t voltage_battery ; ///< Battery voltage, in millivolts (1 = 1 millivolt)
int16_t current_battery ; ///< Battery current, in 10*milliamperes (1 = 10 milliampere), -1: autopilot does not measure the current
@ -53,9 +53,9 @@ typedef struct __mavlink_sys_status_t
@@ -53,9 +53,9 @@ typedef struct __mavlink_sys_status_t
* @ param component_id ID of this component ( e . g . 200 for IMU )
* @ param msg The MAVLink message to compress the data into
*
* @ param onboard_control_sensors_present Bitmask showing which onboard controllers and sensors are present . Value of 0 : not present . Value of 1 : present . Indices : 0 : 3 D gyro , 1 : 3 D acc , 2 : 3 D mag , 3 : absolute pressure , 4 : differential pressure , 5 : GPS , 6 : optical flow , 7 : computer vision position , 8 : laser based position , 9 : external ground - truth ( Vicon or Leica ) . Controllers : 10 : 3 D angular rate control 11 : attitude stabilization , 12 : yaw position , 13 : z / altitude control , 14 : x / y position control , 15 : motor outputs / control
* @ param onboard_control_sensors_enabled Bitmask showing which onboard controllers and sensors are enabled : Value of 0 : not enabled . Value of 1 : enabled . Indices : 0 : 3 D gyro , 1 : 3 D acc , 2 : 3 D mag , 3 : absolute pressure , 4 : differential pressure , 5 : GPS , 6 : optical flow , 7 : computer vision position , 8 : laser based position , 9 : external ground - truth ( Vicon or Leica ) . Controllers : 10 : 3 D angular rate control 11 : attitude stabilization , 12 : yaw position , 13 : z / altitude control , 14 : x / y position control , 15 : motor outputs / control
* @ param onboard_control_sensors_health Bitmask showing which onboard controllers and sensors are operational or have an error : Value of 0 : not enabled . Value of 1 : enabled . Indices : 0 : 3 D gyro , 1 : 3 D acc , 2 : 3 D mag , 3 : absolute pressure , 4 : differential pressure , 5 : GPS , 6 : optical flow , 7 : computer vision position , 8 : laser based position , 9 : external ground - truth ( Vicon or Leica ) . Controllers : 10 : 3 D angular rate control 11 : attitude stabilization , 12 : yaw position , 13 : z / altitude control , 14 : x / y position control , 15 : motor outputs / control
* @ param onboard_control_sensors_present Bitmask showing which onboard controllers and sensors are present . Value of 0 : not present . Value of 1 : present . Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @ param onboard_control_sensors_enabled Bitmask showing which onboard controllers and sensors are enabled : Value of 0 : not enabled . Value of 1 : enabled . Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @ param onboard_control_sensors_health Bitmask showing which onboard controllers and sensors are operational or have an error : Value of 0 : not enabled . Value of 1 : enabled . Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @ param load Maximum usage in percent of the mainloop time , ( 0 % : 0 , 100 % : 1000 ) should be always below 1000
* @ param voltage_battery Battery voltage , in millivolts ( 1 = 1 millivolt )
* @ param current_battery Battery current , in 10 * milliamperes ( 1 = 10 milliampere ) , - 1 : autopilot does not measure the current
@ -121,9 +121,9 @@ static inline uint16_t mavlink_msg_sys_status_pack(uint8_t system_id, uint8_t co
@@ -121,9 +121,9 @@ static inline uint16_t mavlink_msg_sys_status_pack(uint8_t system_id, uint8_t co
* @ param component_id ID of this component ( e . g . 200 for IMU )
* @ param chan The MAVLink channel this message will be sent over
* @ param msg The MAVLink message to compress the data into
* @ param onboard_control_sensors_present Bitmask showing which onboard controllers and sensors are present . Value of 0 : not present . Value of 1 : present . Indices : 0 : 3 D gyro , 1 : 3 D acc , 2 : 3 D mag , 3 : absolute pressure , 4 : differential pressure , 5 : GPS , 6 : optical flow , 7 : computer vision position , 8 : laser based position , 9 : external ground - truth ( Vicon or Leica ) . Controllers : 10 : 3 D angular rate control 11 : attitude stabilization , 12 : yaw position , 13 : z / altitude control , 14 : x / y position control , 15 : motor outputs / control
* @ param onboard_control_sensors_enabled Bitmask showing which onboard controllers and sensors are enabled : Value of 0 : not enabled . Value of 1 : enabled . Indices : 0 : 3 D gyro , 1 : 3 D acc , 2 : 3 D mag , 3 : absolute pressure , 4 : differential pressure , 5 : GPS , 6 : optical flow , 7 : computer vision position , 8 : laser based position , 9 : external ground - truth ( Vicon or Leica ) . Controllers : 10 : 3 D angular rate control 11 : attitude stabilization , 12 : yaw position , 13 : z / altitude control , 14 : x / y position control , 15 : motor outputs / control
* @ param onboard_control_sensors_health Bitmask showing which onboard controllers and sensors are operational or have an error : Value of 0 : not enabled . Value of 1 : enabled . Indices : 0 : 3 D gyro , 1 : 3 D acc , 2 : 3 D mag , 3 : absolute pressure , 4 : differential pressure , 5 : GPS , 6 : optical flow , 7 : computer vision position , 8 : laser based position , 9 : external ground - truth ( Vicon or Leica ) . Controllers : 10 : 3 D angular rate control 11 : attitude stabilization , 12 : yaw position , 13 : z / altitude control , 14 : x / y position control , 15 : motor outputs / control
* @ param onboard_control_sensors_present Bitmask showing which onboard controllers and sensors are present . Value of 0 : not present . Value of 1 : present . Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @ param onboard_control_sensors_enabled Bitmask showing which onboard controllers and sensors are enabled : Value of 0 : not enabled . Value of 1 : enabled . Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @ param onboard_control_sensors_health Bitmask showing which onboard controllers and sensors are operational or have an error : Value of 0 : not enabled . Value of 1 : enabled . Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @ param load Maximum usage in percent of the mainloop time , ( 0 % : 0 , 100 % : 1000 ) should be always below 1000
* @ param voltage_battery Battery voltage , in millivolts ( 1 = 1 millivolt )
* @ param current_battery Battery current , in 10 * milliamperes ( 1 = 10 milliampere ) , - 1 : autopilot does not measure the current
@ -215,9 +215,9 @@ static inline uint16_t mavlink_msg_sys_status_encode_chan(uint8_t system_id, uin
@@ -215,9 +215,9 @@ static inline uint16_t mavlink_msg_sys_status_encode_chan(uint8_t system_id, uin
* @ brief Send a sys_status message
* @ param chan MAVLink channel to send the message
*
* @ param onboard_control_sensors_present Bitmask showing which onboard controllers and sensors are present . Value of 0 : not present . Value of 1 : present . Indices : 0 : 3 D gyro , 1 : 3 D acc , 2 : 3 D mag , 3 : absolute pressure , 4 : differential pressure , 5 : GPS , 6 : optical flow , 7 : computer vision position , 8 : laser based position , 9 : external ground - truth ( Vicon or Leica ) . Controllers : 10 : 3 D angular rate control 11 : attitude stabilization , 12 : yaw position , 13 : z / altitude control , 14 : x / y position control , 15 : motor outputs / control
* @ param onboard_control_sensors_enabled Bitmask showing which onboard controllers and sensors are enabled : Value of 0 : not enabled . Value of 1 : enabled . Indices : 0 : 3 D gyro , 1 : 3 D acc , 2 : 3 D mag , 3 : absolute pressure , 4 : differential pressure , 5 : GPS , 6 : optical flow , 7 : computer vision position , 8 : laser based position , 9 : external ground - truth ( Vicon or Leica ) . Controllers : 10 : 3 D angular rate control 11 : attitude stabilization , 12 : yaw position , 13 : z / altitude control , 14 : x / y position control , 15 : motor outputs / control
* @ param onboard_control_sensors_health Bitmask showing which onboard controllers and sensors are operational or have an error : Value of 0 : not enabled . Value of 1 : enabled . Indices : 0 : 3 D gyro , 1 : 3 D acc , 2 : 3 D mag , 3 : absolute pressure , 4 : differential pressure , 5 : GPS , 6 : optical flow , 7 : computer vision position , 8 : laser based position , 9 : external ground - truth ( Vicon or Leica ) . Controllers : 10 : 3 D angular rate control 11 : attitude stabilization , 12 : yaw position , 13 : z / altitude control , 14 : x / y position control , 15 : motor outputs / control
* @ param onboard_control_sensors_present Bitmask showing which onboard controllers and sensors are present . Value of 0 : not present . Value of 1 : present . Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @ param onboard_control_sensors_enabled Bitmask showing which onboard controllers and sensors are enabled : Value of 0 : not enabled . Value of 1 : enabled . Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @ param onboard_control_sensors_health Bitmask showing which onboard controllers and sensors are operational or have an error : Value of 0 : not enabled . Value of 1 : enabled . Indices defined by ENUM MAV_SYS_STATUS_SENSOR
* @ param load Maximum usage in percent of the mainloop time , ( 0 % : 0 , 100 % : 1000 ) should be always below 1000
* @ param voltage_battery Battery voltage , in millivolts ( 1 = 1 millivolt )
* @ param current_battery Battery current , in 10 * milliamperes ( 1 = 10 milliampere ) , - 1 : autopilot does not measure the current
@ -286,7 +286,7 @@ static inline void mavlink_msg_sys_status_send(mavlink_channel_t chan, uint32_t
@@ -286,7 +286,7 @@ static inline void mavlink_msg_sys_status_send(mavlink_channel_t chan, uint32_t
/**
* @ brief Get field onboard_control_sensors_present from sys_status message
*
* @ return Bitmask showing which onboard controllers and sensors are present . Value of 0 : not present . Value of 1 : present . Indices : 0 : 3 D gyro , 1 : 3 D acc , 2 : 3 D mag , 3 : absolute pressure , 4 : differential pressure , 5 : GPS , 6 : optical flow , 7 : computer vision position , 8 : laser based position , 9 : external ground - truth ( Vicon or Leica ) . Controllers : 10 : 3 D angular rate control 11 : attitude stabilization , 12 : yaw position , 13 : z / altitude control , 14 : x / y position control , 15 : motor outputs / control
* @ return Bitmask showing which onboard controllers and sensors are present . Value of 0 : not present . Value of 1 : present . Indices defined by ENUM MAV_SYS_STATUS_SENSOR
*/
static inline uint32_t mavlink_msg_sys_status_get_onboard_control_sensors_present ( const mavlink_message_t * msg )
{
@ -296,7 +296,7 @@ static inline uint32_t mavlink_msg_sys_status_get_onboard_control_sensors_presen
@@ -296,7 +296,7 @@ static inline uint32_t mavlink_msg_sys_status_get_onboard_control_sensors_presen
/**
* @ brief Get field onboard_control_sensors_enabled from sys_status message
*
* @ return Bitmask showing which onboard controllers and sensors are enabled : Value of 0 : not enabled . Value of 1 : enabled . Indices : 0 : 3 D gyro , 1 : 3 D acc , 2 : 3 D mag , 3 : absolute pressure , 4 : differential pressure , 5 : GPS , 6 : optical flow , 7 : computer vision position , 8 : laser based position , 9 : external ground - truth ( Vicon or Leica ) . Controllers : 10 : 3 D angular rate control 11 : attitude stabilization , 12 : yaw position , 13 : z / altitude control , 14 : x / y position control , 15 : motor outputs / control
* @ return Bitmask showing which onboard controllers and sensors are enabled : Value of 0 : not enabled . Value of 1 : enabled . Indices defined by ENUM MAV_SYS_STATUS_SENSOR
*/
static inline uint32_t mavlink_msg_sys_status_get_onboard_control_sensors_enabled ( const mavlink_message_t * msg )
{
@ -306,7 +306,7 @@ static inline uint32_t mavlink_msg_sys_status_get_onboard_control_sensors_enable
@@ -306,7 +306,7 @@ static inline uint32_t mavlink_msg_sys_status_get_onboard_control_sensors_enable
/**
* @ brief Get field onboard_control_sensors_health from sys_status message
*
* @ return Bitmask showing which onboard controllers and sensors are operational or have an error : Value of 0 : not enabled . Value of 1 : enabled . Indices : 0 : 3 D gyro , 1 : 3 D acc , 2 : 3 D mag , 3 : absolute pressure , 4 : differential pressure , 5 : GPS , 6 : optical flow , 7 : computer vision position , 8 : laser based position , 9 : external ground - truth ( Vicon or Leica ) . Controllers : 10 : 3 D angular rate control 11 : attitude stabilization , 12 : yaw position , 13 : z / altitude control , 14 : x / y position control , 15 : motor outputs / control
* @ return Bitmask showing which onboard controllers and sensors are operational or have an error : Value of 0 : not enabled . Value of 1 : enabled . Indices defined by ENUM MAV_SYS_STATUS_SENSOR
*/
static inline uint32_t mavlink_msg_sys_status_get_onboard_control_sensors_health ( const mavlink_message_t * msg )
{