pub type GlobalPositionInt = GlobalPositionInt;Expand description
Originally defined in common::messages::global_position_int.
Aliased Type§
pub struct GlobalPositionInt {
pub time_boot_ms: u32,
pub lat: i32,
pub lon: i32,
pub alt: i32,
pub relative_alt: i32,
pub vx: i16,
pub vy: i16,
pub vz: i16,
pub hdg: u16,
}Fields§
§time_boot_ms: u32MAVLink field time_boot_ms.
Timestamp (time since system boot).
lat: i32MAVLink field lat.
Latitude, expressed
lon: i32MAVLink field lon.
Longitude, expressed
alt: i32MAVLink field alt.
Altitude (MSL). Note that virtually all GPS modules provide both WGS84 and MSL.
relative_alt: i32MAVLink field relative_alt.
Altitude above home
vx: i16MAVLink field vx.
Ground X Speed (Latitude, positive north)
vy: i16MAVLink field vy.
Ground Y Speed (Longitude, positive east)
vz: i16MAVLink field vz.
Ground Z Speed (Altitude, positive down)
hdg: u16MAVLink field hdg.
Vehicle heading (yaw angle), 0.0..359.99 degrees. If unknown, set to: UINT16_MAX