Public Member Functions | |
| GimbalsHandController (Puck *p6, Puck *p7) | |
| ~GimbalsHandController () | |
| void | update () |
| bool | getThumbOpen () const |
| bool | getThumbClose () const |
| bool | getPointerOpen () const |
| bool | getPointerClose () const |
| bool | getMiddleOpen () const |
| bool | getMiddleClose () const |
| bool | getRockerUp () const |
| bool | getRockerDown () const |
| double | getKnob () const |
| void | setKnob (double value) |
Protected Attributes | |
| Puck & | p6 |
| Puck & | p7 |
| enum Puck::Property ana0 | ana1 |
| bool | thumbOpen |
| bool | thumbClose |
| bool | pointerOpen |
| bool | pointerClose |
| bool | middleOpen |
| bool | middleClose |
| bool | rockerUp |
| bool | rockerDown |
| int | knob |
| bool | usingBrown |
| int | brown_1 |
| int | dGreen_1 |
Static Protected Attributes | |
| static const int | SWITCH_THRESH1 = 1000 |
| static const int | SWITCH_THRESH2 = 2450 |
| static const int | KNOB_MIN_VALID = 500 |
| static const int | KNOB_MAX_VALID = 2800 |
| static const double | COUNTS_PER_RAD = 4096.0 / (2*M_PI) |
| barrett::GimbalsHandController::GimbalsHandController | ( | Puck * | _p6, |
| Puck * | _p7 | ||
| ) |
GimbalsHandController Constructor
GimbalsHandController Constructor Elements
GimbalsHandController Destructor
| double barrett::GimbalsHandController::getKnob | ( | ) | const [inline] |
getKnob Method returns the current value of the knob position
| bool barrett::GimbalsHandController::getMiddleClose | ( | ) | const [inline] |
getMiddleClose Method tells whether or not the middle is closed currently
| bool barrett::GimbalsHandController::getMiddleOpen | ( | ) | const [inline] |
getMiddleOpen method tells whether or not the middle is open currently
| bool barrett::GimbalsHandController::getPointerClose | ( | ) | const [inline] |
getPointerClose Method tells whether or not the pointer is closed currently
| bool barrett::GimbalsHandController::getPointerOpen | ( | ) | const [inline] |
getPointerOpen Method tells whether or not the pointer is open currently
| bool barrett::GimbalsHandController::getRockerDown | ( | ) | const [inline] |
getRockerDown Method tells whether or not the rocker is down currently
| bool barrett::GimbalsHandController::getRockerUp | ( | ) | const [inline] |
getRockerUp Method tells whether or not the rocker is up currently
| bool barrett::GimbalsHandController::getThumbClose | ( | ) | const [inline] |
getThumbClose Method tells whether or not the thumb is closed currently
| bool barrett::GimbalsHandController::getThumbOpen | ( | ) | const [inline] |
getThumbOpen Method tells whether or not the thumb is open currently
| void barrett::GimbalsHandController::setKnob | ( | double | value | ) | [inline] |
setKnob Method changes the current knob value to desired value
update Method gets the latest status of the pointer, thumb, rocker, middle fingers
1.7.6.1