slam_gmapping icon indicating copy to clipboard operation
slam_gmapping copied to clipboard

catkin_make the code in Melodic ,but generate maps slowly or not updated

Open 3shao opened this issue 5 years ago • 5 comments

ROS Melodic is building from source , https://github.com/ros-perception/slam_gmapping, https://github.com/ros-perception/openslam_gmapping. I can run the launch successfully, but generate maps slowly or not updated, how can i do? Thanks!

3shao avatar Jul 09 '19 09:07 3shao

which branch did you used for https://github.com/ros-perception/openslam_gmapping ? master or meldoic-devel?

k-okada avatar Jul 09 '19 12:07 k-okada

Thank you for your reply. I use master, meldoic-devel didn't release. Now I use meldoic-devel , but when I run the launch, the error :

/opt/ros/melodic/lib/gmapping/slam_gmapping: symbol lookup error: /opt/ros/melodic/lib/gmapping/slam_gmapping: undefined symbol: _ZN8GMapping14sampleGaussianEdm
[slam_gmapping-19] process has died [pid 3815, exit code 127, cmd /opt/ros/melodic/lib/gmapping/slam_gmapping scan:=scan __name:=slam_gmapping __log:=/home/skybot/.ros/log/10a425f8-a2cc-11e9-800b-00e067102061/slam_gmapping-19.log].
log file: /home/skybot/.ros/log/10a425f8-a2cc-11e9-800b-00e067102061/slam_gmapping-19*.log

the 1.3.10 for https://github.com/ros-perception/slam_gmapping. How can I use the Correct version to compile?

3shao avatar Jul 10 '19 04:07 3shao

I have the same problem with slow map generations on melodic-devel. Has anyone found a solution?

ArcticCat avatar Sep 19 '19 14:09 ArcticCat

can you provide how we can reproduce your problem? with simulation (http://wiki.ros.org/navigation_stage) or bug files?

k-okada avatar Sep 20 '19 04:09 k-okada

@3shao, While doing catkin_make, have you used the argument -DCMAKE_BUILD_TYPE=Release? If not, then please try adding it, as I have observed significant performance improvements with 'Release' builds.

imutkarshpatil avatar Jan 07 '20 14:01 imutkarshpatil