github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/asluav/message_command_int_stamped.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package asluav 4 5 // Message encoding a command with parameters as scaled integers and additional metadata. Scaling depends on the actual command value. 6 type MessageCommandIntStamped struct { 7 // UTC time, seconds elapsed since 01.01.1970 8 UtcTime uint32 9 // Microseconds elapsed since vehicle boot 10 VehicleTimestamp uint64 11 // System ID 12 TargetSystem uint8 13 // Component ID 14 TargetComponent uint8 15 // The coordinate system of the COMMAND, as defined by MAV_FRAME enum 16 Frame MAV_FRAME `mavenum:"uint8"` 17 // The scheduled action for the mission item, as defined by MAV_CMD enum 18 Command MAV_CMD `mavenum:"uint16"` 19 // false:0, true:1 20 Current uint8 21 // autocontinue to next wp 22 Autocontinue uint8 23 // PARAM1, see MAV_CMD enum 24 Param1 float32 25 // PARAM2, see MAV_CMD enum 26 Param2 float32 27 // PARAM3, see MAV_CMD enum 28 Param3 float32 29 // PARAM4, see MAV_CMD enum 30 Param4 float32 31 // PARAM5 / local: x position in meters * 1e4, global: latitude in degrees * 10^7 32 X int32 33 // PARAM6 / local: y position in meters * 1e4, global: longitude in degrees * 10^7 34 Y int32 35 // PARAM7 / z position: global: altitude in meters (MSL, WGS84, AGL or relative to home - depending on frame). 36 Z float32 37 } 38 39 // GetID implements the message.Message interface. 40 func (*MessageCommandIntStamped) GetID() uint32 { 41 return 223 42 }