-
Notifications
You must be signed in to change notification settings - Fork 456
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
Segmentation Fault in Hector Slam #23
Comments
Full Backtrace: #0 0x00000000005df7db in GridMapCacheArray::containsCachedData(int, float&) () |
When I rotate my base 90 degrees, Hector Slam consistently seg faults. According to GDB, this segmentation fault occurs in GridMapCacheArray::containsCachedData(int, float&). From the source, it seems that Line 82 is the culprit: const CachedMapElement& elem (cacheArray[index]);
This is a really easy patch, but I am unsure if it points to a more serious underlying problem.
If this is because of a race condition, a simple if statement would only be covering up the problem.
The text was updated successfully, but these errors were encountered: