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

chore(freespace_planning_algorithm): modify A* script for standalone running #7070

Merged

Conversation

TakumIto
Copy link
Contributor

@TakumIto TakumIto commented May 20, 2024

Description

Modify A* script for standalone running.

When the A* algorithm runs via the freespace_planner node, the planner clears the A* node previously.
But when the makePlan() method in the A* node runs standalone (for example running via python wrapper), the node is not cleared.

I append clearNode() in makePlan().

Related links

Python wrapper of A* algorithms PR#6398
Tools for python wrapper autoware_tools PR#28
Evaluator: https://evaluation.tier4.jp/evaluation/reports/fbb9175f-1204-5605-a2fd-fbc995e6aaed?project_id=prd_jt

Interface changes

There are no changes in interfaces.

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

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.
  • The PR is ready for merge.

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

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label May 20, 2024
@TakumIto TakumIto force-pushed the chore/fix_astar_for_standalone branch 3 times, most recently from a8b417b to bdcbe34 Compare May 27, 2024 01:54
@TakumIto TakumIto force-pushed the chore/fix_astar_for_standalone branch 3 times, most recently from afbeae0 to 89f549a Compare June 12, 2024 03:45
@TakumIto TakumIto force-pushed the chore/fix_astar_for_standalone branch 2 times, most recently from bdf53a1 to f717b46 Compare June 19, 2024 04:00
Takumi Ito added 2 commits July 4, 2024 09:25
move clearNoe() from setMap to makePlan().

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>
Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>
@TakumIto TakumIto force-pushed the chore/fix_astar_for_standalone branch from f717b46 to 8533f0f Compare July 4, 2024 00:25
Copy link

github-actions bot commented Jul 4, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

Copy link
Contributor

@kosuke55 kosuke55 left a comment

Choose a reason for hiding this comment

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

LGTM

@kosuke55 kosuke55 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 4, 2024
Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>
@kosuke55 kosuke55 enabled auto-merge (squash) July 4, 2024 05:17
Copy link

codecov bot commented Jul 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 28.66%. Comparing base (909004e) to head (027b30e).
Report is 12 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7070      +/-   ##
==========================================
- Coverage   28.68%   28.66%   -0.02%     
==========================================
  Files        1587     1593       +6     
  Lines      116304   116348      +44     
  Branches    49652    49653       +1     
==========================================
  Hits        33356    33356              
- Misses      73892    73936      +44     
  Partials     9056     9056              
Flag Coverage Δ *Carryforward flag
differential 15.40% <100.00%> (?)
total 28.67% <ø> (-0.01%) ⬇️ Carriedforward from 909004e

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kosuke55 kosuke55 merged commit cd16a80 into autowarefoundation:main Jul 4, 2024
30 checks passed
@kosuke55 kosuke55 deleted the chore/fix_astar_for_standalone branch July 4, 2024 05:38
palas21 pushed a commit to palas21/autoware.universe that referenced this pull request Jul 12, 2024
…running (autowarefoundation#7070)

* modify astar for standalone running
move clearNoe() from setMap to makePlan().

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>

* small modification

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>

* run pre-commit

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>

---------

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>
Co-authored-by: Takumi Ito <takumi.ito@tier4.jp>
Signed-off-by: palas21 <palas21@itu.edu.tr>
tby-udel pushed a commit to tby-udel/autoware.universe that referenced this pull request Jul 14, 2024
…running (autowarefoundation#7070)

* modify astar for standalone running
move clearNoe() from setMap to makePlan().

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>

* small modification

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>

* run pre-commit

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>

---------

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>
Co-authored-by: Takumi Ito <takumi.ito@tier4.jp>
KhalilSelyan pushed a commit that referenced this pull request Jul 22, 2024
…running (#7070)

* modify astar for standalone running
move clearNoe() from setMap to makePlan().

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>

* small modification

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>

* run pre-commit

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>

---------

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>
Co-authored-by: Takumi Ito <takumi.ito@tier4.jp>
Ariiees pushed a commit to Ariiees/autoware.universe that referenced this pull request Jul 22, 2024
…running (autowarefoundation#7070)

* modify astar for standalone running
move clearNoe() from setMap to makePlan().

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>

* small modification

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>

* run pre-commit

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>

---------

Signed-off-by: Takumi Ito <takumi.ito@tier4.jp>
Co-authored-by: Takumi Ito <takumi.ito@tier4.jp>
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants