MBLAccelerometerBMI160MotionEvent Class Reference

Inherits from MBLEvent
Conforms to *
MBLDataSample
Declared in MBLAccelerometerBMI160MotionEvent.h

Overview

The BMI160 combines Slow/No-Motion and Any/Signification-Motion detection, so below we expose the raw registers as a first enabling step. Over time this will become better encapsulated.

  slowNoMotionEnabled

Set to YES if you want slow/no-motion events

@property (nonatomic) BOOL slowNoMotionEnabled

Declared In

MBLAccelerometerBMI160MotionEvent.h

  useSlowMotion

Set to YES if you want slow-motion, set to NO if you want no-motion

@property (nonatomic) BOOL useSlowMotion

Declared In

MBLAccelerometerBMI160MotionEvent.h

  slowNoMotionDuration

No-Motion: Time in ms for which no slope data point must exceeed slow/no-mothion threshold Slow-Motion: Time in ms for which slope data points must be above the slow/no-motion threshold

@property (nonatomic) double slowNoMotionDuration

Declared In

MBLAccelerometerBMI160MotionEvent.h

  slowNoMotionThreshold

Threshold in G’s for detecting slow/no-motion events

@property (nonatomic) double slowNoMotionThreshold

Declared In

MBLAccelerometerBMI160MotionEvent.h

  significantAnyMotionEnabled

Set to YES if you want significant/any-motion events

@property (nonatomic) BOOL significantAnyMotionEnabled

Declared In

MBLAccelerometerBMI160MotionEvent.h

  useSignificantMotion

Set to YES if you want significant-motion, set to NO if you want any-motion

@property (nonatomic) BOOL useSignificantMotion

Declared In

MBLAccelerometerBMI160MotionEvent.h

  anyMotionDuration

Time in ms for which slope data points must be above the anyMotionThreshold threshold

@property (nonatomic) double anyMotionDuration

Declared In

MBLAccelerometerBMI160MotionEvent.h

  anyMotionThreshold

Threshold in G’s for detecting any-motion events

@property (nonatomic) double anyMotionThreshold

Declared In

MBLAccelerometerBMI160MotionEvent.h

  significantMotionSkipTime

Significant-Motion is a combination of any-motion events. It’s a state machine that works as follows, 1) Any-Motion Detected. 2) Sleep for significantMotionSkipTime. 3) Look for Any-Motion again within significantMotionProofTime, and if found trigger a significant-motion event. Units are in seconds

@property (nonatomic) double significantMotionSkipTime

Declared In

MBLAccelerometerBMI160MotionEvent.h