GlobalPositionInt

Type Alias GlobalPositionInt 

Source
pub type GlobalPositionInt = GlobalPositionInt;
Expand description

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: u32

MAVLink field time_boot_ms.

Timestamp (time since system boot).

§lat: i32

MAVLink field lat.

Latitude, expressed

§lon: i32

MAVLink field lon.

Longitude, expressed

§alt: i32

MAVLink field alt.

Altitude (MSL). Note that virtually all GPS modules provide both WGS84 and MSL.

§relative_alt: i32

MAVLink field relative_alt.

Altitude above home

§vx: i16

MAVLink field vx.

Ground X Speed (Latitude, positive north)

§vy: i16

MAVLink field vy.

Ground Y Speed (Longitude, positive east)

§vz: i16

MAVLink field vz.

Ground Z Speed (Altitude, positive down)

§hdg: u16

MAVLink field hdg.

Vehicle heading (yaw angle), 0.0..359.99 degrees. If unknown, set to: UINT16_MAX