HilState class
Sent from simulation to autopilot. This packet is useful for high throughput applications such as hardware in the loop simulations.
HIL_STATE
- Implemented types
Constructors
- HilState({required uint64_t timeUsec, required float roll, required float pitch, required float yaw, required float rollspeed, required float pitchspeed, required float yawspeed, required int32_t lat, required int32_t lon, required int32_t alt, required int16_t vx, required int16_t vy, required int16_t vz, required int16_t xacc, required int16_t yacc, required int16_t zacc})
- HilState.parse(ByteData data_)
-
factory
Properties
- alt → int32_t
-
Altitude
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lat → int32_t
-
Latitude
final
- lon → int32_t
-
Longitude
final
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
- pitch → float
-
Pitch angle
final
- pitchspeed → float
-
Body frame pitch / theta angular speed
final
- roll → float
-
Roll angle
final
- rollspeed → float
-
Body frame roll / phi angular speed
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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
- vx → int16_t
-
Ground X Speed (Latitude)
final
- vy → int16_t
-
Ground Y Speed (Longitude)
final
- vz → int16_t
-
Ground Z Speed (Altitude)
final
- xacc → int16_t
-
X acceleration
final
- yacc → int16_t
-
Y acceleration
final
- yaw → float
-
Yaw angle
final
- yawspeed → float
-
Body frame yaw / psi angular speed
final
- zacc → int16_t
-
Z acceleration
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