pub struct CameraTrackingGeoStatus {}Expand description
MAVLink CAMERA_TRACKING_GEO_STATUS message.
The minimum supported MAVLink version is MAVLink 2.
§Description
Camera tracking status, sent while in active tracking. Use MAV_CMD_SET_MESSAGE_INTERVAL to define message interval.
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
CameraTrackingGeoStatus (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§tracking_status: CameraTrackingStatusFlagsMAVLink field tracking_status.
Current tracking status
lat: i32MAVLink field lat.
Latitude of tracked object
lon: i32MAVLink field lon.
Longitude of tracked object
alt: f32MAVLink field alt.
Altitude of tracked object(AMSL, WGS84)
h_acc: f32MAVLink field h_acc.
Horizontal accuracy. NAN if unknown
v_acc: f32MAVLink field v_acc.
Vertical accuracy. NAN if unknown
vel_n: f32MAVLink field vel_n.
North velocity of tracked object. NAN if unknown
vel_e: f32MAVLink field vel_e.
East velocity of tracked object. NAN if unknown
vel_d: f32MAVLink field vel_d.
Down velocity of tracked object. NAN if unknown
vel_acc: f32MAVLink field vel_acc.
Velocity accuracy. NAN if unknown
dist: f32MAVLink field dist.
Distance between camera and tracked object. NAN if unknown
hdg: f32MAVLink field hdg.
Heading in radians, in NED. NAN if unknown
hdg_acc: f32MAVLink field hdg_acc.
Accuracy of heading, in NED. NAN if unknown
camera_device_id: u8MAVLink field camera_device_id.
Camera id of a non-MAVLink camera attached to an autopilot (1-6). 0 if the component is a MAVLink camera (with its own component id).
Implementations§
Source§impl CameraTrackingGeoStatus
impl CameraTrackingGeoStatus
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 CameraTrackingGeoStatus
impl Clone for CameraTrackingGeoStatus
Source§fn clone(&self) -> CameraTrackingGeoStatus
fn clone(&self) -> CameraTrackingGeoStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CameraTrackingGeoStatus
impl Debug for CameraTrackingGeoStatus
Source§impl Default for CameraTrackingGeoStatus
impl Default for CameraTrackingGeoStatus
Source§impl<'de> Deserialize<'de> for CameraTrackingGeoStatus
impl<'de> Deserialize<'de> for CameraTrackingGeoStatus
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<CameraTrackingGeoStatus> for Common
impl From<CameraTrackingGeoStatus> for Common
Source§fn from(value: CameraTrackingGeoStatus) -> Self
fn from(value: CameraTrackingGeoStatus) -> Self
Source§impl MessageSpecStatic for CameraTrackingGeoStatus
impl MessageSpecStatic for CameraTrackingGeoStatus
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 CameraTrackingGeoStatus
impl NamedType for CameraTrackingGeoStatus
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 CameraTrackingGeoStatus
impl PartialEq for CameraTrackingGeoStatus
Source§impl Serialize for CameraTrackingGeoStatus
impl Serialize for CameraTrackingGeoStatus
Source§impl TryFrom<&Payload> for CameraTrackingGeoStatus
impl TryFrom<&Payload> for CameraTrackingGeoStatus
Source§impl Type for CameraTrackingGeoStatus
impl Type for CameraTrackingGeoStatus
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.