HilGps 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.
HIL_GPS
- Implemented types
Constructors
- HilGps({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 int16_t vn, required int16_t ve, required int16_t vd, required uint16_t cog, required uint8_t fixType, required uint8_t satellitesVisible, required uint8_t id, required uint16_t yaw})
- HilGps.parse(ByteData data_)
-
factory
Properties
- alt → int32_t
-
Altitude (MSL). 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
- 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 → uint8_t
-
0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → uint8_t
-
GPS ID (zero indexed). Used for multiple GPS inputs
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
- vd → int16_t
-
GPS velocity in down direction in earth-fixed NED frame
final
- ve → int16_t
-
GPS velocity in east direction in earth-fixed NED frame
final
- vel → uint16_t
-
GPS ground speed. If unknown, set to: UINT16_MAX
final
- vn → int16_t
-
GPS velocity in north direction in earth-fixed NED frame
final
- yaw → uint16_t
-
Yaw of vehicle relative to Earth's North, zero means not available, 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