MobilityConfig class abstract
Abstract class for base configuration of mobility tests
Specifies sensor placement, selected IMU sensors, sampling rates,
and axes for accelerometer, gyroscope, and magnetometer data.
Extended by test-specific configs, such as StsConfig, SromConfig, TugConfig, WtConfig.
- Implementers
Constructors
-
MobilityConfig({required SensorLocation sensorLocation, bool useAccelerometer = true, bool useGyroscope = false, bool useMagnetometer = false, double accelerometerSamplingRate = 100.0, double gyroscopeSamplingRate = 100.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> -
final
- accelerometerSamplingRate → double
-
final
-
gyroscopeAxes
→ List<
SensorAxis> -
final
- gyroscopeSamplingRate → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
magnetometerAxes
→ List<
SensorAxis> -
final
- magnetometerSamplingRate → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sensorLocation → SensorLocation
-
final
- useAccelerometer → bool
-
final
- useGyroscope → bool
-
final
- useMagnetometer → bool
-
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