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

fix(obstacle_avoidance_planner): fix inf loop in mpt #127

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

takayuki5168
Copy link

@takayuki5168 takayuki5168 commented Sep 15, 2022

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.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (beta/v0.3.9@f2c64f2). Click here to learn what that means.
Patch has no changes to coverable lines.

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           
Flag Coverage Δ
differential 0.00% <0.00%> (?)

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@naokimatsunawa naokimatsunawa changed the base branch from beta/v0.3.9 to beta/v0.3.10 September 26, 2022 07:03
@@ -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;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

こちらの値どのように決定したのでしょうか?
今回の発生した事象から決めた値でしょうか?
PRかチケットに決定した過程等記載いただくと今後なにかあった際に助かると思います。

Copy link
Author

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にも同じ事書きます。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

なるほど。
承知しました。
それなら良さそうですね。

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

チケット名記載しておきました

@naokimatsunawa naokimatsunawa merged commit 3bfb920 into beta/v0.3.10 Sep 30, 2022
@naokimatsunawa naokimatsunawa deleted the fix/obtacle-avoidance-inf-loop branch September 30, 2022 03:01
tkimura4 added a commit that referenced this pull request Oct 24, 2022
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

Successfully merging this pull request may close these issues.

5 participants