pub struct FigureEightExecutionStatus {
pub time_usec: u64,
pub major_radius: f32,
pub minor_radius: f32,
pub orientation: f32,
pub frame: MavFrame,
pub x: i32,
pub y: i32,
pub z: f32,
}Expand description
MAVLink FIGURE_EIGHT_EXECUTION_STATUS message.
Minimum supported MAVLink version is MAVLink 2.
§Description
Vehicle status report that is sent out while figure eight execution is in progress (see MAV_CMD_DO_FIGURE_EIGHT). This may typically send at low rates: of the order of 2Hz.
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
FigureEightExecutionStatus (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§time_usec: u64MAVLink field time_usec.
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.
major_radius: f32MAVLink field major_radius.
Major axis radius of the figure eight. Positive: orbit the north circle clockwise. Negative: orbit the north circle counter-clockwise.
minor_radius: f32MAVLink field minor_radius.
Minor axis radius of the figure eight. Defines the radius of two circles that make up the figure.
orientation: f32MAVLink field orientation.
Orientation of the figure eight major axis with respect to true north in [-pi,pi).
frame: MavFrameMAVLink field frame.
The coordinate system of the fields: x, y, z.
x: i32MAVLink field x.
X coordinate of center point. Coordinate system depends on frame field.
y: i32MAVLink field y.
Y coordinate of center point. Coordinate system depends on frame field.
z: f32MAVLink field z.
Altitude of center point. Coordinate system depends on frame field.
Implementations§
Source§impl FigureEightExecutionStatus
impl FigureEightExecutionStatus
Sourcepub const fn spec() -> MessageInfo
pub const fn spec() -> MessageInfo
Returns specification for this message.
Sourcepub const fn message_id() -> MessageId
pub const fn message_id() -> MessageId
Message ID.
Sourcepub const fn min_supported_mavlink_version() -> MavLinkVersion
pub const fn min_supported_mavlink_version() -> MavLinkVersion
Minimum supported MAVLink version for this message.
Trait Implementations§
Source§impl Clone for FigureEightExecutionStatus
impl Clone for FigureEightExecutionStatus
Source§fn clone(&self) -> FigureEightExecutionStatus
fn clone(&self) -> FigureEightExecutionStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FigureEightExecutionStatus
impl Debug for FigureEightExecutionStatus
Source§impl Default for FigureEightExecutionStatus
impl Default for FigureEightExecutionStatus
Source§impl<'de> Deserialize<'de> for FigureEightExecutionStatus
impl<'de> Deserialize<'de> for FigureEightExecutionStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl From<FigureEightExecutionStatus> for Development
impl From<FigureEightExecutionStatus> for Development
Source§fn from(value: FigureEightExecutionStatus) -> Self
fn from(value: FigureEightExecutionStatus) -> Self
Source§impl MessageSpecStatic for FigureEightExecutionStatus
impl MessageSpecStatic for FigureEightExecutionStatus
Source§fn spec() -> MessageInfo
fn spec() -> MessageInfo
Source§fn message_id() -> MessageId
fn message_id() -> MessageId
ID.Source§fn min_supported_mavlink_version() -> MavLinkVersion
fn min_supported_mavlink_version() -> MavLinkVersion
Source§impl NamedType for FigureEightExecutionStatus
impl NamedType for FigureEightExecutionStatus
fn sid() -> SpectaID
Source§fn named_data_type(
type_map: &mut TypeCollection,
generics: &[DataType],
) -> NamedDataType
fn named_data_type( type_map: &mut TypeCollection, generics: &[DataType], ) -> NamedDataType
Source§fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
Source§impl TryFrom<&Payload> for FigureEightExecutionStatus
impl TryFrom<&Payload> for FigureEightExecutionStatus
Source§impl Type for FigureEightExecutionStatus
impl Type for FigureEightExecutionStatus
Source§fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
Source§fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
definition will be put into the type map.