|
mapmergeformultirobotmapping-ros2 repositoryros2 merge-maps ros2-humble ros2-merge-mapping ros2-mapping |
No version for distro humble. Known supported distros are highlighted in the buttons above.
|
mapmergeformultirobotmapping-ros2 repositoryros2 merge-maps ros2-humble ros2-merge-mapping ros2-mapping |
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
|
mapmergeformultirobotmapping-ros2 repositoryros2 merge-maps ros2-humble ros2-merge-mapping ros2-mapping |
No version for distro kilted. Known supported distros are highlighted in the buttons above.
|
mapmergeformultirobotmapping-ros2 repositoryros2 merge-maps ros2-humble ros2-merge-mapping ros2-mapping |
No version for distro rolling. Known supported distros are highlighted in the buttons above.
|
mapmergeformultirobotmapping-ros2 repositoryros2 merge-maps ros2-humble ros2-merge-mapping ros2-mapping merge_map |
Repository Summary
| Description | This ROS2 node subscribes to two different map messages, merges them, and publishes the merged map to the /merge_map topic. |
| Checkout URI | https://github.com/abdulkadrtr/mapmergeformultirobotmapping-ros2.git |
| VCS Type | git |
| VCS Version | main |
| Last Updated | 2023-04-14 |
| Dev Status | UNKNOWN |
| Released | UNRELEASED |
| Tags | ros2 merge-maps ros2-humble ros2-merge-mapping ros2-mapping |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Packages
| Name | Version |
|---|---|
| merge_map | 0.0.0 |
README
mapMergeForMultiRobotMapping-ROS2
This ROS2 node subscribes to two different map messages, merges them, and publishes the merged map to the /merge_map topic.
How does it work
The Merge Map ROS2 package is designed to merge map messages from /map1 and /map2 topics, and publish the merged map to the /merge_map topic. To use this package, follow the instructions below:
- Copy the
merge_mapfolder to thesrcdirectory of your ROS2 workspace. - Run the following command:
ros2 launch merge_map merge_map_launch.pyThis command starts the map merging node and opens an RViz2 window. - In the RViz2 window, you can observe the merged map. Whenever one of the maps being merged is updated, the
merge_mapnode will also update the merged map accordingly.
Make sure to have ROS2 installed and properly configured in your environment before using this package. For more information, please refer to the ROS2 documentation.
launch.py customization
The Merge Map ROS2 package can be customized and launched in your own launch.py file by adding the following code block. You can update /yourMapName1 and /yourMapName2 topics according to your project:
Node(
package='merge_map',
executable='merge_map',
output='screen',
parameters=[{'use_sim_time': True}],
remappings=[
("/map1", "/yourMapName1"),
("/map2", "/yourMapName2"),
],
),
Example

CONTRIBUTING
|
mapmergeformultirobotmapping-ros2 repositoryros2 merge-maps ros2-humble ros2-merge-mapping ros2-mapping |
No version for distro galactic. Known supported distros are highlighted in the buttons above.
|
mapmergeformultirobotmapping-ros2 repositoryros2 merge-maps ros2-humble ros2-merge-mapping ros2-mapping |
No version for distro iron. Known supported distros are highlighted in the buttons above.
|
mapmergeformultirobotmapping-ros2 repositoryros2 merge-maps ros2-humble ros2-merge-mapping ros2-mapping |
No version for distro melodic. Known supported distros are highlighted in the buttons above.
|
mapmergeformultirobotmapping-ros2 repositoryros2 merge-maps ros2-humble ros2-merge-mapping ros2-mapping |
No version for distro noetic. Known supported distros are highlighted in the buttons above.