Turning class

Data class representing the start and end indices of a turning event.

Used by TugProcessor.detectTurn to return the temporal boundaries of a detected turning motion in the sensor data sequence. Both indices refer to positions in the gyroscope data array.

Constructors

Turning.new({required int startIndex, required int endIndex})
const

Properties

endIndex int
Index in the sensor data where the turning motion ends
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startIndex int
Index in the sensor data where the turning motion starts
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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