ImuReader class

A service to read orientation data from the connected IMU.

Inheritance

Constructors

ImuReader()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serial → SerialDevice
The device that reads from the serial port.
final
subscription ↔ StreamSubscription<List<int>>?
The subscription that will be notified when a new serial packet arrives.
getter/setter pair

Methods

dispose() → Future<void>
Closes the connection to the device.
override
handleCommand(SubsystemsCommand command) → void
Handles an incoming SubsystemsCommand
handleSerial(List<int> bytes) → void
Handles incoming serial bytes
init() → Future<bool>
Initializes the connection to the device.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDisconnect() → Future<void>
A callback to run when the program has disconnected from the Dashboard.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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