TugConfig class

Configuration settings for the Timed Up and Go (TUG) test.

Defines sensor settings, sampling rates, and axes used during TUG test execution. Extends MobilityConfig with TUG-specific defaults for accelerometer and gyroscope sensors.

Inheritance

Constructors

TugConfig({SensorLocation sensorLocation = SensorLocation.chest, bool useAccelerometer = true, bool useGyroscope = true, bool useMagnetometer = false, double accelerometerSamplingRate = 104.0, double gyroscopeSamplingRate = 104.0, double magnetometerSamplingRate = 100.0, List<SensorAxis> accelerometerAxes = const [SensorAxis.x, SensorAxis.y, SensorAxis.z], List<SensorAxis> gyroscopeAxes = const [SensorAxis.x, SensorAxis.y, SensorAxis.z], List<SensorAxis> magnetometerAxes = const [SensorAxis.x, SensorAxis.y, SensorAxis.z]})

Properties

accelerometerAxes List<SensorAxis>
finalinherited
accelerometerSamplingRate double
finalinherited
gyroscopeAxes List<SensorAxis>
finalinherited
gyroscopeSamplingRate double
finalinherited
hashCode int
The hash code for this object.
no setterinherited
magnetometerAxes List<SensorAxis>
finalinherited
magnetometerSamplingRate double
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sensorLocation SensorLocation
finalinherited
useAccelerometer bool
finalinherited
useGyroscope bool
finalinherited
useMagnetometer bool
finalinherited

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