syntax error near unexpected token `'joint_states listener''
In this tutorial - http://wiki.ros.org/pr2_controllers/T...
I was trying to run the service node for getting the current joint angles but the screen shows the message stated below.-
~/groovy_workspace/sandbox/joint_states_listener$ rosrun joint_states_listener joint_states_listener.py
/home/roger/groovy_workspace/sandbox/joint_states_listener/nodes/joint_states_listener.py: line 6: syntax error near unexpected token `'joint_states_listener''
I am following the tutorial stepwise and havent missed any. Dont know what the problem is. Pls help.
I am using geoovy and ubuntu 12.04