MetaWear C# SDK  1.2.0
C# API for MbientLab's sensor platform
Public Member Functions | List of all members
MbientLab.MetaWear.Sensor.AccelerometerBosch.IMotionDataProducer Interface Reference

On-board algorithms for detecting various types of motion.
More...

Inheritance diagram for MbientLab.MetaWear.Sensor.AccelerometerBosch.IMotionDataProducer:
MbientLab.MetaWear.IAsyncDataProducer MbientLab.MetaWear.IDataProducer MbientLab.MetaWear.Sensor.AccelerometerBmi160.IBmi160MotionDataProducer

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< IRouteAddRouteAsync (Action< IRouteComponent > builder)
 Adds a data route to the producer More...
 

Detailed Description

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.

Member Function Documentation

◆ ConfigureAny()

void MbientLab.MetaWear.Sensor.AccelerometerBosch.IMotionDataProducer.ConfigureAny ( int?  count = null,
float?  threshold = null 
)

Configure the accelerometer for any-motion detection

Parameters
countNumber of consecutive slope data points that must be above the threshold
thresholdValue that the slope data points must be above

◆ ConfigureNo()

void MbientLab.MetaWear.Sensor.AccelerometerBosch.IMotionDataProducer.ConfigureNo ( int?  duration = null,
float?  threshold = null 
)

Configure the accelerometer for no-motion detection

Parameters
durationTime, in milliseconds, for which no slope data points exceed the threshold
thresholdThreshold, in g's, for which no slope data points must exceed

◆ ConfigureSlow()

void MbientLab.MetaWear.Sensor.AccelerometerBosch.IMotionDataProducer.ConfigureSlow ( byte?  count = null,
float?  threshold = null 
)

Configure the accelerometer for slow-motion detection

Parameters
countNumber of consecutive slope data points that must be above the threshold
thresholdThreshold, in g's, for which no slope data points must exceed

The documentation for this interface was generated from the following file: