Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
nextage_ros_bridge.command.airhand_command.AirhandCommand Class Reference
Inheritance diagram for nextage_ros_bridge.command.airhand_command.AirhandCommand:
Inheritance graph
[legend]

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
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Member Function Documentation

def nextage_ros_bridge.command.airhand_command.AirhandCommand._assign_dio_names (   self,
  dio_pins 
)
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.

Member Data Documentation

nextage_ros_bridge.command.airhand_command.AirhandCommand._DIO_SUCTION_L_1
private

Definition at line 100 of file airhand_command.py.

nextage_ros_bridge.command.airhand_command.AirhandCommand._DIO_SUCTION_L_2
private

Definition at line 101 of file airhand_command.py.

nextage_ros_bridge.command.airhand_command.AirhandCommand._DIO_SUCTION_R_1
private

Definition at line 102 of file airhand_command.py.

nextage_ros_bridge.command.airhand_command.AirhandCommand._DIO_SUCTION_R_2
private

Definition at line 103 of file airhand_command.py.

nextage_ros_bridge.command.airhand_command.AirhandCommand._SLEEP_POST_RELEASE
private

Definition at line 93 of file airhand_command.py.

string nextage_ros_bridge.command.airhand_command.AirhandCommand.AIRHAND_DANGER = 'danger'
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.

string nextage_ros_bridge.command.airhand_command.AirhandCommand.AIRHAND_DRAWIN = 'drawin'
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.

string nextage_ros_bridge.command.airhand_command.AirhandCommand.AIRHAND_KEEP = 'keep'
static

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.

string nextage_ros_bridge.command.airhand_command.AirhandCommand.AIRHAND_RELEASE = 'release'
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.


The documentation for this class was generated from the following file:


nextage_ros_bridge
Author(s): Isaac Isao Saito , Akio Ochiai
autogenerated on Wed Jun 17 2020 04:14:47