-
Notifications
You must be signed in to change notification settings - Fork 529
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
[gmapping-5] process has died #79
Comments
Hi guy, we just met the same problem and we were confused about it. And do you fixt it? if so , could you provide some suggestion. thnaks! |
sorry, I didn't fix it, I just change another mapping algorithm: Karto_mapping |
Hello, I've got this problem also. If your scan data above 2048 scan, the gmapping node will crash. |
@chaiso-krit |
Hello. I am just now in the same situation. So I removed the package that is now installed and cloned a new one.
After this, you can edit any folder and change the values. |
did anyone solve gmapping error i had tried to change lidar sample but still facing this issue |
It was found that increasing LASER_MAXBEAMS causes a stack memory overflow.
By allocating an array on the stack memory to store the input of the laser, we can assume that the maximum amount of allocatable memory has been exceeded. The solution is to put this array in the heap area.
And in the ScanMatcher constructor, scanmatcher.cpp#L16
to accept a larger laser beam input.
|
If you're using the |
I had the same issue. The main problem was in the parameter of the lidar sensor plugin. This one is perfect.
|
Kinetic; and git clone slam_gmapping from Github
I used rslidar-16, so I first used pointcloud_to_laserscan package to get type:Layerscan, and I did use hector_mapping (tutorial.launch) and It was no problem. (so the tf_tree doesn't have any problem and scan topic have their message.) But when I run slam_gmapping_pr2.launch.(I review the odom_frame:odom & base_frame:base_link & scan_topic:scan) Comes error and ROS just dead.
[ INFO] [1568901622.179507147]: Laser is mounted upwards. -maxUrange 20 -maxUrange 25 -sigma 0.05 -kernelSize 1 -lstep 0.05 -lobsGain 3 -astep 0.05 -srr 0.01 -srt 0.02 -str 0.01 -stt 0.02 -linearUpdate 0.5 -angularUpdate 0.436 -resampleThreshold 0.5 -xmin -25 -xmax 25 -ymin -25 -ymax 25 -delta 0.05 -particles 80
It's all good now, but after that, here is the error message:
[gmapping-5] process has died [pid 7754, exit code -11, cmd /home/kin/kintest_ws/devel/lib/gmapping/slam_gmapping scan:=scan __name:=gmapping __log:=/home/kin/.ros/log/3abd2c26-dae0-11e9-ae02-f44d306f9cfc/gmapping-5.log]. log file: /home/kin/.ros/log/3abd2c26-dae0-11e9-ae02-f44d306f9cfc/gmapping-5*.log
The text was updated successfully, but these errors were encountered: