-
Notifications
You must be signed in to change notification settings - Fork 545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rtabmapviz crashes: /usr/include/boost/smart_ptr/shared_ptr.hpp:646: typename #99
Comments
Hi Di, I cannot reproduce the error. Yes, the new commits include the octomap and other features: see release 0.11.8. Note that the octomap is not shown by default, it should be activated here: Decreasing the maximum tree depth (between 13 and 15) helps to increase visualization performance (less cubes drawn). Only level 16 has RGB colored cubes. The octomap will indeed clear dynamic obstacles in the 3D map, but doing so there is a little time overhead for 3D ray tracing when adding new data to octomap. Does your error easily reproducible on your system? cheers, |
Yeah, whenever I scroll in rtabmapviz, it crashes. Let me try change the parameters to see if it still happens |
Is it still crashing even if the octomap is not shown/checked? |
I am having problem to use "rtabmap" from command line. rtabmap: error while loading shared libraries: librtabmap_core.so.0.11: cannot open shared object file: No such file or directory How do I change the Octomap Parameter in launch file? |
Ohh, I fixed the ld libraires stuff, export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/x86_64-linux-gnu to fix the can't find library issue, maybe put this in README? |
I am using my old launch file. |
By default now (see this kinetic related issue), rtabmap library doesn't use anymore multi-arch install folders. Libraries are installed in On ROS, you should get the octomap on the referred published topics starting with The ROS parameters for the octomap (the one published by <node pkg="rtabmap_ros" type="rtabmap" name="rtabmap">
<param name="grid_cell_size" value="0.05"/>
<param name="octomap_ground_is_obstacle" value="false"/>
<param name="octomap_tree_depth" value="16"/>
...
</node> The octomap is not supposed to be shown by default. I fixed this bug. I tried on another computer, not still able to reproduce the boost shared point error when zooming in the 3D map... |
hey mathieu, Still having the same problem even if I canceled the octomap. Btw, the ini file read by the launch file is in rtabmap_ros
into the rgbd_gui.ini in the rtabmap_ros/launch/config |
Fixed this by uninstall PCL1.8 and install PCL1.7 |
I tried with PCL1.8 on Windows 10 and still not able to reproduce the error (well I don't have a Ubuntu 16.04 to test right now). There is maybe a combination of VTK version, Qt version, PCL version and OS version that may cause the problem. |
FYI, I am using |
Well, I am pretty much using the same configuration on my laptop: Ubuntu 14.04 with the default installed Qt(4.8.6)/VTK(5.8.0-14)/PCL(1.7.1-3)/boost(1.54.0.1). I'll give a try with PCL 1.8 on my system too then, see if I can reproduce this. |
Did you rebuild However, I can test |
Yes, I build pcl_conversions from source indigo branch, and it works |
Hey mathiue,
I am try to run the new commits, and I had this crashes when I try to enlarge the view using the scroll.
Btw, the new commits are pretty cool, is it octomap?
It has some lagging when update the map but it's so much better in terms of mapping noises compared to the point cloud.
Great Job!!
Here is the crash:
rtabmapviz: /usr/include/boost/smart_ptr/shared_ptr.hpp:646: typename boost::detail::sp_dereference::type boost::shared_ptr::operator*() const [with T = boost::signals2::detail::signal1_impl<void, const pcl::visualization::MouseEvent&, boost::signals2::optional_last_value, int, std::less, boost::function<void(const pcl::visualization::MouseEvent&)>, boost::function<void(const boost::signals2::connection&, const pcl::visualization::MouseEvent&)>, boost::signals2::mutex>; typename boost::detail::sp_dereference::type = boost::signals2::detail::signal1_impl<void, const pcl::visualization::MouseEvent&, boost::signals2::optional_last_value, int, std::less, boost::function<void(const pcl::visualization::MouseEvent&)>, boost::function<void(const boost::signals2::connection&, const pcl::visualization::MouseEvent&)>, boost::signals2::mutex>&]: Assertion `px != 0' failed.
[rtabmap/rtabmapviz-3] process has died [pid 15104, exit code -6, cmd /home/zeng/test/devel/lib/rtabmap_ros/rtabmapviz -d /home/zeng/test/src/rtabmap_ros/launch/config/rgbd_gui.ini rgb/image:=/camera/rgb/image_rect_color depth/image:=/camera/depth/image_rect_color rgb/camera_info:=/camera/rgb/camera_info scan:=/scan scan_cloud:=/scan_cloud __name:=rtabmapviz __log:=/home/zeng/.ros/log/f179e308-4d50-11e6-8ecb-7c5cf8c32cb0/rtabmap-rtabmapviz-3.log].
log file: /home/zeng/.ros/log/f179e308-4d50-11e6-8ecb-7c5cf8c32cb0/rtabmap-rtabmapviz-3*.log
The text was updated successfully, but these errors were encountered: