Open kokkalisko opened 3 years ago
PRs are appreciated, but yes, rviz and slam toolbox manual offline tooling are expected to be setup at the same time. These are not online tools meant to be stable during fault tolerant situations.
@SteveMacenski Ok I may create a PR for this since I am working on it already. However, I wanted to use these map merging RViz feature to understand the process of map merging during online. I doubt that it exists, but any examples or pieces of code from other repositories (or any help in general) on the map merging process would help me understand and offer a fix also to this issue.
OK, sounds good, I'd appreciate that! I'd make sure to put in alot of logging to see what's going on where and resolve based on that. GDB is the better bet, but recompiling rviz with GDB sounds like a pain in the butt, but it probably the more "right" solution (though I'd try lots of logging first for my own sanity).
Required Info:
Steps to reproduce issue
Load robot, open RViz2 and run
slam_toolbox
in localization or SLAM modes. Runmerge_maps_kinematic
node in another terminal and addSlamToolboxPlugin
panel.Expected behavior
Add a submap given its filename and/or merge the submaps using RViz.
Actual behavior
RViz2 crashes as soon as the panel is open (when
merge_maps_kinematic
node is already) open.Additional information
It can be seen in the source code that the plugin calls non-existing services for map merging i.e.
/map_merging/add_submap
and/map_merging/merge_submaps
.Warning messages when
merge_maps_kinematic
is initially opened: