View Source APM.Message.SetMode (xmavlink_util v0.1.0)

Link to this section Summary

Types

t()

Set the system mode, as defined by enum MAV_MODE. There is no target component id as the mode is by definition for the overall aircraft, not only for one component.

Link to this section Types

@type t() :: %APM.Message.SetMode{
  base_mode: APM.Types.mav_mode(),
  custom_mode: MAVLink.Types.uint32_t(),
  target_system: MAVLink.Types.uint8_t()
}

Set the system mode, as defined by enum MAV_MODE. There is no target component id as the mode is by definition for the overall aircraft, not only for one component.