Struct mavlink::ualberta::GPS_RAW_INT_DATA
source · pub struct GPS_RAW_INT_DATA {}
ualberta
only.Expand description
id: 24 The global position, as returned by the Global Positioning System (GPS). This is NOT the global position estimate of the system, but rather a RAW sensor value. See message GLOBAL_POSITION_INT for the global position estimate..
Fields§
§time_usec: u64
Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number..
lat: i32
Latitude (WGS84, EGM96 ellipsoid).
lon: i32
Longitude (WGS84, EGM96 ellipsoid).
alt: i32
Altitude (MSL). Positive for up. Note that virtually all GPS modules provide the MSL altitude in addition to the WGS84 altitude..
eph: u16
GPS HDOP horizontal dilution of position (unitless * 100). If unknown, set to: UINT16_MAX.
epv: u16
GPS VDOP vertical dilution of position (unitless * 100). If unknown, set to: UINT16_MAX.
vel: u16
GPS ground speed. If unknown, set to: UINT16_MAX.
cog: u16
Course over ground (NOT heading, but direction of movement) in degrees * 100, 0.0..359.99 degrees. If unknown, set to: UINT16_MAX.
fix_type: GpsFixType
GPS fix type..
satellites_visible: u8
Number of satellites visible. If unknown, set to UINT8_MAX.
alt_ellipsoid: i32
Altitude (above WGS84, EGM96 ellipsoid). Positive for up..
h_acc: u32
Position uncertainty..
v_acc: u32
Altitude uncertainty..
vel_acc: u32
Speed uncertainty..
hdg_acc: u32
Heading / track uncertainty.
yaw: u16
Yaw in earth frame from north. Use 0 if this GPS does not provide yaw. Use UINT16_MAX if this GPS is configured to provide yaw and is currently unable to provide it. Use 36000 for north..
Implementations§
source§impl GPS_RAW_INT_DATA
impl GPS_RAW_INT_DATA
pub const ENCODED_LEN: usize = 52usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for GPS_RAW_INT_DATA
impl Clone for GPS_RAW_INT_DATA
source§fn clone(&self) -> GPS_RAW_INT_DATA
fn clone(&self) -> GPS_RAW_INT_DATA
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GPS_RAW_INT_DATA
impl Debug for GPS_RAW_INT_DATA
source§impl Default for GPS_RAW_INT_DATA
impl Default for GPS_RAW_INT_DATA
source§impl<'de> Deserialize<'de> for GPS_RAW_INT_DATA
impl<'de> Deserialize<'de> for GPS_RAW_INT_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 GPS_RAW_INT_DATA
impl MessageData for GPS_RAW_INT_DATA
const ID: u32 = 24u32
const NAME: &'static str = "GPS_RAW_INT"
const EXTRA_CRC: u8 = 24u8
const ENCODED_LEN: usize = 52usize
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 GPS_RAW_INT_DATA
impl PartialEq for GPS_RAW_INT_DATA
source§impl Serialize for GPS_RAW_INT_DATA
impl Serialize for GPS_RAW_INT_DATA
impl StructuralPartialEq for GPS_RAW_INT_DATA
Auto Trait Implementations§
impl Freeze for GPS_RAW_INT_DATA
impl RefUnwindSafe for GPS_RAW_INT_DATA
impl Send for GPS_RAW_INT_DATA
impl Sync for GPS_RAW_INT_DATA
impl Unpin for GPS_RAW_INT_DATA
impl UnwindSafe for GPS_RAW_INT_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
)