github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/matrixpilot/message_set_home_position.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package matrixpilot 4 5 import ( 6 "github.com/bluenviron/gomavlib/v2/pkg/dialects/common" 7 ) 8 9 // Sets the home position. 10 // The home position is the default position that the system will return to and land on. 11 // The position is set automatically by the system during the takeoff (and may also be set using this message). 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: the current home position may be emitted in a HOME_POSITION message on request (using MAV_CMD_REQUEST_MESSAGE with param1=242). 16 type MessageSetHomePosition = common.MessageSetHomePosition