-
Notifications
You must be signed in to change notification settings - Fork 30
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(obstacle_avoidance_planner): fix inf loop in mpt #127
Conversation
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## beta/v0.3.9 #127 +/- ##
=============================================
Coverage ? 0.00%
=============================================
Files ? 16
Lines ? 2872
Branches ? 0
=============================================
Hits ? 0
Misses ? 2872
Partials ? 0
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@@ -1025,6 +1025,19 @@ Trajectories ObstacleAvoidancePlanner::optimizeTrajectory( | |||
return getPrevTrajs(path.points); | |||
} | |||
|
|||
// NOTE: Elastic band sometimes diverges with status = "OSQP_SOLVED". | |||
constexpr double max_path_change_diff = 1.0e4; |
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.
こちらの値どのように決定したのでしょうか?
今回の発生した事象から決めた値でしょうか?
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.
そのとおりですね、すみません。
rosbagしかもらっていないのでチケットのリンク分からないためこちらで失礼します。
1e7レベルのオーダーでずれていたので、それより小さく、また現実的な値 (現状のAutowareでは大きくても1e1)の間を取って1e4としました。かなりテンポラリな値です。
Descriptionにも同じ事書きます。
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.
なるほど。
承知しました。
それなら良さそうですね。
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.
チケット名記載しておきました
Description
porting autowarefoundation#1881
不具合により、出力経路と参照経路が1e7レベルのオーダーでずれていたので、それより小さく、また現実的な値 (現状のAutowareでは大きくても1e1)の間を取って1e4としました。かなりテンポラリな値です。
fix inf loop in mpt because of diverged elastic band
Related Links
https://tier4.atlassian.net/browse/EVT4-2059
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.