pub struct UAVIONIX_ADSB_OUT_DYNAMIC_DATA {Show 16 fields
pub utcTime: u32,
pub gpsLat: i32,
pub gpsLon: i32,
pub gpsAlt: i32,
pub baroAltMSL: i32,
pub accuracyHor: u32,
pub accuracyVert: u16,
pub accuracyVel: u16,
pub velVert: i16,
pub velNS: i16,
pub VelEW: i16,
pub state: UavionixAdsbOutDynamicState,
pub squawk: u16,
pub gpsFix: UavionixAdsbOutDynamicGpsFix,
pub numSats: u8,
pub emergencyStatus: UavionixAdsbEmergencyStatus,
}
ardupilotmega
only.Expand description
id: 10002 Dynamic data used to generate ADS-B out transponder data (send at 5Hz).
Fields§
§utcTime: u32
UTC time in seconds since GPS epoch (Jan 6, 1980). If unknown set to UINT32_MAX.
gpsLat: i32
Latitude WGS84 (deg * 1E7). If unknown set to INT32_MAX.
gpsLon: i32
Longitude WGS84 (deg * 1E7). If unknown set to INT32_MAX.
gpsAlt: i32
Altitude (WGS84). UP +ve. If unknown set to INT32_MAX.
baroAltMSL: i32
Barometric pressure altitude (MSL) relative to a standard atmosphere of 1013.2 mBar and NOT bar corrected altitude (m * 1E-3). (up +ve). If unknown set to INT32_MAX.
accuracyHor: u32
Horizontal accuracy in mm (m * 1E-3). If unknown set to UINT32_MAX.
accuracyVert: u16
Vertical accuracy in cm. If unknown set to UINT16_MAX.
accuracyVel: u16
Velocity accuracy in mm/s (m * 1E-3). If unknown set to UINT16_MAX.
velVert: i16
GPS vertical speed in cm/s. If unknown set to INT16_MAX.
velNS: i16
North-South velocity over ground in cm/s North +ve. If unknown set to INT16_MAX.
VelEW: i16
East-West velocity over ground in cm/s East +ve. If unknown set to INT16_MAX.
state: UavionixAdsbOutDynamicState
ADS-B transponder dynamic input state flags.
squawk: u16
Mode A code (typically 1200 [0x04B0] for VFR).
gpsFix: UavionixAdsbOutDynamicGpsFix
0-1: no fix, 2: 2D fix, 3: 3D fix, 4: DGPS, 5: RTK.
numSats: u8
Number of satellites visible. If unknown set to UINT8_MAX.
emergencyStatus: UavionixAdsbEmergencyStatus
Emergency status.
Implementations§
source§impl UAVIONIX_ADSB_OUT_DYNAMIC_DATA
impl UAVIONIX_ADSB_OUT_DYNAMIC_DATA
pub const ENCODED_LEN: usize = 41usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for UAVIONIX_ADSB_OUT_DYNAMIC_DATA
impl Clone for UAVIONIX_ADSB_OUT_DYNAMIC_DATA
source§fn clone(&self) -> UAVIONIX_ADSB_OUT_DYNAMIC_DATA
fn clone(&self) -> UAVIONIX_ADSB_OUT_DYNAMIC_DATA
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<'de> Deserialize<'de> for UAVIONIX_ADSB_OUT_DYNAMIC_DATA
impl<'de> Deserialize<'de> for UAVIONIX_ADSB_OUT_DYNAMIC_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 UAVIONIX_ADSB_OUT_DYNAMIC_DATA
impl MessageData for UAVIONIX_ADSB_OUT_DYNAMIC_DATA
const ID: u32 = 10_002u32
const NAME: &'static str = "UAVIONIX_ADSB_OUT_DYNAMIC"
const EXTRA_CRC: u8 = 186u8
const ENCODED_LEN: usize = 41usize
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 UAVIONIX_ADSB_OUT_DYNAMIC_DATA
impl PartialEq for UAVIONIX_ADSB_OUT_DYNAMIC_DATA
source§fn eq(&self, other: &UAVIONIX_ADSB_OUT_DYNAMIC_DATA) -> bool
fn eq(&self, other: &UAVIONIX_ADSB_OUT_DYNAMIC_DATA) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UAVIONIX_ADSB_OUT_DYNAMIC_DATA
Auto Trait Implementations§
impl Freeze for UAVIONIX_ADSB_OUT_DYNAMIC_DATA
impl RefUnwindSafe for UAVIONIX_ADSB_OUT_DYNAMIC_DATA
impl Send for UAVIONIX_ADSB_OUT_DYNAMIC_DATA
impl Sync for UAVIONIX_ADSB_OUT_DYNAMIC_DATA
impl Unpin for UAVIONIX_ADSB_OUT_DYNAMIC_DATA
impl UnwindSafe for UAVIONIX_ADSB_OUT_DYNAMIC_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
)