ImuReader class
A service to read orientation data from the connected IMU.
- Inheritance
-
- Object
- Service
- ImuReader
Constructors
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
-
handleOsc(
List< int> data) → void - Parses an OSC bundle from a list of 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
-
processSlip(
List< int> data) → Uint8List - Removes bytes inserted by the SLIP protocol.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited