Gps2Raw class

Second GPS data.

GPS2_RAW

Implemented types

Constructors

Gps2Raw({required uint64_t timeUsec, required int32_t lat, required int32_t lon, required int32_t alt, required uint32_t dgpsAge, required uint16_t eph, required uint16_t epv, required uint16_t vel, required uint16_t cog, required GpsFixType fixType, required uint8_t satellitesVisible, required uint8_t dgpsNumch, required uint16_t yaw, required int32_t altEllipsoid, required uint32_t hAcc, required uint32_t vAcc, required uint32_t velAcc, required uint32_t hdgAcc})
Gps2Raw.parse(ByteData data_)
factory

Properties

alt int32_t
Altitude (MSL). Positive for up.
final
altEllipsoid int32_t
Altitude (above WGS84, EGM96 ellipsoid). Positive for up.
final
cog uint16_t
Course over ground (NOT heading, but direction of movement): 0.0..359.99 degrees. If unknown, set to: UINT16_MAX
final
dgpsAge uint32_t
Age of DGPS info
final
dgpsNumch uint8_t
Number of DGPS satellites
final
eph uint16_t
GPS HDOP horizontal dilution of position (unitless * 100). If unknown, set to: UINT16_MAX
final
epv uint16_t
GPS VDOP vertical dilution of position (unitless * 100). If unknown, set to: UINT16_MAX
final
fixType GpsFixType
GPS fix type.
final
hAcc uint32_t
Position uncertainty.
final
hashCode int
The hash code for this object.
no setterinherited
hdgAcc uint32_t
Heading / track uncertainty
final
lat int32_t
Latitude (WGS84)
final
lon int32_t
Longitude (WGS84)
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
satellitesVisible uint8_t
Number of satellites visible. If unknown, set to UINT8_MAX
final
timeUsec uint64_t
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.
final
vAcc uint32_t
Altitude uncertainty.
final
vel uint16_t
GPS ground speed. If unknown, set to: UINT16_MAX
final
velAcc uint32_t
Speed uncertainty.
final
yaw uint16_t
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.
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