SromMovementStrategy class abstract

Interface for movement strategies used in SROM processing.

Implementers

Constructors

SromMovementStrategy.new()

Properties

angleComputationAxes List<SensorAxis>
The axes used to calculate the angle's magnitude.
no setter
detectedArm Arm
no setter
hashCode int
The hash code for this object.
no setterinherited
mainMovementAxis SensorAxis
The axis used to determine the direction (sign) of movement.
no setter
name String
no setter
phase List<SensorEvent>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

computeAngle({required List<SensorEvent> gyroData, required ({double x, double y, double z}) baselineGyro, required double gyroActualRate}) double
Computes the movement angle for the SROM strategy using gyroscope data, baseline values, and actual rate.
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