-
Notifications
You must be signed in to change notification settings - Fork 682
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
perf(bpp): reduce computational cost #6054
Merged
satoshi-ota
merged 5 commits into
autowarefoundation:main
from
satoshi-ota:perf/reduce-computational-cost
Jan 15, 2024
Merged
perf(bpp): reduce computational cost #6054
satoshi-ota
merged 5 commits into
autowarefoundation:main
from
satoshi-ota:perf/reduce-computational-cost
Jan 15, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
maxime-clem
reviewed
Jan 12, 2024
...ning/behavior_path_planner_common/src/utils/drivable_area_expansion/static_drivable_area.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
…istency Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
55ae9a7
to
34f0c19
Compare
maxime-clem
approved these changes
Jan 15, 2024
kosuke55
approved these changes
Jan 15, 2024
rej55
approved these changes
Jan 15, 2024
kosuke55
pushed a commit
to tier4/autoware.universe
that referenced
this pull request
Jan 17, 2024
* pref(avoidance): don't use boost union_ Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(avoidance): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(turn_signal): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(static_drivable_area_expansion): don't use calcDistance2d Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(static_drivable_area_expansion): rename and fix return value consistency Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
satoshi-ota
added a commit
to tier4/autoware.universe
that referenced
this pull request
Jan 17, 2024
* pref(avoidance): don't use boost union_ Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(avoidance): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(turn_signal): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(static_drivable_area_expansion): don't use calcDistance2d Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(static_drivable_area_expansion): rename and fix return value consistency Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
satoshi-ota
added a commit
to tier4/autoware.universe
that referenced
this pull request
Mar 8, 2024
* pref(avoidance): don't use boost union_ Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(avoidance): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(turn_signal): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(static_drivable_area_expansion): don't use calcDistance2d Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(static_drivable_area_expansion): rename and fix return value consistency Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
TomohitoAndo
pushed a commit
to tier4/autoware.universe
that referenced
this pull request
Apr 1, 2024
* pref(avoidance): don't use boost union_ Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(avoidance): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(turn_signal): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(static_drivable_area_expansion): don't use calcDistance2d Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(static_drivable_area_expansion): rename and fix return value consistency Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
satoshi-ota
added a commit
to tier4/autoware.universe
that referenced
this pull request
Apr 8, 2024
* pref(avoidance): don't use boost union_ Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(avoidance): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(turn_signal): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(static_drivable_area_expansion): don't use calcDistance2d Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(static_drivable_area_expansion): rename and fix return value consistency Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
karishma1911
pushed a commit
to Interplai/autoware.universe
that referenced
this pull request
May 26, 2024
* pref(avoidance): don't use boost union_ Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(avoidance): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(turn_signal): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(static_drivable_area_expansion): don't use calcDistance2d Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(static_drivable_area_expansion): rename and fix return value consistency Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
karishma1911
pushed a commit
to Interplai/autoware.universe
that referenced
this pull request
May 28, 2024
* pref(avoidance): don't use boost union_ Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(avoidance): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(turn_signal): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(static_drivable_area_expansion): don't use calcDistance2d Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(static_drivable_area_expansion): rename and fix return value consistency Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
karishma1911
pushed a commit
to Interplai/autoware.universe
that referenced
this pull request
May 28, 2024
* pref(avoidance): don't use boost union_ Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(avoidance): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(turn_signal): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(static_drivable_area_expansion): don't use calcDistance2d Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(static_drivable_area_expansion): rename and fix return value consistency Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
karishma1911
pushed a commit
to Interplai/autoware.universe
that referenced
this pull request
Jun 3, 2024
* pref(avoidance): don't use boost union_ Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(avoidance): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(turn_signal): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(static_drivable_area_expansion): don't use calcDistance2d Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(static_drivable_area_expansion): rename and fix return value consistency Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
satoshi-ota
added a commit
to tier4/autoware.universe
that referenced
this pull request
Jun 6, 2024
* pref(avoidance): don't use boost union_ Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(avoidance): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(turn_signal): reduce frequency to call calcSignedArcLength Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * perf(static_drivable_area_expansion): don't use calcDistance2d Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(static_drivable_area_expansion): rename and fix return value consistency Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component:planning
Route planning, decision-making, and navigation. (auto-assigned)
run:build-and-test-differential
Mark to enable build-and-test-differential workflow. (used-by-ci)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Reduce aggregated costs 14.7% to 10.7% in behavior planning container by following improvement.
calcSignedArcLength
boost::geometry::union_
std::hypot
Tests performed
Effects on system behavior
Not applicable.
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.