#include <SensorData.h>
Public Types | |
enum | sensors { neckTilt, headPan, headTilt, headBack, headFront, psd, mouth, chin, legFL1, legFL2, legFL3, pawFL, legHL1, legHL2, legHL3, pawHL, legFR1, legFR2, legFR3, pawFR, legHR1, legHR2, legHR3, pawHR, tailPan, tailTilt, thermo, back, accelerationX, accelerationY, accelerationZ, numOfSensor_ERS210, head = numOfSensor_ERS210, headPsdFar, bodyPsd, numOfSensor_ERS7, headTilt210 = neckTilt, headPan210 = headPan, headRoll210 = headTilt, headPsdNear = psd, backF = headFront, backM = back, backR = headBack, wlan = thermo } |
Public Member Functions | |
SensorData () | |
constructs a SensorData. | |
~SensorData () | |
deconstructs a SensorData. | |
void | init () |
Static Public Member Functions | |
const char * | getSensorName (sensors sensor) |
returns the name of a sensor | |
const char * | getSensorNameERS210 (sensors sensor) |
returns the name of a sensor of the ERS-210 | |
const char * | getSensorNameERS7 (sensors sensor) |
returns the name of a sensor of the ERS-7 | |
Public Attributes | |
long | data [numOfSensor_ERS7] |
The sensor data value. | |
long | refValue [numOfSensor_ERS7] |
Sensor data reference values. | |
unsigned long | frameNumber |
The frame number of that sensor data. |
Definition at line 15 of file SensorData.h.
|
Definition at line 28 of file SensorData.h. |
|
constructs a SensorData.
Definition at line 9 of file SensorData.cpp. References init(). |
Here is the call graph for this function:
|
deconstructs a SensorData.
Definition at line 14 of file SensorData.cpp. |
|
Definition at line 18 of file SensorData.cpp. References accelerationZ, numOfSensor_ERS7, and refValue. Referenced by SensorData(). |
|
returns the name of a sensor
Definition at line 81 of file SensorData.h. References getSensorNameERS7(), headBack, headFront, psd, and thermo. |
Here is the call graph for this function:
|
returns the name of a sensor of the ERS-210
Definition at line 97 of file SensorData.h. References accelerationX, accelerationY, accelerationZ, headBack, headFront, pawFL, pawFR, pawHL, pawHR, psd, and thermo. Referenced by getSensorNameERS7(). |
|
returns the name of a sensor of the ERS-7
Definition at line 137 of file SensorData.h. References backF, backM, backR, bodyPsd, getSensorNameERS210(), headPsdFar, headPsdNear, and wlan. Referenced by getSensorName(). |
Here is the call graph for this function:
|
|
Sensor data reference values. Only valid for joint sensors. Definition at line 73 of file SensorData.h. Referenced by GT2004CollisionDetector::execute(), init(), and operator>>(). |
|
The frame number of that sensor data.
Definition at line 76 of file SensorData.h. Referenced by GT2004SensorDataProcessor::buildCameraMatrix(), GT2004SensorDataProcessor::buildPSDPercept(), Kinematics::calcRelativeRobotVertices(), GT2004SensorDataProcessor::execute(), GT2004CollisionDetector::execute(), GT2004SensorDataProcessor::SensorDataRingBuffer::interpolate(), BB2004InvKinWalkingEngine::learn(), and operator>>(). |