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

SLAM for octomap mapping

asked 2015-09-22 22:56:40 -0500

boon gravatar image

I am trying to build a 3D map with hector_quadrotor using octomap_mapping. Should I be running a SLAM in the background like the hector_slam to generate a octomap?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-09-23 01:44:55 -0500

Yes, octomap is purely a mapping approach, so the robot has to be localized via some other approach. Of course, the quality of your octomap is directly coupled to the performance of the used SLAM approach.

In this video we use hector_mapping for localization (and 2D mapping) using a Hokuyo UTM-30LX LIDAR. Simultaneously, a octomap is generated via a Asus Xtion Pro Live sensor mounted on the robot (the colored points visible in rviz show the octomap).

edit flag offensive delete link more


I am just simulating as I run the indoor_ slam_gazebo available with hector_quadrotor_`demo package by adding a kinect sensor to the quadrotor for localization .Now will running a octomap_server, like,

'rosrun octomap_server octomap_server_node'

generate the octomap? should rtabmap be used too?

boon gravatar image boon  ( 2015-09-24 06:57:41 -0500 )edit

hi stefan, as you have mentioned that you used hokuyo lidar to 2D map the environment using the hector_slam algorithm and then you have generated the octomap, my question is how have you combined the both results as shown in the video

hashim gravatar image hashim  ( 2016-01-13 02:10:22 -0500 )edit

I believe the way it works is that hector_mapping provides the transform between the /map and /odom frames, which then link all of the other parts. Octomap builds the map based on the /map frame, so as long as the transforms are right the 3D map should be built on the 2D occupancy grid.

Icehawk101 gravatar image Icehawk101  ( 2016-03-24 10:33:37 -0500 )edit

Question Tools



Asked: 2015-09-22 22:56:40 -0500

Seen: 1,517 times

Last updated: Sep 23 '15