github.com/bluenviron/gomavlib/v2@v2.2.1-0.20240308101627-2c07e3da629c/pkg/dialects/development/message_figure_eight_execution_status.go (about) 1 //autogenerated:yes 2 //nolint:revive,misspell,govet,lll 3 package development 4 5 // Vehicle status report that is sent out while figure eight execution is in progress (see MAV_CMD_DO_FIGURE_EIGHT). 6 // This may typically send at low rates: of the order of 2Hz. 7 type MessageFigureEightExecutionStatus struct { 8 // Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number. 9 TimeUsec uint64 10 // Major axis radius of the figure eight. Positive: orbit the north circle clockwise. Negative: orbit the north circle counter-clockwise. 11 MajorRadius float32 12 // Minor axis radius of the figure eight. Defines the radius of two circles that make up the figure. 13 MinorRadius float32 14 // Orientation of the figure eight major axis with respect to true north in [-pi,pi). 15 Orientation float32 16 // The coordinate system of the fields: x, y, z. 17 Frame MAV_FRAME `mavenum:"uint8"` 18 // X coordinate of center point. Coordinate system depends on frame field. 19 X int32 20 // Y coordinate of center point. Coordinate system depends on frame field. 21 Y int32 22 // Altitude of center point. Coordinate system depends on frame field. 23 Z float32 24 } 25 26 // GetID implements the message.Message interface. 27 func (*MessageFigureEightExecutionStatus) GetID() uint32 { 28 return 361 29 }