pub struct OpenDroneIdSystem {Show 15 fields
pub target_system: u8,
pub target_component: u8,
pub id_or_mac: [u8; 20],
pub operator_location_type: MavOdidOperatorLocationType,
pub classification_type: MavOdidClassificationType,
pub operator_latitude: i32,
pub operator_longitude: i32,
pub area_count: u16,
pub area_radius: u16,
pub area_ceiling: f32,
pub area_floor: f32,
pub category_eu: MavOdidCategoryEu,
pub class_eu: MavOdidClassEu,
pub operator_altitude_geo: f32,
pub timestamp: u32,
}Expand description
MAVLink OPEN_DRONE_ID_SYSTEM message.
The minimum supported MAVLink version is MAVLink 2.
§Description
Data for filling the OpenDroneID System message. The System Message contains general system information including the operator location/altitude and possible aircraft group and/or category/class information.
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
OpenDroneIdSystem (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§target_system: u8MAVLink field target_system.
System ID (0 for broadcast).
target_component: u8MAVLink field target_component.
Component ID (0 for broadcast).
id_or_mac: [u8; 20]MAVLink field id_or_mac.
Only used for drone ID data received from other UAs. See detailed description at https://mavlink.io/en/services/opendroneid.html.
operator_location_type: MavOdidOperatorLocationTypeMAVLink field operator_location_type.
Specifies the operator location type.
classification_type: MavOdidClassificationTypeMAVLink field classification_type.
Specifies the classification type of the UA.
operator_latitude: i32MAVLink field operator_latitude.
Latitude of the operator. If unknown: 0 (both Lat/Lon).
operator_longitude: i32MAVLink field operator_longitude.
Longitude of the operator. If unknown: 0 (both Lat/Lon).
area_count: u16MAVLink field area_count.
Number of aircraft in the area, group or formation (default 1). Used only for swarms/multiple UA.
area_radius: u16MAVLink field area_radius.
Radius of the cylindrical area of the group or formation (default 0). Used only for swarms/multiple UA.
area_ceiling: f32MAVLink field area_ceiling.
Area Operations Ceiling relative to WGS84. If unknown: -1000 m. Used only for swarms/multiple UA.
area_floor: f32MAVLink field area_floor.
Area Operations Floor relative to WGS84. If unknown: -1000 m. Used only for swarms/multiple UA.
category_eu: MavOdidCategoryEuMAVLink field category_eu.
When classification_type is MAV_ODID_CLASSIFICATION_TYPE_EU, specifies the category of the UA.
class_eu: MavOdidClassEuMAVLink field class_eu.
When classification_type is MAV_ODID_CLASSIFICATION_TYPE_EU, specifies the class of the UA.
operator_altitude_geo: f32MAVLink field operator_altitude_geo.
Geodetic altitude of the operator relative to WGS84. If unknown: -1000 m.
timestamp: u32MAVLink field timestamp.
32 bit Unix Timestamp in seconds since 00:00:00 01/01/2019.
Implementations§
Source§impl OpenDroneIdSystem
impl OpenDroneIdSystem
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 OpenDroneIdSystem
impl Clone for OpenDroneIdSystem
Source§fn clone(&self) -> OpenDroneIdSystem
fn clone(&self) -> OpenDroneIdSystem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OpenDroneIdSystem
impl Debug for OpenDroneIdSystem
Source§impl Default for OpenDroneIdSystem
impl Default for OpenDroneIdSystem
Source§impl<'de> Deserialize<'de> for OpenDroneIdSystem
impl<'de> Deserialize<'de> for OpenDroneIdSystem
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<OpenDroneIdSystem> for Common
impl From<OpenDroneIdSystem> for Common
Source§fn from(value: OpenDroneIdSystem) -> Self
fn from(value: OpenDroneIdSystem) -> Self
Source§impl IntoPayload for OpenDroneIdSystem
impl IntoPayload for OpenDroneIdSystem
Source§impl MessageSpec for OpenDroneIdSystem
impl MessageSpec for OpenDroneIdSystem
Source§impl MessageSpecStatic for OpenDroneIdSystem
impl MessageSpecStatic for OpenDroneIdSystem
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 OpenDroneIdSystem
impl NamedType for OpenDroneIdSystem
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 PartialEq for OpenDroneIdSystem
impl PartialEq for OpenDroneIdSystem
Source§impl Serialize for OpenDroneIdSystem
impl Serialize for OpenDroneIdSystem
Source§impl TryFrom<&Payload> for OpenDroneIdSystem
impl TryFrom<&Payload> for OpenDroneIdSystem
Source§impl Type for OpenDroneIdSystem
impl Type for OpenDroneIdSystem
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.