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

melodic gmapping

asked 2018-07-04 01:07:13 -0500

Suzuki gravatar image

updated 2022-01-31 08:47:56 -0500

lucasw gravatar image

I installed melodic on Ubuntu 18.04.
This is the first time to use ROS for me.
I wished to do SLAM with slam_gmapping.

I am trying to build slam_gmapping since I could not find apt-get package "ros-melodic-slam-gmapping".
To build "ros-melodic-slam-gmapping", It is seems to necessary to prepare for "ros-melodic-openslam-gmapping".
But I could not find apt-get package "ros-melodic-openslam-gmapping".

I cloned the source-code of openslam_gmapping from the following.

Is this really a right(easiest) way to do SLAM?
Why couln't I find these packages in apt-get?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-04 02:43:57 -0500

mgruhler gravatar image

updated 2018-07-04 02:44:30 -0500

Currently, you have to build gmapping from source, as it is not release yet (see melodic release page).

This actually goes for a lot of packages, e.g. the ROS navigation is not yet released to melodic. For so long you have to clone from source.

Alternative would be to switch back to an older distro, e.g. ROS kinectic on Ubuntu 16.04 (also an LTS), until the releases you require have happened.

edit flag offensive delete link more


Thank you for answering. I misunderstood that melodic was released completely. Thank you.

Suzuki gravatar image Suzuki  ( 2018-07-04 02:48:33 -0500 )edit

the single packages in ROS can be release independently. Obviously, ros base has to be released first. This is the announcement that is on the homepage. Then, it is a trickle-down effect until all upstream repos are released, until a dependent repo can be released. Also many pkgs are community...

mgruhler gravatar image mgruhler  ( 2018-07-04 05:37:05 -0500 )edit

contributions. Thus, a "complete release" is basically not possible, or rather "undefined" :-)

mgruhler gravatar image mgruhler  ( 2018-07-04 05:37:34 -0500 )edit

Thank you for the detailed explanation!

Suzuki gravatar image Suzuki  ( 2018-07-04 17:45:11 -0500 )edit

Question Tools


Asked: 2018-07-04 01:07:13 -0500

Seen: 9,266 times

Last updated: Jul 04 '18