GpsRawInt class
The global position, as returned by the Global Positioning System (GPS). This is NOT the global position estimate of the system, but rather a RAW sensor value. See message GLOBAL_POSITION_INT for the global position estimate.
GPS_RAW_INT
- Implemented types
Constructors
- GpsRawInt({required uint64_t timeUsec, required int32_t lat, required int32_t lon, required int32_t alt, required uint16_t eph, required uint16_t epv, required uint16_t vel, required uint16_t cog, required GpsFixType fixType, required uint8_t satellitesVisible, required int32_t altEllipsoid, required uint32_t hAcc, required uint32_t vAcc, required uint32_t velAcc, required uint32_t hdgAcc, required uint16_t yaw})
- GpsRawInt.parse(ByteData data_)
-
factory
Properties
- alt → int32_t
-
Altitude (MSL). Positive for up. Note that virtually all GPS modules provide the MSL altitude in addition to the WGS84 altitude.
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) in degrees * 100, 0.0..359.99 degrees. If unknown, set to: UINT16_MAX
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, EGM96 ellipsoid)
final
- lon → int32_t
-
Longitude (WGS84, EGM96 ellipsoid)
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