VehicleState class abstract

Vehicle State class

This message summarizes the overall state of the vehicle. It can contains information regarding:

  • The overall operation mode.
  • Any error conditions.
  • Current maneuver execution.
  • Active control loops.
Inheritance
Implemented types

Constructors

VehicleState([void updates(VehicleStateBuilder b)?])
factory

Properties

abbrev String
no setteroverride
controlLoops CLoopsMaskBitfield
Enabled control loops.
no setter
dst int
no setterinherited
dstEnt int
no setterinherited
errorCount int
Error count for monitored entitites.
no setter
errorEnts String
The monitored entities with error conditions. This is a comma separated list of entity names.
no setter
flags VehicleStateBitfieldFlags
no setter
hashCode int
The hash code for this object.
no setterinherited
lastError String
Description of last error.
no setter
lastErrorTime double
Time of last error (Epoch time).
no setter
maneuverEta int
Estimated time for maneuver completion. The value will be 65535 if the time is unknown or undefined.
no setter
maneuverStime double
Start time of maneuver being executed (Epoch time), when in MANEUVER mode.
no setter
maneuverType int
Type of maneuver being executed, when in MANEUVER mode. The value is the IMC serialization ID of the corresponding maneuver.
no setter
msgId int
no setteroverride
opMode VehicleStateEnumOpMode
The overall operation mode.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
src int
no setterinherited
srcEnt int
no setterinherited
sync int
no setterinherited
timestamp DateTime?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(VehicleStateBuilder)) VehicleState
Rebuilds the instance.
inherited
toBuilder() VehicleStateBuilder
Converts the instance to a builder B.
inherited
toJson([bool includeHeader = true]) Map<String, dynamic>
To JSON object
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

staticId → const int