SetGpsGlobalOrigin

Type Alias SetGpsGlobalOrigin 

Source
pub type SetGpsGlobalOrigin = SetGpsGlobalOrigin;
Expand description

Aliased Type§

pub struct SetGpsGlobalOrigin {
    pub target_system: u8,
    pub latitude: i32,
    pub longitude: i32,
    pub altitude: i32,
    pub time_usec: u64,
}

Fields§

§target_system: u8

MAVLink field target_system.

System ID

§latitude: i32

MAVLink field latitude.

Latitude (WGS84)

§longitude: i32

MAVLink field longitude.

Longitude (WGS84)

§altitude: i32

MAVLink field altitude.

Altitude (MSL). Positive for up.

§time_usec: u64

MAVLink field time_usec.

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.