Go to the documentation of this file.00001 from Pr2JointTrajectoryAction import Pr2JointTrajectoryAction
00002
00003 class Pr2MoveRightArmAction(Pr2JointTrajectoryAction):
00004
00005 def __init__(self):
00006 super(Pr2MoveRightArmAction, self).__init__('r_arm_controller/joint_trajectory_action')
00007 self._add_joint('r_shoulder_pan_joint', -130, 0, 1)
00008 self._add_joint('r_shoulder_lift_joint', -30, 80, 1)
00009 self._add_joint('r_upper_arm_roll_joint', -224, 44, 1)
00010 self._add_joint('r_elbow_flex_joint', -130, 0, 1)
00011 self._add_joint('r_forearm_roll_joint', -180, 180, 1)
00012 self._add_joint('r_wrist_flex_joint', -130, 0, 1)
00013 self._add_joint('r_wrist_roll_joint', -180, 180, 1)
00014
00015 def to_string(self):
00016 str = super(Pr2MoveRightArmAction, self).to_string()
00017 return 'rarm(%s)' % str