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

On-board algorithm that detects changes in the sensor's orientation. More...

Inheritance diagram for MbientLab.MetaWear.Sensor.AccelerometerBosch.IOrientationDataProducer:
MbientLab.MetaWear.IAsyncDataProducer MbientLab.MetaWear.IDataProducer

Public Member Functions

void Configure (OrientationMode? mode=null, float? hysteresis=null)
 Configure the orientation detection algorithm 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 algorithm that detects changes in the sensor's orientation.

Data is represented as a SensorOrientation enum.

Member Function Documentation

◆ Configure()

void MbientLab.MetaWear.Sensor.AccelerometerBosch.IOrientationDataProducer.Configure ( OrientationMode mode = null,
float?  hysteresis = null 
)

Configure the orientation detection algorithm

Parameters
modeNew calculation mode
hysteresisNew hysteresis value for landscape/portrait detection.
This value is in g's and defaults to 0.0625g

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