Ask Your Question

Teleop control not working in Turtlebot Simulator package and Gazebo

asked 2013-08-26 20:57:17 -0500

Alkaros gravatar image

updated 2014-01-28 17:17:45 -0500

ngrennan gravatar image

currently following the tutorial @ http://

Everything else seems to work fine. The model loads into gazebo and the pointclooud image can be seen in Rviz. But I cannot control the turtlebot using the teleop keyboard configuration.

I'm using the newest Gazebo(1.9) and ros Hydro is installed.

If I try to use the $ roslaunch kobuki_keyop keyop.launch command it tells me Keyop can not connect. I'm not sure if they've started on different servers and are unable to communicate.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-08-27 14:15:15 -0500

jorge gravatar image

Assuming you are using Hydro sources, I commited a fix for the turtlebot teleop on monday, so a git pull on turtlebot_simulator should fix it.

Kobuki keyop also should work if you have all the latest code. The "could not connect" warning appears because before the enable/disable commands where not simulated on Gazebo, but they are now.

Please also ensure you use the latest Gazebo and SDF versions.

If you don't wont to mangle with code, all these changes will be released together with the official Hydro release.

edit flag offensive delete link more


No, don't wait! :-) Get the sources, test it and let us know what's not working. This will help us polishing the code for the release!

bit-pirate gravatar image bit-pirate  ( 2013-08-27 14:17:40 -0500 )edit

I'll definitely give it a go. How hard can it be, right? :)

Alkaros gravatar image Alkaros  ( 2013-08-27 16:02:59 -0500 )edit

answered 2013-08-27 07:15:42 -0500

SaiHV gravatar image

I have the same versions, and this command works for me. The kobuki keyop gives me the same error. Did you try this?

roslaunch turtlebot_teleop keyboard_teleop.launch

edit flag offensive delete link more


Also make sure that the window for the teleop command is selected when trying to control the robot, otherwise it won't get the key events.

tfoote gravatar image tfoote  ( 2013-08-27 09:43:20 -0500 )edit

Yes "roslaunch turtlebot_teleop keyboard_teleop.launch" is what I tried first and the terminal window was active.

Alkaros gravatar image Alkaros  ( 2013-08-27 16:03:40 -0500 )edit

@Alkaros, Are you correctly able to move the TurtleBot in the Gazebo environment? I have downloaded the code from [here]( But inside the code I have not find anything regarding the publishing or advertising into a topic. In gazebo can we construct a maze?

RB gravatar image RB  ( 2013-11-10 05:41:36 -0500 )edit

You'll also need to install ros-hydro-turtlebot-apps. You can see thee published topics using "rostopic list". Also for the maze.

Alkaros gravatar image Alkaros  ( 2013-11-10 11:02:04 -0500 )edit

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: 2013-08-26 20:57:17 -0500

Seen: 3,104 times

Last updated: Aug 27 '13