-
Notifications
You must be signed in to change notification settings - Fork 62
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 crashes when using sweep #14
Comments
I had this issue and it turned out that pointcloud_to_laserscan was generating a really dense scan by default. Gmapping couldn't get enough memory to process it and crashed. The solution I've found was to set a smaller value for angle_increment in pointcloud_to_laserscan, like 0.0174533 (1 degree). |
Oh great point, this seems to have been my issue. Clearly not a bug in sweep so closing this issue. |
Hi @sevenbitbyte do you remember what the crash was? Having a similar issue but was wondering if your gmapping crashing is similar to my scenario. (Tried the solution proposed by @vitorboschi but it didn't work. Basically after it says "Registering first scan" the gmapping process just dies before it can even create the associated log file, which isn't helpful. Thanks |
Gmapping does not work out of the box with the sweep. I setup a pipeline of sweep -> pointcloud_to_laserscan -> gmapping. Gmapping crashes as soon as the first scan comes in.
The text was updated successfully, but these errors were encountered: