MetaWear C# SDK
1.2.0
C# API for MbientLab's sensor platform
|
On-board algorithms for detecting various types of motion.
More...
Public Member Functions | |
void | ConfigureNo (int? duration=null, float? threshold=null) |
Configure the accelerometer for no-motion detection More... | |
void | ConfigureAny (int? count=null, float? threshold=null) |
Configure the accelerometer for any-motion detection More... | |
void | ConfigureSlow (byte? count=null, float? threshold=null) |
Configure the accelerometer for slow-motion detection More... | |
Public Member Functions inherited from MbientLab.MetaWear.IAsyncDataProducer | |
void | Start () |
Begin data collection More... | |
void | Stop () |
End data collection More... | |
Public Member Functions inherited from MbientLab.MetaWear.IDataProducer | |
Task< IRoute > | AddRouteAsync (Action< IRouteComponent > builder) |
Adds a data route to the producer More... | |
On-board algorithms for detecting various types of motion.
The various 'Configure' methods in this interface both enable and configure their respective motion detection types.
Only of these types can be detected at a time.
void MbientLab.MetaWear.Sensor.AccelerometerBosch.IMotionDataProducer.ConfigureAny | ( | int? | count = null , |
float? | threshold = null |
||
) |
Configure the accelerometer for any-motion detection
count | Number of consecutive slope data points that must be above the threshold |
threshold | Value that the slope data points must be above |
void MbientLab.MetaWear.Sensor.AccelerometerBosch.IMotionDataProducer.ConfigureNo | ( | int? | duration = null , |
float? | threshold = null |
||
) |
Configure the accelerometer for no-motion detection
duration | Time, in milliseconds, for which no slope data points exceed the threshold |
threshold | Threshold, in g's, for which no slope data points must exceed |
void MbientLab.MetaWear.Sensor.AccelerometerBosch.IMotionDataProducer.ConfigureSlow | ( | byte? | count = null , |
float? | threshold = null |
||
) |
Configure the accelerometer for slow-motion detection
count | Number of consecutive slope data points that must be above the threshold |
threshold | Threshold, in g's, for which no slope data points must exceed |