Struct mavlink::common::ORBIT_EXECUTION_STATUS_DATA
source · pub struct ORBIT_EXECUTION_STATUS_DATA {
pub time_usec: u64,
pub radius: f32,
pub x: i32,
pub y: i32,
pub z: f32,
pub frame: MavFrame,
}
common
only.Expand description
id: 360 Vehicle status report that is sent out while orbit execution is in progress (see MAV_CMD_DO_ORBIT)..
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..
radius: f32
Radius of the orbit circle. Positive values orbit clockwise, negative values orbit counter-clockwise..
x: i32
X coordinate of center point. Coordinate system depends on frame field: local = x position in meters * 1e4, global = latitude in degrees * 1e7..
y: i32
Y coordinate of center point. Coordinate system depends on frame field: local = x position in meters * 1e4, global = latitude in degrees * 1e7..
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 ORBIT_EXECUTION_STATUS_DATA
impl ORBIT_EXECUTION_STATUS_DATA
pub const ENCODED_LEN: usize = 25usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for ORBIT_EXECUTION_STATUS_DATA
impl Clone for ORBIT_EXECUTION_STATUS_DATA
source§fn clone(&self) -> ORBIT_EXECUTION_STATUS_DATA
fn clone(&self) -> ORBIT_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 Debug for ORBIT_EXECUTION_STATUS_DATA
impl Debug for ORBIT_EXECUTION_STATUS_DATA
source§impl<'de> Deserialize<'de> for ORBIT_EXECUTION_STATUS_DATA
impl<'de> Deserialize<'de> for ORBIT_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 ORBIT_EXECUTION_STATUS_DATA
impl MessageData for ORBIT_EXECUTION_STATUS_DATA
const ID: u32 = 360u32
const NAME: &'static str = "ORBIT_EXECUTION_STATUS"
const EXTRA_CRC: u8 = 11u8
const ENCODED_LEN: usize = 25usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
impl StructuralPartialEq for ORBIT_EXECUTION_STATUS_DATA
Auto Trait Implementations§
impl Freeze for ORBIT_EXECUTION_STATUS_DATA
impl RefUnwindSafe for ORBIT_EXECUTION_STATUS_DATA
impl Send for ORBIT_EXECUTION_STATUS_DATA
impl Sync for ORBIT_EXECUTION_STATUS_DATA
impl Unpin for ORBIT_EXECUTION_STATUS_DATA
impl UnwindSafe for ORBIT_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
)