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

ROS melodic does it support Turtlebot2 ?

asked 2018-06-19 18:41:10 -0500

Younès gravatar image

updated 2018-06-19 18:41:31 -0500

I installed Ubuntu 18.04 on my machine, and ROS melodic as well. How could I install the packages of Turtlebot 2 ?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2021-03-15 13:07:00 -0500

KroNton gravatar image

updated 2021-05-31 16:15:30 -0500

you can install turtlebot2 for melodic using this distribution in the following video it especially solves this problem:solution vedio

or for short answer:


$ curl -sLf | bash

install dep:

sudo apt-get install ros-melodic-move-base*
sudo apt-get install ros-melodic-map-server*
sudo apt-get install ros-melodic-amcl*
sudo apt-get install ros-melodic-navigation*
edit flag offensive delete link more


Please don't post link-only answers as they're discouraged (the link can and does go down/disappear). This also seems like more of an advertisement than something that's intended to be helpful for the community

jayess gravatar image jayess  ( 2021-03-15 22:08:09 -0500 )edit

answered 2018-06-19 18:51:34 -0500

tfoote gravatar image

updated 2018-06-19 18:52:17 -0500

The turtlebot packages to support the TurtleBot2 have not yet been released into Melodic. Since melodic is an LTS release we expect to release the turtlebot packages there, but we have not finished testing as well as verifying that ll the dependencies are already ready. Look for an announcement in the TurtleBot Discourse Category

edit flag offensive delete link more


What should I do for running ROS on Turtlebot2 in my machine under Ubuntu 18.04? thanks

Younès gravatar image Younès  ( 2018-06-20 09:42:57 -0500 )edit

If you want to use 18.04 in the mean time before things are released you can always build it from source. There have not been many changes recently so likely it will just work out of the box. I'd suggest installing the core from debian packages and putting the turtlebot packages into a workspace.

tfoote gravatar image tfoote  ( 2018-06-20 12:42:21 -0500 )edit

Where could I find the turtlebot packages ? How to install them ?

Younès gravatar image Younès  ( 2018-06-21 17:26:25 -0500 )edit

There's a landing page for the TurtleBots here: which can hopefully get you started.

tfoote gravatar image tfoote  ( 2018-06-21 17:57:25 -0500 )edit

Thanks for this question, would also like to run full TurtleBot2 stack in melodic on Ubuntu 18.04. Managed to actually build all of that and while waiting for the TB2 to arrive, want to work with simulator. Very close, but depthimage_to_laserscan nodelet is somehow broken.

x75 gravatar image x75  ( 2018-07-16 08:12:13 -0500 )edit

For the build this worked

$ cd ws-melodic
$ wstool init src
$ wstool merge -t src
$ catkin_make
x75 gravatar image x75  ( 2018-07-16 08:14:51 -0500 )edit


$ roslaunch turtlebot_gazebo turtlebot_world.launch

almost works but getting

[ERROR] [1531744943.775336027, 0.200000000]: Failed to load nodelet [/depthimage_to_laserscan]

Seems that this nodelet is obsolete, superceded by other mechanism e.g. pointcloud-to-laserscan. Help apprec

x75 gravatar image x75  ( 2018-07-16 08:21:11 -0500 )edit

Update, got depthimage_to_laserscan to build checking out mikaelarguedas-patch-1 branch. Still, keyboard_teleop does not work, probing.

x75 gravatar image x75  ( 2018-07-16 08:46:48 -0500 )edit

Question Tools



Asked: 2018-06-19 18:41:10 -0500

Seen: 10,315 times

Last updated: May 31 '21