pub struct OPEN_DRONE_ID_SYSTEM_UPDATE_DATA {
pub operator_latitude: i32,
pub operator_longitude: i32,
pub operator_altitude_geo: f32,
pub timestamp: u32,
pub target_system: u8,
pub target_component: u8,
}
Available on crate feature
development
only.Expand description
id: 12919 Update the data in the OPEN_DRONE_ID_SYSTEM message with new location information. This can be sent to update the location information for the operator when no other information in the SYSTEM message has changed. This message allows for efficient operation on radio links which have limited uplink bandwidth while meeting requirements for update frequency of the operator location..
Fields§
§operator_latitude: i32
Latitude of the operator. If unknown: 0 (both Lat/Lon)..
operator_longitude: i32
Longitude of the operator. If unknown: 0 (both Lat/Lon)..
operator_altitude_geo: f32
Geodetic altitude of the operator relative to WGS84. If unknown: -1000 m..
timestamp: u32
32 bit Unix Timestamp in seconds since 00:00:00 01/01/2019..
target_system: u8
System ID (0 for broadcast)..
target_component: u8
Component ID (0 for broadcast)..
Implementations§
source§impl OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
impl OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
pub const ENCODED_LEN: usize = 18usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
impl Clone for OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
source§fn clone(&self) -> OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
fn clone(&self) -> OPEN_DRONE_ID_SYSTEM_UPDATE_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<'de> Deserialize<'de> for OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
impl<'de> Deserialize<'de> for OPEN_DRONE_ID_SYSTEM_UPDATE_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 OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
impl MessageData for OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
const ID: u32 = 12_919u32
const NAME: &'static str = "OPEN_DRONE_ID_SYSTEM_UPDATE"
const EXTRA_CRC: u8 = 7u8
const ENCODED_LEN: usize = 18usize
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 OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
impl PartialEq for OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
source§fn eq(&self, other: &OPEN_DRONE_ID_SYSTEM_UPDATE_DATA) -> bool
fn eq(&self, other: &OPEN_DRONE_ID_SYSTEM_UPDATE_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
Auto Trait Implementations§
impl Freeze for OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
impl RefUnwindSafe for OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
impl Send for OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
impl Sync for OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
impl Unpin for OPEN_DRONE_ID_SYSTEM_UPDATE_DATA
impl UnwindSafe for OPEN_DRONE_ID_SYSTEM_UPDATE_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
)