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

Transform between two occupancy grids

asked 2016-01-14 00:37:51 -0600

quentin gravatar image


Is there a node available that subscribes to 2 occupancy grids (one is static the other one is created by hector_mapping), aligns them and publishes a transform between the two? I tried with mapstitch but the lack of information makes it complicated...

Why do I want that? I am flying in a partially known environment. Therefore, a static map is used by move_base to compute a global path. In the meantime, I am creating a map with hector_mapping in order to compare it to the static map at the end of the process. Without any link between the two, the drifting between the maps prevent me from navigating after a while.

Thanks for your help

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-01-14 02:57:28 -0600

We've made some changes to mapstitch and used it quite successfully at RoboCup 2015 for online stitching of maps between two robots and creating merged maps. The version we used is in the hector_mapstitch branch.

edit flag offensive delete link more

answered 2016-01-14 20:03:59 -0600

quentin gravatar image

Thank you for your answer! As I am quite new to C++ programming, is there a way I can run mapstitch via a launch file?

Just to be sure, mapstitch will publish a merged occupancy grid to a new topic but it won't publish a transform to tf between the two aligned grids. Is that correct?

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-01-14 00:37:51 -0600

Seen: 946 times

Last updated: Jan 14 '16