From: <mm...@us...> - 2008-10-31 23:17:31
|
Revision: 6128 http://personalrobots.svn.sourceforge.net/personalrobots/?rev=6128&view=rev Author: mmwise Date: 2008-10-31 23:17:28 +0000 (Fri, 31 Oct 2008) Log Message: ----------- fixed it to reflect changes in msg Modified Paths: -------------- pkg/trunk/controllers/pr2_mechanism_controllers/scripts/pointhead.py Modified: pkg/trunk/controllers/pr2_mechanism_controllers/scripts/pointhead.py =================================================================== --- pkg/trunk/controllers/pr2_mechanism_controllers/scripts/pointhead.py 2008-10-31 23:06:02 UTC (rev 6127) +++ pkg/trunk/controllers/pr2_mechanism_controllers/scripts/pointhead.py 2008-10-31 23:17:28 UTC (rev 6128) @@ -47,7 +47,7 @@ head_angles = rospy.Publisher('head_controller/set_command_array', JointCmd) rospy.init_node('head_commander', anonymous=True) sleep(1) - head_angles.publish(JointCmd([pan, tilt],[0.0, 0.0],[0.0, 0.0],['head_pan_joint', 'head_tilt_joint'])) + head_angles.publish(JointCmd(['head_pan_joint', 'head_tilt_joint'],[0.0,0.0],[pan, tilt],[0.0, 0.0],[0.0, 0.0])) def point_head_cart_client(x,y,z,frame): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |