pub struct FIGURE_EIGHT_EXECUTION_STATUS_DATA {
pub time_usec: u64,
pub major_radius: f32,
pub minor_radius: f32,
pub orientation: f32,
pub x: i32,
pub y: i32,
pub z: f32,
pub frame: MavFrame,
}
development
only.Expand description
id: 361 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..
Fields§
§time_usec: u64
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: f32
Major axis radius of the figure eight. Positive: orbit the north circle clockwise. Negative: orbit the north circle counter-clockwise..
minor_radius: f32
Minor axis radius of the figure eight. Defines the radius of two circles that make up the figure..
orientation: f32
Orientation of the figure eight major axis with respect to true north in [-pi,pi)..
x: i32
X coordinate of center point. Coordinate system depends on frame field..
y: i32
Y coordinate of center point. Coordinate system depends on frame field..
z: f32
Altitude of center point. Coordinate system depends on frame field..
frame: MavFrame
The coordinate system of the fields: x, y, z..
Implementations§
source§impl FIGURE_EIGHT_EXECUTION_STATUS_DATA
impl FIGURE_EIGHT_EXECUTION_STATUS_DATA
pub const ENCODED_LEN: usize = 33usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for FIGURE_EIGHT_EXECUTION_STATUS_DATA
impl Clone for FIGURE_EIGHT_EXECUTION_STATUS_DATA
source§fn clone(&self) -> FIGURE_EIGHT_EXECUTION_STATUS_DATA
fn clone(&self) -> FIGURE_EIGHT_EXECUTION_STATUS_DATA
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'de> Deserialize<'de> for FIGURE_EIGHT_EXECUTION_STATUS_DATA
impl<'de> Deserialize<'de> for FIGURE_EIGHT_EXECUTION_STATUS_DATA
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 MessageData for FIGURE_EIGHT_EXECUTION_STATUS_DATA
impl MessageData for FIGURE_EIGHT_EXECUTION_STATUS_DATA
const ID: u32 = 361u32
const NAME: &'static str = "FIGURE_EIGHT_EXECUTION_STATUS"
const EXTRA_CRC: u8 = 93u8
const ENCODED_LEN: usize = 33usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for FIGURE_EIGHT_EXECUTION_STATUS_DATA
impl PartialEq for FIGURE_EIGHT_EXECUTION_STATUS_DATA
source§fn eq(&self, other: &FIGURE_EIGHT_EXECUTION_STATUS_DATA) -> bool
fn eq(&self, other: &FIGURE_EIGHT_EXECUTION_STATUS_DATA) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for FIGURE_EIGHT_EXECUTION_STATUS_DATA
Auto Trait Implementations§
impl Freeze for FIGURE_EIGHT_EXECUTION_STATUS_DATA
impl RefUnwindSafe for FIGURE_EIGHT_EXECUTION_STATUS_DATA
impl Send for FIGURE_EIGHT_EXECUTION_STATUS_DATA
impl Sync for FIGURE_EIGHT_EXECUTION_STATUS_DATA
impl Unpin for FIGURE_EIGHT_EXECUTION_STATUS_DATA
impl UnwindSafe for FIGURE_EIGHT_EXECUTION_STATUS_DATA
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)