pub struct GPS2_RAW_DATA {Show 18 fields
pub time_usec: u64,
pub lat: i32,
pub lon: i32,
pub alt: i32,
pub dgps_age: u32,
pub eph: u16,
pub epv: u16,
pub vel: u16,
pub cog: u16,
pub fix_type: GpsFixType,
pub satellites_visible: u8,
pub dgps_numch: u8,
pub yaw: u16,
pub alt_ellipsoid: i32,
pub h_acc: u32,
pub v_acc: u32,
pub vel_acc: u32,
pub hdg_acc: u32,
}
uavionix
only.Expand description
id: 124 Second GPS data..
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).
lon: i32
Longitude (WGS84).
alt: i32
Altitude (MSL). Positive for up..
dgps_age: u32
Age of DGPS info.
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): 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.
dgps_numch: u8
Number of DGPS satellites.
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..
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.
Implementations§
Source§impl GPS2_RAW_DATA
impl GPS2_RAW_DATA
pub const ENCODED_LEN: usize = 57usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for GPS2_RAW_DATA
impl Clone for GPS2_RAW_DATA
Source§fn clone(&self) -> GPS2_RAW_DATA
fn clone(&self) -> GPS2_RAW_DATA
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more