GlobalPositionInt class

The filtered global position (e.g. fused GPS and accelerometers). The position is in GPS-frame (right-handed, Z-up). It is designed as scaled integer message since the resolution of float is not sufficient.

GLOBAL_POSITION_INT

Implemented types

Constructors

GlobalPositionInt({required uint32_t timeBootMs, required int32_t lat, required int32_t lon, required int32_t alt, required int32_t relativeAlt, required int16_t vx, required int16_t vy, required int16_t vz, required uint16_t hdg})
GlobalPositionInt.parse(ByteData data_)
factory

Properties

alt int32_t
Altitude (MSL). Note that virtually all GPS modules provide both WGS84 and MSL.
final
hashCode int
The hash code for this object.
no setterinherited
hdg uint16_t
Vehicle heading (yaw angle), 0.0..359.99 degrees. If unknown, set to: UINT16_MAX
final
lat int32_t
Latitude, expressed
final
lon int32_t
Longitude, expressed
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
relativeAlt int32_t
Altitude above ground
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeBootMs uint32_t
Timestamp (time since system boot).
final
vx int16_t
Ground X Speed (Latitude, positive north)
final
vy int16_t
Ground Y Speed (Longitude, positive east)
final
vz int16_t
Ground Z Speed (Altitude, positive down)
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize() ByteData
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

mavlinkEncodedLength → const int