MetaWear C# SDK
1.2.0
C# API for MbientLab's sensor platform
|
On-board algorithm that detects whether or not the senor is laying flat.
More...
Public Member Functions | |
void | Configure (ushort? hold=null, float? theta=null) |
Configure the flat 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< IRoute > | AddRouteAsync (Action< IRouteComponent > builder) |
Adds a data route to the producer More... | |
On-board algorithm that detects whether or not the senor is laying flat.
Data is represented as a boolean.
void MbientLab.MetaWear.Sensor.AccelerometerBosch.IFlatDataProducer.Configure | ( | ushort? | hold = null , |
float? | theta = null |
||
) |
Configure the flat detection algorithm.
hold | Delay for which the flat value must remain stable for an interrupt, in milliseconds. The closest valid value will be chosen. |
theta | Threshold angle defining a flat position, between [0, 44.8] degrees |