Skip to content
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

Closed
sevenbitbyte opened this issue Jun 16, 2017 · 3 comments
Closed

gmapping crashes when using sweep #14

sevenbitbyte opened this issue Jun 16, 2017 · 3 comments

Comments

@sevenbitbyte
Copy link

sevenbitbyte commented Jun 16, 2017

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.

@vitorboschi
Copy link

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).

@sevenbitbyte
Copy link
Author

Oh great point, this seems to have been my issue. Clearly not a bug in sweep so closing this issue.

@yubenjamin2
Copy link

yubenjamin2 commented Jul 5, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants