ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

ROS turtlesim - not responding to keyboard

asked 2012-10-17 16:17:21 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.


I just got started with ROS, and I bumped into the first wall when I was going through the tutorial in running turtlesim.

After I ran 'roscore', 'rosrun turtlesim turtlesim_node' and 'rosrun turtlesim turtle_teleop_key', it went through the settings fine. However, it is not responding to my keyboard control. I selected the terminal window of the turtle_teleop_key, but no luck.

While running them, I ran rxgraph to see the diagram, but it mentioned that the node communication failed, so I am predicting it's the problem with network setting, but I don't know how to fix it.

I would greatly appreciate for your help.

Thank you.

edit retag flag offensive close merge delete


Are you able to move it via manually publishing to the turtlesim_node?

Harsh2308 gravatar image Harsh2308  ( 2017-09-01 06:51:06 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2012-10-17 22:42:21 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

It's hard to help without further information. As a first step, have a look at the network setup page. rosnode info teleop_turtle might also provide some information.

edit flag offensive delete link more

answered 2017-10-03 00:04:14 -0500

wangzheqie gravatar image

current program

  • put your mouse cursor on the terminal (which make it the current program to accept keys), and try to move your turtle again.
  • The problem may because you put your turtlesim at the most front, but turtlesim is not the true one to accept keys.
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-10-17 16:17:21 -0500

Seen: 4,271 times

Last updated: Oct 17 '12