Go to the documentation of this file.00001 from Pr2JointTrajectoryAction import Pr2JointTrajectoryAction
00002
00003 class Pr2MoveHeadAction(Pr2JointTrajectoryAction):
00004
00005 def __init__(self):
00006 super(Pr2MoveHeadAction, self).__init__('head_traj_controller/joint_trajectory_action')
00007 self._add_joint('head_pan_joint', -160, 160, 1)
00008 self._add_joint('head_tilt_joint', -30, 90, 1)
00009
00010 def to_string(self):
00011 str = super(Pr2MoveHeadAction, self).to_string()
00012 return 'head(%s)' % str