ROS Kinetic: Turtle won't move using arrow keys

asked 2018-06-04 04:31:38 -0500

WaliD gravatar image

Hello guys,

I am a beginner in ROS kinetic.

my problem is: turtle won't move using arrow keys, do you guys have any idea to solve this problem:.?

roscore and turtlesim work vey well.

edit retag flag offensive close merge delete


Could you please describe which nodes you are starting up?

nathan gravatar imagenathan ( 2018-06-04 07:50:35 -0500 )edit

I was following the tutorial on turtlesim in, the steps 1 and 2 work fine, but when I execute the command of the step 3 and i start to use the arrow keys, it didn't move the turtle

WaliD gravatar imageWaliD ( 2018-06-04 08:13:02 -0500 )edit

What happens when you run rqt_graph in another terminal? It should look like this:

(node) /teleop_turtle -> (topic) /turtle1/cmd_vel -> (node) /turtlesim

nathan gravatar imagenathan ( 2018-06-04 08:17:03 -0500 )edit

By the way: you must have the terminal selected (as though you can type in it) when pressing the arrow keys.

nathan gravatar imagenathan ( 2018-06-04 08:18:17 -0500 )edit

Great, it works, but I have removed all ROS files, and reinstalled them, it was because of other problems during the installation that I haven't noticed during the process. Thanks a lot :)

WaliD gravatar imageWaliD ( 2018-06-04 09:37:25 -0500 )edit