github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/ardupilotmega/message_rally_point.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package ardupilotmega 4 5 // A rally point. Used to set a point when from GCS -> MAV. Also used to return a point from MAV -> GCS. 6 type MessageRallyPoint struct { 7 // System ID. 8 TargetSystem uint8 9 // Component ID. 10 TargetComponent uint8 11 // Point index (first point is 0). 12 Idx uint8 13 // Total number of points (for sanity checking). 14 Count uint8 15 // Latitude of point. 16 Lat int32 17 // Longitude of point. 18 Lng int32 19 // Transit / loiter altitude relative to home. 20 Alt int16 21 // Break altitude relative to home. 22 BreakAlt int16 23 // Heading to aim for when landing. 24 LandDir uint16 25 // Configuration flags. 26 Flags RALLY_FLAGS `mavenum:"uint8"` 27 } 28 29 // GetID implements the message.Message interface. 30 func (*MessageRallyPoint) GetID() uint32 { 31 return 175 32 }