github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/ardupilotmega/message_home_position.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package ardupilotmega 4 5 import ( 6 "github.com/bluenviron/gomavlib/v2/pkg/dialects/common" 7 ) 8 9 // Contains the home position. 10 // The home position is the default position that the system will return to and land on. 11 // The position must be set automatically by the system during the takeoff, and may also be explicitly set using MAV_CMD_DO_SET_HOME. 12 // The global and local positions encode the position in the respective coordinate frames, while the q parameter encodes the orientation of the surface. 13 // Under normal conditions it describes the heading and terrain slope, which can be used by the aircraft to adjust the approach. 14 // 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. 15 // 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). 16 type MessageHomePosition = common.MessageHomePosition