ExtensionStrategy class

Implemented types

Constructors

ExtensionStrategy.new()

Properties

angleComputationAxes List<SensorAxis>
The axes used to calculate the angle's magnitude.
no setteroverride
detectedArm Arm
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
mainMovementAxis SensorAxis
The axis used to determine the direction (sign) of movement.
no setteroverride
name String
no setteroverride
phase List<SensorEvent>
getter/setter pairoverride
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.
override
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