-
Notifications
You must be signed in to change notification settings - Fork 88
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
safety_limiter: allow escape motion from collision #221
Conversation
[#605] FAILED on indigoTest failed
[#605] FAILED on kineticTest failed
[#605] FAILED on lunarTest failed
|
Codecov Report
@@ Coverage Diff @@
## master #221 +/- ##
==========================================
+ Coverage 55.44% 55.56% +0.12%
==========================================
Files 49 49
Lines 3979 3988 +9
==========================================
+ Hits 2206 2216 +10
+ Misses 1773 1772 -1
Continue to review full report at Codecov.
|
yaw_col += twist_.angular.z * dt_; | ||
move = move * motion; | ||
move_inv = move_inv * motion_inv; | ||
if (t != 0) |
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.
This part was a bug that estimates collision distance bit larger than actual.
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.
that's true. are you gonna fix the bug separately from this PR?
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.
separated PR is nicer
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.
[#606] PASSED on indigoAll tests passed
[#606] PASSED on lunarAll tests passed
|
yaw_col += twist_.angular.z * dt_; | ||
move = move * motion; | ||
move_inv = move_inv * motion_inv; | ||
if (t != 0) |
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.
that's true. are you gonna fix the bug separately from this PR?
} | ||
if (colliding) | ||
{ | ||
if (t == 0) |
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.
same as above.
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.
this is not a part of the above bug, but an impl. of collision escaping logic.
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 got it. thx.
} | ||
if (d_escape_remain <= 0 || yaw_escape_remain <= 0) | ||
{ | ||
if (has_collision_at_now) |
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.
preferably, I'd like to add {} here.
[#608] PASSED on indigoAll tests passed
[#608] PASSED on lunarAll tests passed
[#608] PASSED on kineticAll tests passed
|
[#610] PASSED on indigoAll tests passed
[#610] PASSED on kineticAll tests passed
[#610] PASSED on lunarAll tests passed
|
merge after #222