uint8_tmode;///< System mode, see MAV_MODE ENUM in mavlink/include/mavlink_types.h
uint8_tnav_mode;///< Navigation mode, see MAV_NAV_MODE ENUM
uint8_tstatus;///< System status flag, see MAV_STATUS ENUM
uint16_tload;///< Maximum usage in percent of the mainloop time, (0%: 0, 100%: 1000) should be always below 1000
uint16_tvbat;///< Battery voltage, in millivolts (1 = 1 millivolt)
uint8_tmotor_block;///< Motor block status flag, 0: Motors can be switched on (and could be either off or on), 1: Mechanical motor block switch is on, motors cannot be switched on (and are definitely off)
uint16_tpacket_drop;///< Dropped packets (packets that were corrupted on reception on the MAV)
i+=put_uint8_t_by_index(mode,i,msg->payload);//System mode, see MAV_MODE ENUM in mavlink/include/mavlink_types.h
i+=put_uint8_t_by_index(nav_mode,i,msg->payload);//Navigation mode, see MAV_NAV_MODE ENUM
i+=put_uint8_t_by_index(status,i,msg->payload);//System status flag, see MAV_STATUS ENUM
i+=put_uint16_t_by_index(load,i,msg->payload);//Maximum usage in percent of the mainloop time, (0%: 0, 100%: 1000) should be always below 1000
i+=put_uint16_t_by_index(vbat,i,msg->payload);//Battery voltage, in millivolts (1 = 1 millivolt)
i+=put_uint8_t_by_index(motor_block,i,msg->payload);//Motor block status flag, 0: Motors can be switched on (and could be either off or on), 1: Mechanical motor block switch is on, motors cannot be switched on (and are definitely off)
i+=put_uint16_t_by_index(packet_drop,i,msg->payload);//Dropped packets (packets that were corrupted on reception on the MAV)
i+=put_uint8_t_by_index(mode,i,msg->payload);//System mode, see MAV_MODE ENUM in mavlink/include/mavlink_types.h
i+=put_uint8_t_by_index(nav_mode,i,msg->payload);//Navigation mode, see MAV_NAV_MODE ENUM
i+=put_uint8_t_by_index(status,i,msg->payload);//System status flag, see MAV_STATUS ENUM
i+=put_uint16_t_by_index(load,i,msg->payload);//Maximum usage in percent of the mainloop time, (0%: 0, 100%: 1000) should be always below 1000
i+=put_uint16_t_by_index(vbat,i,msg->payload);//Battery voltage, in millivolts (1 = 1 millivolt)
i+=put_uint8_t_by_index(motor_block,i,msg->payload);//Motor block status flag, 0: Motors can be switched on (and could be either off or on), 1: Mechanical motor block switch is on, motors cannot be switched on (and are definitely off)
i+=put_uint16_t_by_index(packet_drop,i,msg->payload);//Dropped packets (packets that were corrupted on reception on the MAV)