LMasterRSlave.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  LMasterRSlave

Enumerations

enum  LMasterRSlaveState {
  LMRS_IDLE, LMRS_START, LMRS_ADJUSTING_DIFF_JOINT_VALUE, LMRS_MOVING_TO_BROADBASE,
  LMRS_MOVING_TO_SLEEPING, LMRS_MASTER_SLAVE
}
enum  MovingResult { MOVING_CONT, MOVING_FINISH }

Variables

const int HEAD_TILT = 0
const int HEAD_PAN = 1
const int HEAD_ROLL = 2
const int RFLEG_J1 = 3
const int RFLEG_J2 = 4
const int RFLEG_J3 = 5
const int LFLEG_J1 = 6
const int LFLEG_J2 = 7
const int LFLEG_J3 = 8
const int RRLEG_J1 = 9
const int RRLEG_J2 = 10
const int RRLEG_J3 = 11
const int LRLEG_J1 = 12
const int LRLEG_J2 = 13
const int LRLEG_J3 = 14
const int NUM_JOINTS = 15
const char *const JOINT_LOCATOR []
const double BROADBASE_ANGLE []
const double SLEEPING_ANGLE []


Enumeration Type Documentation

enum LMasterRSlaveState
 

Enumeration values:
LMRS_IDLE 
LMRS_START 
LMRS_ADJUSTING_DIFF_JOINT_VALUE 
LMRS_MOVING_TO_BROADBASE 
LMRS_MOVING_TO_SLEEPING 
LMRS_MASTER_SLAVE 

Definition at line 20 of file LMasterRSlave.h.

enum MovingResult
 

Enumeration values:
MOVING_CONT 
MOVING_FINISH 

Definition at line 29 of file LMasterRSlave.h.


Variable Documentation

const double BROADBASE_ANGLE[]
 

Initial value:

 {
    45,   
    0,    
    0,    

    117,  
    90,   
    30,   

    117,  
    90,   
    30,   
    
    -117, 
    70,   
    30,   

    -117, 
    70,   
    30    
}

Definition at line 73 of file LMasterRSlave.h.

const int HEAD_PAN = 1
 

Definition at line 35 of file LMasterRSlave.h.

const int HEAD_ROLL = 2
 

Definition at line 36 of file LMasterRSlave.h.

const int HEAD_TILT = 0
 

Definition at line 34 of file LMasterRSlave.h.

const char* const JOINT_LOCATOR[] [static]
 

Initial value:

 {
    "PRM:/r1/c1-Joint2:j1",       
    "PRM:/r1/c1/c2-Joint2:j2",    
    "PRM:/r1/c1/c2/c3-Joint2:j3", 

    "PRM:/r4/c1-Joint2:j1",       
    "PRM:/r4/c1/c2-Joint2:j2",    
    "PRM:/r4/c1/c2/c3-Joint2:j3", 

    "PRM:/r2/c1-Joint2:j1",       
    "PRM:/r2/c1/c2-Joint2:j2",    
    "PRM:/r2/c1/c2/c3-Joint2:j3", 

    "PRM:/r5/c1-Joint2:j1",       
    "PRM:/r5/c1/c2-Joint2:j2",    
    "PRM:/r5/c1/c2/c3-Joint2:j3", 

    "PRM:/r3/c1-Joint2:j1",       
    "PRM:/r3/c1/c2-Joint2:j2",    
    "PRM:/r3/c1/c2/c3-Joint2:j3"  
}

Definition at line 51 of file LMasterRSlave.h.

const int LFLEG_J1 = 6
 

Definition at line 40 of file LMasterRSlave.h.

const int LFLEG_J2 = 7
 

Definition at line 41 of file LMasterRSlave.h.

const int LFLEG_J3 = 8
 

Definition at line 42 of file LMasterRSlave.h.

const int LRLEG_J1 = 12
 

Definition at line 46 of file LMasterRSlave.h.

const int LRLEG_J2 = 13
 

Definition at line 47 of file LMasterRSlave.h.

const int LRLEG_J3 = 14
 

Definition at line 48 of file LMasterRSlave.h.

const int NUM_JOINTS = 15
 

Definition at line 49 of file LMasterRSlave.h.

Referenced by PIDControl7::AdjustDiffJointValue(), PIDControl7::NewCommandVectorData(), and LMasterRSlave7::NewCommandVectorData().

const int RFLEG_J1 = 3
 

Definition at line 37 of file LMasterRSlave.h.

const int RFLEG_J2 = 4
 

Definition at line 38 of file LMasterRSlave.h.

const int RFLEG_J3 = 5
 

Definition at line 39 of file LMasterRSlave.h.

const int RRLEG_J1 = 9
 

Definition at line 43 of file LMasterRSlave.h.

const int RRLEG_J2 = 10
 

Definition at line 44 of file LMasterRSlave.h.

const int RRLEG_J3 = 11
 

Definition at line 45 of file LMasterRSlave.h.

const double SLEEPING_ANGLE[]
 

Initial value:

 {
    -10,  
    0,    
    0,    

    60,   
    0,    
    30,   

    60,   
    0,    
    30,   

    -117, 
    0,    
    147,  

    -117, 
    0,    
    147   
}

Definition at line 95 of file LMasterRSlave.h.


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