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(start_planner): update drivable area info and enable idle to running state transition #6172

Conversation

kyoichi-sugahara
Copy link
Contributor

@kyoichi-sugahara kyoichi-sugahara commented Jan 25, 2024

Description

drivable_margin is set for freespace planner in start_planner module and the start_planner assume the parameter is not erased following modules.
But in some cases like dynamic_avoidance module runs after start_planner module, drivable_margin is erased.
image

so in this PR, changed combineDrivableAreaInfo to inherit drivable_margin from previous module output

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.

  • 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: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
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!

@kyoichi-sugahara kyoichi-sugahara added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jan 25, 2024
Copy link

codecov bot commented Jan 25, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (007d156) 14.65% compared to head (b06031f) 14.65%.
Report is 9 commits behind head on main.

Files Patch % Lines
...s/drivable_area_expansion/static_drivable_area.cpp 0.00% 2 Missing ⚠️
...path_start_planner_module/start_planner_module.hpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6172      +/-   ##
==========================================
- Coverage   14.65%   14.65%   -0.01%     
==========================================
  Files        1869     1869              
  Lines      127462   127463       +1     
  Branches    37312    37313       +1     
==========================================
  Hits        18682    18682              
- Misses      87801    87802       +1     
  Partials    20979    20979              
Flag Coverage Δ *Carryforward flag
differential 11.68% <0.00%> (?)
total 14.65% <ø> (+<0.01%) ⬆️ Carriedforward from 007d156

*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.

@kyoichi-sugahara kyoichi-sugahara merged commit 57cf88d into autowarefoundation:main Jan 26, 2024
36 of 39 checks passed
@kyoichi-sugahara kyoichi-sugahara deleted the fix/inherit_drivable_margin branch January 26, 2024 07:03
@@ -1317,6 +1312,7 @@ bool StartPlannerModule::planFreespacePath()
void StartPlannerModule::setDrivableAreaInfo(BehaviorModuleOutput & output) const
{
if (status_.planner_type == PlannerType::FREESPACE) {
std::cerr << "Freespace planner updated drivable area." << std::endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

@kyoichi-sugahara you forgot remove tihs?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kosuke55
Sorry I forgot to remove this and remove in this PR

anhnv3991 pushed a commit to anhnv3991/autoware.universe that referenced this pull request Jan 29, 2024
…ing state transition (autowarefoundation#6172)

Update drivable area info and enable idle to running state transition

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: anhnv3991 <anh.nguyen.2@tier4.jp>
kyoichi-sugahara added a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Jan 29, 2024
…ing state transition (autowarefoundation#6172)

Update drivable area info and enable idle to running state transition

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Jan 29, 2024
…ing state transition (autowarefoundation#6172)

Update drivable area info and enable idle to running state transition

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Feb 2, 2024
…ing state transition (autowarefoundation#6172)

Update drivable area info and enable idle to running state transition

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Feb 2, 2024
…ing state transition (autowarefoundation#6172)

Update drivable area info and enable idle to running state transition

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Feb 6, 2024
…ing state transition (autowarefoundation#6172)

Update drivable area info and enable idle to running state transition

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Feb 8, 2024
…ing state transition (autowarefoundation#6172)

Update drivable area info and enable idle to running state transition

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Feb 23, 2024
…ing state transition (autowarefoundation#6172)

Update drivable area info and enable idle to running state transition

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Feb 23, 2024
…ing state transition (autowarefoundation#6172)

Update drivable area info and enable idle to running state transition

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Mar 8, 2024
…ing state transition (autowarefoundation#6172)

Update drivable area info and enable idle to running state transition

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
TomohitoAndo pushed a commit to tier4/autoware.universe that referenced this pull request Apr 1, 2024
…ing state transition (autowarefoundation#6172)

Update drivable area info and enable idle to running state transition

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Apr 8, 2024
…ing state transition (autowarefoundation#6172)

Update drivable area info and enable idle to running state transition

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024