Robotics StackExchange | Archived questions

ROS Kinetic: Turtle won't move using arrow keys

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.

Asked by WaliD on 2018-06-04 04:05:56 UTC

Comments

Could you please describe which nodes you are starting up?

Asked by nathan on 2018-06-04 07:50:35 UTC

I was following the tutorial on turtlesim in wiki.ros.org/ROS/Tutorials/UnderstandingTopics, 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

Asked by WaliD on 2018-06-04 08:13:02 UTC

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

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

Asked by nathan on 2018-06-04 08:17:03 UTC

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

Asked by nathan on 2018-06-04 08:18:17 UTC

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 :)

Asked by WaliD on 2018-06-04 09:37:25 UTC

Answers