-
Notifications
You must be signed in to change notification settings - Fork 118
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
Fix crushing when lidar poses are out of map #351
Conversation
@at-wat PTAL. |
[#876] FAILED on noeticTested on Alpine ROS [#876] FAILED on kineticTest failed
[#876] FAILED on melodicTest failed
|
[#877] PASSED on noeticTested on Alpine ROS [#877] PASSED on kineticAll tests passed
[#877] PASSED on melodicAll tests passed
|
Codecov Report
@@ Coverage Diff @@
## master #351 +/- ##
==========================================
- Coverage 92.47% 92.35% -0.13%
==========================================
Files 36 36
Lines 1954 1961 +7
==========================================
+ Hits 1807 1811 +4
- Misses 147 150 +3
Continue to review full report at Codecov.
|
{ | ||
max_movement_ = 0; | ||
pos_ = 0; | ||
return; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think raycaster still should cast the ray by handling out-of-the-map as no-hit.
Otherwise, it causes a problem at the open end of the map.
(For very temporary fix, it is acceptable though.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging for now.
#352
This PR fixes crushing when lidar poses are out of map cloud.