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

feat(obstacle_avoidance_planner): make MPT's output not std::optional #4370

Merged
merged 2 commits into from
Jul 23, 2023

Conversation

takayuki5168
Copy link
Contributor

@takayuki5168 takayuki5168 commented Jul 22, 2023

Description

In order to easily use optimization path planner in packages other than obstacle_avoidance_planner, this PR makes the output of MPT's output not std::optional by holding the previous optimized result not in the node itself but in the MPT class.

Tests performed

Effects on system behavior

Nothing

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>
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Jul 22, 2023
@takayuki5168 takayuki5168 marked this pull request as ready for review July 22, 2023 16:51
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
@takayuki5168
Copy link
Contributor Author

@kosuke55 Could you approve the PR.

@takayuki5168 takayuki5168 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 23, 2023
@codecov
Copy link

codecov bot commented Jul 23, 2023

Codecov Report

Patch coverage: 22.22% and no project coverage change.

Comparison is base (01cea10) 15.05% compared to head (a248666) 15.05%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4370   +/-   ##
=======================================
  Coverage   15.05%   15.05%           
=======================================
  Files        1508     1508           
  Lines      103794   103802    +8     
  Branches    31715    31720    +5     
=======================================
+ Hits        15626    15628    +2     
- Misses      71137    71144    +7     
+ Partials    17031    17030    -1     
Flag Coverage Δ *Carryforward flag
differential 39.58% <22.22%> (?)
total 15.05% <ø> (-0.01%) ⬇️ Carriedforward from 01cea10

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

Impacted Files Coverage Δ
...clude/obstacle_avoidance_planner/mpt_optimizer.hpp 85.71% <ø> (ø)
...lanner/include/obstacle_avoidance_planner/node.hpp 40.00% <ø> (ø)
planning/obstacle_avoidance_planner/src/node.cpp 38.73% <20.00%> (+0.30%) ⬆️
...g/obstacle_avoidance_planner/src/mpt_optimizer.cpp 40.40% <23.07%> (-0.25%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@takayuki5168 takayuki5168 merged commit bb3a3c3 into autowarefoundation:main Jul 23, 2023
@takayuki5168 takayuki5168 deleted the chore/mpt-output-change branch July 23, 2023 08:22
kminoda pushed a commit to kminoda/autoware.universe that referenced this pull request Jul 24, 2023
…autowarefoundation#4370)

* feat(obstacle_avoidance_planner): make MPT's output not std::optional

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* minor change

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

---------

Signed-off-by: Takayuki Murooka <takayuki5168@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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants