ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

syntax error near unexpected token `'joint_states listener''

asked 2014-04-10 15:20:19 -0600

Ros_newbie gravatar image

updated 2014-04-10 22:30:36 -0600

In this tutorial -

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
/home/roger/groovy_workspace/sandbox/joint_states_listener/nodes/ 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

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2014-04-11 06:58:44 -0600

ahendrix gravatar image

This sounds like you have a syntax error on line 6 in your python program.

Without seeing the source code, I can't say anything more than that.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-04-10 15:20:19 -0600

Seen: 275 times

Last updated: Apr 11 '14