#include <aibosensor.h>
Collaboration diagram for AiboSensor:
Public Member Functions | |
AiboSensor () | |
virtual | ~AiboSensor () |
OPrimitiveID | GetPrimitiveID (SENSOR sensor) const |
Methods for initialization | |
bool | Initialized () const |
void | InitSensorIndex (OSensorFrameVectorData *sensorVec) |
Methods for terminal output | |
void | PrintSensorValues (OSensorFrameVectorData *sensorVec) |
void | PrintSensorValue (OSensorFrameVectorData *sensorVec, SENSOR sens) |
void | PrintJointValue (OSensorFrameVectorData *sensorVec, JOINT_SENSOR joint) |
void | PrintSeparator () const |
Methods for sensor access | |
slongword | GetSensorValue (OSensorFrameVectorData *sensorVec, SENSOR sens) |
slongword | GetMeanSensorValue (OSensorFrameVectorData *sensorVec, SENSOR index, int numFrames) |
double | GetDistance (OSensorFrameVectorData *sensorVec) |
double | GetMeanDistance (OSensorFrameVectorData *sensorVec, int numFrames) |
double | GetJointValue (OSensorFrameVectorData *sensorVec, JOINT_SENSOR joint) |
double | GetMeanJointValue (OSensorFrameVectorData *sensorVec, JOINT_SENSOR joint, int numFrames) |
double | GetRefJointValue (OSensorFrameVectorData *sensorVec, JOINT_SENSOR joint) |
double | GetMeanRefJointValue (OSensorFrameVectorData *sensorVec, JOINT_SENSOR joint, int numFrames) |
double | GetTemp (OSensorFrameVectorData *sensorVec) |
double | GetMeanTemp (OSensorFrameVectorData *sensorVec, int numFrames) |
double | GetXAccel (OSensorFrameVectorData *sensorVec) |
double | GetMeanXAccel (OSensorFrameVectorData *sensorVec, int numFrames) |
double | GetYAccel (OSensorFrameVectorData *sensorVec) |
double | GetMeanYAccel (OSensorFrameVectorData *sensorVec, int numFrames) |
double | GetZAccel (OSensorFrameVectorData *sensorVec) |
double | GetMeanZAccel (OSensorFrameVectorData *sensorVec, int numFrames) |
bool | IsPressed (OSensorFrameVectorData *sensorVec, SWITCH sw) |
Protected Attributes | |
bool | SensorIndexInitialized |
int | SensorIndex [NUM_SENSORS] |
OPrimitiveID | SensorID [NUM_SENSORS] |
|
default constructor |
|
default destructor |
|
Returns if the class is initialized or not
|
|
Initializes the sensor Index
|
|
Prints the last frame of all sensor values on terminal
Here is the call graph for this function: |
|
Prints the last frame of sensor values of the sensor corresponding to index on terminal
Here is the call graph for this function: |
|
Special output method for joint values. Prints the last frame of sensor values of the sensor corresponding to index on terminal
Here is the call graph for this function: |
|
Prints a dashed line to terminal |
|
Returns the last sensor value for the sensor corresponding to index. UNIT: corresponding to the sensor. See Aibo documentation for details.
|
|
Returns the mean sensor value for the sensor corresponding to index. If you want to get more than 4 values for mean value calculation, you should tell this "OSensorFrameInfo" in your program!!!
|
|
Returns the last sensor value for the PSD (IR-Sensor)
Here is the call graph for this function: |
|
Returns the last sensor value for the PSD (IR-Sensor)
Here is the call graph for this function: |
|
Returns the last joint value for the joint corresponding to index. UNIT:rad
Here is the call graph for this function: |
|
Returns the mean joint value for the joint corresponding to index
Here is the call graph for this function: |
|
Returns the last reference joint value for the joint corresponding to index. UNIT:rad
|
|
Returns the mean reference joint value for the joint corresponding to index
|
|
Returns the last temperature value.
Here is the call graph for this function: |
|
Returns the mean temperature value over numFrames.
Here is the call graph for this function: |
|
Returns the acceleration value for X-Axis.
Here is the call graph for this function: |
|
Returns the mean acceleration value for X-Axis over numFrames.
Here is the call graph for this function: |
|
Returns the acceleration value for Y-Axis.
Here is the call graph for this function: |
|
Returns the mean acceleration value for Y-Axis over numFrames.
Here is the call graph for this function: |
|
Returns the acceleration value for Z-Axis.
Here is the call graph for this function: |
|
Returns the mean acceleration value for Z-Axis over numFrames.
Here is the call graph for this function: |
|
Returns weather the switch corresponding to index is pressed or not
Here is the call graph for this function: |
|
Returns the OPrimitiveID of the sensor
|
|
Is the sensor index, which holds the correspondencies between SensorID und CommandVector initialiesd? |
|
Index of sensors for correspondencies between SenosrID and CommandVector. |
|
Array for the PrimitiveID's of the sensors |
Tim Baier
AiboLib v0.2.4 |
Generated Thu Jan 19 11:56:04 2006 by 1.4.3 |