SensorObserver.h File Reference

#include <OPENR/OObject.h>
#include <OPENR/OSubject.h>
#include <OPENR/OObserver.h>
#include "def.h"

Go to the source code of this file.

Classes

class  SensorObserver

Variables

const int NUM_COMMON_SENSORS = 28
const int NUM_ERS210_SENSORS = 3
const int NUM_ERS220_SENSORS = 3
const int ACC_Y = 0
const int ACC_X = 1
const int ACC_Z = 2
const int TACT_R = 3
const int TACT_F = 4
const int TIN_SW = 5
const int PSD = 6
const int HEAD_TILT = 7
const int HEAD_PAN = 8
const int HEAD_ROLL = 9
const int RFLEG_J1 = 10
const int RFLEG_J2 = 11
const int RFLEG_J3 = 12
const int RFLEG_SW = 13
const int LFLEG_J1 = 14
const int LFLEG_J2 = 15
const int LFLEG_J3 = 16
const int LFLEG_SW = 17
const int RRLEG_J1 = 18
const int RRLEG_J2 = 19
const int RRLEG_J3 = 20
const int RRLEG_SW = 21
const int LRLEG_J1 = 22
const int LRLEG_J2 = 23
const int LRLEG_J3 = 24
const int LRLEG_SW = 25
const int BACK_SW = 26
const int THERMO = 27
const int MOUTH = 0
const int TAIL_PAN = 1
const int TAIL_TILT = 2
const int TAIL_SW_L = 0
const int TAIL_SW_M = 1
const int TAIL_SW_R = 2
const char *const COMMON_SENSOR_LOCATOR []
const char *const ERS210_SENSOR_LOCATOR []
const char *const ERS220_SENSOR_LOCATOR []


Variable Documentation

const int ACC_X = 1
 

Definition at line 25 of file SensorObserver.h.

Referenced by SensorObserver::PrintCommonSensor(), and SensorObserver7::PrintERS7Sensor().

const int ACC_Y = 0
 

Definition at line 24 of file SensorObserver.h.

Referenced by SensorObserver::PrintCommonSensor(), and SensorObserver7::PrintERS7Sensor().

const int ACC_Z = 2
 

Definition at line 26 of file SensorObserver.h.

Referenced by SensorObserver::PrintCommonSensor(), and SensorObserver7::PrintERS7Sensor().

const int BACK_SW = 26
 

Definition at line 50 of file SensorObserver.h.

Referenced by SensorObserver::PrintCommonSensor().

const char* const COMMON_SENSOR_LOCATOR[] [static]
 

Definition at line 61 of file SensorObserver.h.

const char* const ERS210_SENSOR_LOCATOR[] [static]
 

Initial value:

 {
    
    "PRM:/r1/c1/c2/c3/c4-Joint2:j4",    
    
    
    "PRM:/r6/c1-Joint2:j1",             
    "PRM:/r6/c2-Joint2:j2"              
}

Definition at line 105 of file SensorObserver.h.

const char* const ERS220_SENSOR_LOCATOR[] [static]
 

Initial value:

 {
    
    "PRM:/r6/s2-Sensor:s2",             
    "PRM:/r6/s3-Sensor:s3",             
    "PRM:/r6/s4-Sensor:s4"              
}

Definition at line 114 of file SensorObserver.h.

const int HEAD_PAN = 8
 

Definition at line 32 of file SensorObserver.h.

const int HEAD_ROLL = 9
 

Definition at line 33 of file SensorObserver.h.

const int HEAD_TILT = 7
 

Definition at line 31 of file SensorObserver.h.

const int LFLEG_J1 = 14
 

Definition at line 38 of file SensorObserver.h.

const int LFLEG_J2 = 15
 

Definition at line 39 of file SensorObserver.h.

const int LFLEG_J3 = 16
 

Definition at line 40 of file SensorObserver.h.

const int LFLEG_SW = 17
 

Definition at line 41 of file SensorObserver.h.

Referenced by SensorObserver::PrintCommonSensor(), and SensorObserver7::PrintERS7Sensor().

const int LRLEG_J1 = 22
 

Definition at line 46 of file SensorObserver.h.

const int LRLEG_J2 = 23
 

Definition at line 47 of file SensorObserver.h.

const int LRLEG_J3 = 24
 

Definition at line 48 of file SensorObserver.h.

const int LRLEG_SW = 25
 

Definition at line 49 of file SensorObserver.h.

Referenced by SensorObserver::PrintCommonSensor(), and SensorObserver7::PrintERS7Sensor().

const int MOUTH = 0
 

Definition at line 53 of file SensorObserver.h.

const int NUM_COMMON_SENSORS = 28
 

Definition at line 20 of file SensorObserver.h.

const int NUM_ERS210_SENSORS = 3
 

Definition at line 21 of file SensorObserver.h.

const int NUM_ERS220_SENSORS = 3
 

Definition at line 22 of file SensorObserver.h.

const int PSD = 6
 

Definition at line 30 of file SensorObserver.h.

Referenced by SensorObserver::PrintCommonSensor().

const int RFLEG_J1 = 10
 

Definition at line 34 of file SensorObserver.h.

const int RFLEG_J2 = 11
 

Definition at line 35 of file SensorObserver.h.

const int RFLEG_J3 = 12
 

Definition at line 36 of file SensorObserver.h.

const int RFLEG_SW = 13
 

Definition at line 37 of file SensorObserver.h.

Referenced by SensorObserver::PrintCommonSensor(), and SensorObserver7::PrintERS7Sensor().

const int RRLEG_J1 = 18
 

Definition at line 42 of file SensorObserver.h.

const int RRLEG_J2 = 19
 

Definition at line 43 of file SensorObserver.h.

const int RRLEG_J3 = 20
 

Definition at line 44 of file SensorObserver.h.

const int RRLEG_SW = 21
 

Definition at line 45 of file SensorObserver.h.

Referenced by SensorObserver::PrintCommonSensor(), and SensorObserver7::PrintERS7Sensor().

const int TACT_F = 4
 

Definition at line 28 of file SensorObserver.h.

Referenced by SensorObserver::PrintCommonSensor().

const int TACT_R = 3
 

Definition at line 27 of file SensorObserver.h.

Referenced by SensorObserver::PrintCommonSensor().

const int TAIL_PAN = 1
 

Definition at line 54 of file SensorObserver.h.

const int TAIL_SW_L = 0
 

Definition at line 57 of file SensorObserver.h.

Referenced by SensorObserver::PrintERS220Sensor().

const int TAIL_SW_M = 1
 

Definition at line 58 of file SensorObserver.h.

Referenced by SensorObserver::PrintERS220Sensor().

const int TAIL_SW_R = 2
 

Definition at line 59 of file SensorObserver.h.

Referenced by SensorObserver::PrintERS220Sensor().

const int TAIL_TILT = 2
 

Definition at line 55 of file SensorObserver.h.

const int THERMO = 27
 

Definition at line 51 of file SensorObserver.h.

Referenced by SensorObserver::PrintCommonSensor().

const int TIN_SW = 5
 

Definition at line 29 of file SensorObserver.h.

Referenced by SensorObserver::PrintCommonSensor().


Generated on Sun Dec 2 23:04:32 2007 for openSDK by  doxygen 1.3.9.1