untuck_arms Namespace Reference

Functions

def go
def shutdown
def start_controller

Variables

tuple list_controller = rospy.ServiceProxy('pr2_controller_manager/list_controllers', ListControllers)
tuple list_resp = list_controller()
string name_left = 'l_arm_controller'
string name_right = 'r_arm_controller'
list positions
list positions_l
list positions_r
 prev_handler = None
tuple pub_left = rospy.Publisher('%s/command'%name_left, JointTrajectory, latch=True)
tuple pub_right = rospy.Publisher('%s/command'%name_right, JointTrajectory, latch=True)
tuple resp = SwitchControllerResponse()
list side = sys.argv[1]
string state_left = "undefined"
string state_right = "undefined"
list stop_list = []
tuple switch_controller = rospy.ServiceProxy('pr2_controller_manager/switch_controller', SwitchController)
string USAGE = 'tuckarm.py <arms> ; <arms> is \'(r)ight\', \'(l)eft\', or \'(b)oth\' arms'

Function Documentation

def untuck_arms::go (   side,
  positions 
)

Definition at line 90 of file untuck_arms.py.

def untuck_arms::shutdown (   sig,
  stackframe 
)

Definition at line 61 of file untuck_arms.py.

def untuck_arms::start_controller (   name  ) 

Definition at line 70 of file untuck_arms.py.


Variable Documentation

tuple untuck_arms::list_controller = rospy.ServiceProxy('pr2_controller_manager/list_controllers', ListControllers)

Definition at line 123 of file untuck_arms.py.

Definition at line 135 of file untuck_arms.py.

string untuck_arms::name_left = 'l_arm_controller'

Definition at line 51 of file untuck_arms.py.

string untuck_arms::name_right = 'r_arm_controller'

Definition at line 50 of file untuck_arms.py.

Initial value:
[[3.0, 0.4,0.0,0.0,-2.25,0.0,0.0,0.0],
                 [5.8, -0.05,1.31,1.38,-2.06,1.69,-2.02,2.44]]

Definition at line 146 of file untuck_arms.py.

Initial value:
[[3.0, 0.4,0.0,0.0,-2.25,0.0,0.0,0.0],
                   [3.8, 0.4,0.0,0.0,-2.25,0.0,0.0,0.0],
                   [3.8, 0.4,0.0,0.0,-2.25,0.0,0.0,0.0]]

Definition at line 167 of file untuck_arms.py.

Initial value:
[[3.0, -0.4,0.0,0.0,-2.25,0.0,0.0,0.0],
                   [3.0, -0.4,0.0,0.0,-2.25,0.0,0.0,0.0]]

Definition at line 165 of file untuck_arms.py.

Definition at line 57 of file untuck_arms.py.

tuple untuck_arms::pub_left = rospy.Publisher('%s/command'%name_left, JointTrajectory, latch=True)

Definition at line 53 of file untuck_arms.py.

tuple untuck_arms::pub_right = rospy.Publisher('%s/command'%name_right, JointTrajectory, latch=True)

Definition at line 52 of file untuck_arms.py.

tuple untuck_arms::resp = SwitchControllerResponse()

Definition at line 58 of file untuck_arms.py.

list untuck_arms::side = sys.argv[1]

Definition at line 118 of file untuck_arms.py.

untuck_arms::state_left = "undefined"

Definition at line 133 of file untuck_arms.py.

untuck_arms::state_right = "undefined"

Definition at line 134 of file untuck_arms.py.

Definition at line 59 of file untuck_arms.py.

tuple untuck_arms::switch_controller = rospy.ServiceProxy('pr2_controller_manager/switch_controller', SwitchController)

Definition at line 124 of file untuck_arms.py.

string untuck_arms::USAGE = 'tuckarm.py <arms> ; <arms> is \'(r)ight\', \'(l)eft\', or \'(b)oth\' arms'

Definition at line 55 of file untuck_arms.py.

 All Classes Namespaces Files Functions Variables Typedefs


pr2_gazebo_wg
Author(s): John Hsu
autogenerated on Wed Aug 17 09:38:26 2011