Open HaowenLai opened 4 years ago
If you built octomap from source, uninstall the ros binary version.
$ sudo apt remove ros-kinetic-octomap
This may uninstall other packages depending on octomap. You will have to clone octomap_ros into your workspace to rebuild it with octomap 1.9.3.
On my computer I have octomap 1.9.0 built from source, so I rebuild also octomap_ros
and octomap_rviz_plugins
.
I tried vanilla rtabmap_ros with octomap binary version on kinetic, and I don't have problems with rtabmapviz.
Hi, I think an issue concerning package version has occured. I am using Ubuntu 16.04 LTS with ROS kinectic.
Previously I compiled rtab-map standalone with octomap 1.9.3, which performed well and octomap was able to be exported. However, for rtabmap_ros, rtabmaprviz got stuck and had no response as long as I turned on 3D occupancy grid(OctoMap)(if turned off it worked well). Although rtabmaprviz got stuck, topic /rtabmap/octomap_binary and /rtabmap/octomap_full still had output messages.
I thought it was a version conflict with octomap and octomap_msgs (installed by
sudo apt install ros-kinetic-octomap ros-kinetic-octomap-msgs
, with versions 1.8.1 and 0.3.3 respectively). So I compiled rtab-map standalone and rtabmap_ros again with octomap 1.8.1. But this time as soon as I started mapping with rtab-map standalone, segfault occured and program crashed immediately. The same result was for the "test odometry" in the preference menu. And when I started rtabmap_ros, an error was reported as follows:I need octomap from rtabmap_ros. I would appreciate it if I could get hints for this issue. Thanks.