Public Member Functions | |
def | __init__ (self, hands, hand, dio_pins) |
def | execute (self, operation) |
Public Attributes | |
AIRHAND_DRAWIN | |
AIRHAND_KEEP | |
AIRHAND_RELEASE | |
Static Public Attributes | |
string | AIRHAND_DANGER = 'danger' |
Might not be necessary. More... | |
string | AIRHAND_DRAWIN = 'drawin' |
string | AIRHAND_KEEP = 'keep' |
string | AIRHAND_RELEASE = 'release' |
Private Member Functions | |
def | _assign_dio_names (self, dio_pins) |
Private Attributes | |
_DIO_SUCTION_L_1 | |
_DIO_SUCTION_L_2 | |
_DIO_SUCTION_R_1 | |
_DIO_SUCTION_R_2 | |
_SLEEP_POST_RELEASE | |
dio_writer Following Command design pattern, this class represents command for an Airhand of NEXTAGE OPEN. As of 2/1/2014, it's only implemented for a right arm (since there's no testing environment for left arm).
Definition at line 65 of file airhand_command.py.
def nextage_ros_bridge.command.airhand_command.AirhandCommand.__init__ | ( | self, | |
hands, | |||
hand, | |||
dio_pins | |||
) |
@see nextage_ros_bridge.command.abs_hand_command.AbsractHandCommand @type hands: nextage_ros_bridge.base_hands.BaseHands @type hand: str @param hand: Side of hand. Variables that are defined in nextage_ros_bridge.base_hands.BaseHands can be used { HAND_L, HAND_R }.
Definition at line 84 of file airhand_command.py.
|
private |
@see abs_hand_command.AbsractHandCommand._assign_dio_names
Definition at line 95 of file airhand_command.py.
def nextage_ros_bridge.command.airhand_command.AirhandCommand.execute | ( | self, | |
operation | |||
) |
@see abs_hand_command.AbsractHandCommand.execute
Definition at line 105 of file airhand_command.py.
|
private |
Definition at line 100 of file airhand_command.py.
|
private |
Definition at line 101 of file airhand_command.py.
|
private |
Definition at line 102 of file airhand_command.py.
|
private |
Definition at line 103 of file airhand_command.py.
|
private |
Definition at line 93 of file airhand_command.py.
|
static |
Might not be necessary.
Maybe use only where you have to specify dangerous situation.AIRHAND_KEEP
Definition at line 82 of file airhand_command.py.
|
static |
Definition at line 76 of file airhand_command.py.
nextage_ros_bridge.command.airhand_command.AirhandCommand.AIRHAND_DRAWIN |
Definition at line 122 of file airhand_command.py.
Definition at line 77 of file airhand_command.py.
nextage_ros_bridge.command.airhand_command.AirhandCommand.AIRHAND_KEEP |
Definition at line 127 of file airhand_command.py.
|
static |
Definition at line 78 of file airhand_command.py.
nextage_ros_bridge.command.airhand_command.AirhandCommand.AIRHAND_RELEASE |
Definition at line 132 of file airhand_command.py.