HilSensor class

The IMU readings in SI units in NED body frame

HIL_SENSOR

Implemented types

Constructors

HilSensor({required uint64_t timeUsec, required float xacc, required float yacc, required float zacc, required float xgyro, required float ygyro, required float zgyro, required float xmag, required float ymag, required float zmag, required float absPressure, required float diffPressure, required float pressureAlt, required float temperature, required HilSensorUpdatedFlags fieldsUpdated, required uint8_t id})
HilSensor.parse(ByteData data_)
factory

Properties

absPressure float
Absolute pressure
final
diffPressure float
Differential pressure (airspeed)
final
fieldsUpdated HilSensorUpdatedFlags
Bitmap for fields that have updated since last message
final
hashCode int
The hash code for this object.
no setterinherited
id uint8_t
Sensor ID (zero indexed). Used for multiple sensor inputs
final
mavlinkCrcExtra int
no setteroverride
mavlinkMessageId int
no setteroverride
pressureAlt float
Altitude calculated from pressure
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
temperature float
Temperature
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
xacc float
X acceleration
final
xgyro float
Angular speed around X axis in body frame
final
xmag float
X Magnetic field
final
yacc float
Y acceleration
final
ygyro float
Angular speed around Y axis in body frame
final
ymag float
Y Magnetic field
final
zacc float
Z acceleration
final
zgyro float
Angular speed around Z axis in body frame
final
zmag float
Z Magnetic field
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