public interface Gyro extends MetaWearBoard.Module
Bmi160Gyro
Modifier and Type | Interface and Description |
---|---|
static interface |
Gyro.SourceSelector
Generic selector for gyro data sources
|
Modifier and Type | Method and Description |
---|---|
Gyro.SourceSelector |
routeData()
Initiates the creation of a route for gyro data
|
void |
setAngularRateRange(float range)
Sets the max range for sampling the angular rate of the gyro.
|
void |
setOutputDataRate(float frequency)
Sets the operating frequency of the gyro.
|
void |
start()
Switches the gyro into an active state
|
void |
stop()
Switches the gyro back into standby moee
|
void setOutputDataRate(float frequency)
frequency
- Operating frequency, in Hzvoid setAngularRateRange(float range)
range
- Max sampling range, in degrees per secondvoid start()
void stop()
Gyro.SourceSelector routeData()