Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

AXS1SensorsResponse Struct Reference

Expected response from a ReadAXS1SensorsCmd. More...

#include <DynamixelProtocol.h>

Inheritance diagram for AXS1SensorsResponse:

Detailed Description

Expected response from a ReadAXS1SensorsCmd.

Definition at line 400 of file DynamixelProtocol.h.

List of all members.

Public Member Functions

 AXS1SensorsResponse ()
 constructor

Public Attributes

unsigned char leftIR
 reflectance from the left
unsigned char centerIR
 reflectance from the center
unsigned char rightIR
 reflectance from the right
unsigned char leftLum
 external illumination from the left
unsigned char centerLum
 external illumination from the center
unsigned char rightLum
 external illumination from the right
unsigned char obsFlag
 bitset indicating whether leftIR, centerIR, or rightIR have exceeded a threshold (unused, requires reset)
unsigned char lumFlag
 bitset indicating whether leftLum, centerLum, or rightLum have exceeded a threshold (unused, requires reset)
unsigned char _robotisReserved
 unused
unsigned char sndData
 current pressure reading from microphone (unused, not sampled frequently enough to be useful)
unsigned char sndMaxHold
 the maximum microphone value from microphone (requires reset)
unsigned char sndCount
 number of times the microphone reading has exceeded a threshold
unsigned char checksum
 checksum value (bitwise negated sum of all non-marker fields), see nchecksum()

Constructor & Destructor Documentation

constructor

Definition at line 402 of file DynamixelProtocol.h.


Member Data Documentation

unsigned char _robotisReserved

unused

Definition at line 424 of file DynamixelProtocol.h.

unsigned char centerIR

reflectance from the center

Definition at line 417 of file DynamixelProtocol.h.

Referenced by DynamixelDriver::provideValues().

unsigned char centerLum

external illumination from the center

Definition at line 420 of file DynamixelProtocol.h.

Referenced by DynamixelDriver::provideValues().

unsigned char checksum

checksum value (bitwise negated sum of all non-marker fields), see nchecksum()

Definition at line 436 of file DynamixelProtocol.h.

unsigned char leftIR

reflectance from the left

Definition at line 416 of file DynamixelProtocol.h.

Referenced by DynamixelDriver::provideValues().

unsigned char leftLum

external illumination from the left

Definition at line 419 of file DynamixelProtocol.h.

Referenced by DynamixelDriver::provideValues().

unsigned char lumFlag

bitset indicating whether leftLum, centerLum, or rightLum have exceeded a threshold (unused, requires reset)

Definition at line 423 of file DynamixelProtocol.h.

unsigned char obsFlag

bitset indicating whether leftIR, centerIR, or rightIR have exceeded a threshold (unused, requires reset)

Definition at line 422 of file DynamixelProtocol.h.

unsigned char rightIR

reflectance from the right

Definition at line 418 of file DynamixelProtocol.h.

Referenced by DynamixelDriver::provideValues().

unsigned char rightLum

external illumination from the right

Definition at line 421 of file DynamixelProtocol.h.

Referenced by DynamixelDriver::provideValues().

unsigned char sndCount

number of times the microphone reading has exceeded a threshold

Definition at line 427 of file DynamixelProtocol.h.

Referenced by DynamixelDriver::provideValues(), and CommThread::runloop().

unsigned char sndData

current pressure reading from microphone (unused, not sampled frequently enough to be useful)

Definition at line 425 of file DynamixelProtocol.h.

unsigned char sndMaxHold

the maximum microphone value from microphone (requires reset)

Definition at line 426 of file DynamixelProtocol.h.

Referenced by DynamixelDriver::provideValues().


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

Tekkotsu Hardware Abstraction Layer 5.1CVS
Generated Mon May 9 05:01:42 2016 by Doxygen 1.6.3