SparkFun Optical Tracking Odometry Sensor  v1.0.2-11-gb69b326
Library for the SparkFun Optical Tracking Odometry Sensor
Loading...
Searching...
No Matches
sfe_otos_status_t Union Reference

Status register bit fields. More...

#include <sfDevOTOS.h>

Public Attributes

struct {
   uint8_t   warnTiltAngle: 1
 Returns 1 if the tilt angle threshold has been exceeded. While set, the accelerometer data is ignored. More...
 
   uint8_t   warnOpticalTracking: 1
 Returns 1 if the optical tracking is unreliable. While set, only the IMU data is used for tracking unless warnTiltAngle is set. More...
 
   uint8_t   reserved: 4
 Reserved bits, do not use. More...
 
   uint8_t   errorPaa: 1
 Returns 1 if the optical sensor has a fatal error. More...
 
   uint8_t   errorLsm: 1
 Returns 1 if the IMU has a fatal error. More...
 
}; 
 
uint8_t value
 Raw register value. More...
 

Detailed Description

Status register bit fields.

Member Data Documentation

◆ 

struct { ... } sfe_otos_status_t::@7

◆ errorLsm

uint8_t sfe_otos_status_t::errorLsm

Returns 1 if the IMU has a fatal error.

◆ errorPaa

uint8_t sfe_otos_status_t::errorPaa

Returns 1 if the optical sensor has a fatal error.

◆ reserved

uint8_t sfe_otos_status_t::reserved

Reserved bits, do not use.

◆ value

uint8_t sfe_otos_status_t::value

Raw register value.

◆ warnOpticalTracking

uint8_t sfe_otos_status_t::warnOpticalTracking

Returns 1 if the optical tracking is unreliable. While set, only the IMU data is used for tracking unless warnTiltAngle is set.

◆ warnTiltAngle

uint8_t sfe_otos_status_t::warnTiltAngle

Returns 1 if the tilt angle threshold has been exceeded. While set, the accelerometer data is ignored.


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