Common.Message.HomePosition (xmavlink_util v0.4.3)

View Source

Summary

Types

t()

Contains the home position. The home position is the default position that the system will return to and land on. The position must be set automatically by the system during the takeoff, and may also be explicitly set using MAV_CMD_DO_SET_HOME. The global and local positions encode the position in the respective coordinate frames, while the q parameter encodes the orientation of the surface. Under normal conditions it describes the heading and terrain slope, which can be used by the aircraft to adjust the approach. The approach 3D vector describes the point to which the system should fly in normal flight mode and then perform a landing sequence along the vector. Note: this message can be requested by sending the MAV_CMD_REQUEST_MESSAGE with param1=242 (or the deprecated MAV_CMD_GET_HOME_POSITION command).

Types

t()

@type t() :: %Common.Message.HomePosition{
  altitude: XMAVLink.Types.int32_t(),
  approach_x: Float32,
  approach_y: Float32,
  approach_z: Float32,
  latitude: XMAVLink.Types.int32_t(),
  longitude: XMAVLink.Types.int32_t(),
  q: [Float32],
  time_usec: XMAVLink.Types.uint64_t(),
  x: Float32,
  y: Float32,
  z: Float32
}

Contains the home position. The home position is the default position that the system will return to and land on. The position must be set automatically by the system during the takeoff, and may also be explicitly set using MAV_CMD_DO_SET_HOME. The global and local positions encode the position in the respective coordinate frames, while the q parameter encodes the orientation of the surface. Under normal conditions it describes the heading and terrain slope, which can be used by the aircraft to adjust the approach. The approach 3D vector describes the point to which the system should fly in normal flight mode and then perform a landing sequence along the vector. Note: this message can be requested by sending the MAV_CMD_REQUEST_MESSAGE with param1=242 (or the deprecated MAV_CMD_GET_HOME_POSITION command).