Struct mavlink::python_array_test::FOLLOW_TARGET_DATA
source · pub struct FOLLOW_TARGET_DATA {
pub timestamp: u64,
pub custom_state: u64,
pub lat: i32,
pub lon: i32,
pub alt: f32,
pub vel: [f32; 3],
pub acc: [f32; 3],
pub attitude_q: [f32; 4],
pub rates: [f32; 3],
pub position_cov: [f32; 3],
pub est_capabilities: u8,
}
Available on crate feature
python_array_test
only.Expand description
id: 144 Current motion information from a designated system.
Fields§
§timestamp: u64
Timestamp (time since system boot)..
custom_state: u64
button states or switches of a tracker device.
lat: i32
Latitude (WGS84).
lon: i32
Longitude (WGS84).
alt: f32
Altitude (MSL).
vel: [f32; 3]
target velocity (0,0,0) for unknown.
acc: [f32; 3]
linear target acceleration (0,0,0) for unknown.
attitude_q: [f32; 4]
(0 0 0 0 for unknown).
rates: [f32; 3]
(0 0 0 for unknown).
position_cov: [f32; 3]
eph epv.
est_capabilities: u8
bit positions for tracker reporting capabilities (POS = 0, VEL = 1, ACCEL = 2, ATT + RATES = 3).
Implementations§
source§impl FOLLOW_TARGET_DATA
impl FOLLOW_TARGET_DATA
pub const ENCODED_LEN: usize = 93usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for FOLLOW_TARGET_DATA
impl Clone for FOLLOW_TARGET_DATA
source§fn clone(&self) -> FOLLOW_TARGET_DATA
fn clone(&self) -> FOLLOW_TARGET_DATA
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FOLLOW_TARGET_DATA
impl Debug for FOLLOW_TARGET_DATA
source§impl Default for FOLLOW_TARGET_DATA
impl Default for FOLLOW_TARGET_DATA
source§impl<'de> Deserialize<'de> for FOLLOW_TARGET_DATA
impl<'de> Deserialize<'de> for FOLLOW_TARGET_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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl MessageData for FOLLOW_TARGET_DATA
impl MessageData for FOLLOW_TARGET_DATA
const ID: u32 = 144u32
const NAME: &'static str = "FOLLOW_TARGET"
const EXTRA_CRC: u8 = 127u8
const ENCODED_LEN: usize = 93usize
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 FOLLOW_TARGET_DATA
impl PartialEq for FOLLOW_TARGET_DATA
source§impl Serialize for FOLLOW_TARGET_DATA
impl Serialize for FOLLOW_TARGET_DATA
impl StructuralPartialEq for FOLLOW_TARGET_DATA
Auto Trait Implementations§
impl Freeze for FOLLOW_TARGET_DATA
impl RefUnwindSafe for FOLLOW_TARGET_DATA
impl Send for FOLLOW_TARGET_DATA
impl Sync for FOLLOW_TARGET_DATA
impl Unpin for FOLLOW_TARGET_DATA
impl UnwindSafe for FOLLOW_TARGET_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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)