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

struct  PIDControlInfo
class  PIDControl

Enumerations

enum  PIDControlState {
  PCS_IDLE, PCS_START, PCS_ADJUSTING_DIFF_JOINT_VALUE, PCS_MOVING_TO_BROADBASE,
  PCS_MOVING_TO_SLEEPING, PCS_DISABLE_JOINT_GAIN, PCS_INPUT_PARAMETER, PCS_STEP_INPUT
}
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 MovingResult
 

Enumeration values:
MOVING_CONT 
MOVING_FINISH 

Definition at line 31 of file PIDControl.h.

enum PIDControlState
 

Enumeration values:
PCS_IDLE 
PCS_START 
PCS_ADJUSTING_DIFF_JOINT_VALUE 
PCS_MOVING_TO_BROADBASE 
PCS_MOVING_TO_SLEEPING 
PCS_DISABLE_JOINT_GAIN 
PCS_INPUT_PARAMETER 
PCS_STEP_INPUT 

Definition at line 20 of file PIDControl.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 75 of file PIDControl.h.

const int HEAD_PAN = 1
 

Definition at line 37 of file PIDControl.h.

const int HEAD_ROLL = 2
 

Definition at line 38 of file PIDControl.h.

const int HEAD_TILT = 0
 

Definition at line 36 of file PIDControl.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 53 of file PIDControl.h.

const int LFLEG_J1 = 6
 

Definition at line 42 of file PIDControl.h.

const int LFLEG_J2 = 7
 

Definition at line 43 of file PIDControl.h.

const int LFLEG_J3 = 8
 

Definition at line 44 of file PIDControl.h.

const int LRLEG_J1 = 12
 

Definition at line 48 of file PIDControl.h.

const int LRLEG_J2 = 13
 

Definition at line 49 of file PIDControl.h.

const int LRLEG_J3 = 14
 

Definition at line 50 of file PIDControl.h.

const int NUM_JOINTS = 15
 

Definition at line 51 of file PIDControl.h.

const int RFLEG_J1 = 3
 

Definition at line 39 of file PIDControl.h.

const int RFLEG_J2 = 4
 

Definition at line 40 of file PIDControl.h.

const int RFLEG_J3 = 5
 

Definition at line 41 of file PIDControl.h.

const int RRLEG_J1 = 9
 

Definition at line 45 of file PIDControl.h.

const int RRLEG_J2 = 10
 

Definition at line 46 of file PIDControl.h.

const int RRLEG_J3 = 11
 

Definition at line 47 of file PIDControl.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 97 of file PIDControl.h.


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