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(control_validator): measure predicted path deviation from trajectory #4549

Conversation

kyoichi-sugahara
Copy link
Contributor

@kyoichi-sugahara kyoichi-sugahara commented Aug 7, 2023

Description

Add feature of control validator.
The control_validator is a module that checks the validity of the output of the control component. The status of the validation can be viewed in the /diagnostics topic.

invalid when the largest deviation between the predicted trajectory and reference trajectory is greater than the given threshold.
image

should be merged with this PR

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>
…tory

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
…tory

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
…tory

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
…tory

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:evaluator Evaluation tools for planning, localization etc. (auto-assigned) labels Aug 7, 2023
pre-commit-ci bot and others added 8 commits August 7, 2023 22:02
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
…tory

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
…tory

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
…tory

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
@github-actions github-actions bot added the component:control Vehicle control algorithms and mechanisms. (auto-assigned) label Aug 11, 2023
pre-commit-ci bot and others added 5 commits August 11, 2023 11:23
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
@github-actions github-actions bot added the component:launch Launch files, scripts and initialization tools. (auto-assigned) label Aug 11, 2023
pre-commit-ci bot and others added 2 commits August 11, 2023 17:25
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
@github-actions github-actions bot removed the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Aug 12, 2023
@kyoichi-sugahara kyoichi-sugahara marked this pull request as ready for review August 12, 2023 16:49
@kyoichi-sugahara kyoichi-sugahara added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Aug 12, 2023
@codecov
Copy link

codecov bot commented Aug 12, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.19% ⚠️

Comparison is base (bf400db) 14.98% compared to head (b37274a) 14.79%.
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4549      +/-   ##
==========================================
- Coverage   14.98%   14.79%   -0.19%     
==========================================
  Files        1530     1533       +3     
  Lines      105991   105765     -226     
  Branches    32602    32122     -480     
==========================================
- Hits        15883    15651     -232     
- Misses      72800    73010     +210     
+ Partials    17308    17104     -204     
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 14.82% <ø> (-0.17%) ⬇️ Carriedforward from ea87c5f

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

Files Changed Coverage Δ
...lidator/include/control_validator/debug_marker.hpp 0.00% <0.00%> (ø)
...ontrol/control_validator/src/control_validator.cpp 0.00% <0.00%> (ø)
control/control_validator/src/debug_marker.cpp 0.00% <0.00%> (ø)
control/control_validator/src/utils.cpp 0.00% <0.00%> (ø)
...er/src/scene_module/avoidance/avoidance_module.cpp 12.10% <ø> (-0.07%) ⬇️

... and 36 files with indirect coverage changes

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

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
kyoichi-sugahara and others added 3 commits August 13, 2023 12:33
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
@kyoichi-sugahara kyoichi-sugahara requested a review from mkuri August 14, 2023 05:50
Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
@TakaHoribe TakaHoribe self-requested a review August 15, 2023 02:08
@kyoichi-sugahara kyoichi-sugahara added run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) and removed run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) labels Aug 15, 2023
@kyoichi-sugahara kyoichi-sugahara merged commit ba8e22e into autowarefoundation:main Aug 15, 2023
LeoDriveProject pushed a commit to leo-drive/autoware.universe.golf that referenced this pull request Aug 16, 2023
…tory (autowarefoundation#4549)

* add feature for getting predicted path deviation from trajectory

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix for build success

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix topic name

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* temp

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* temp

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* cut off extra length on predicted path

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* cut off extra length on predicted path

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* minor refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* change function name

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* add control validator

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* add max_deviation calculation

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* update launch

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* change maintainer

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* feat(dynamic_avoidance): object polygon based drivable area generation (autowarefoundation#4598)

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

* update

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* update README

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix typo

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* apply clang-tidy check

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* Update control/control_validator/include/control_validator/utils.hpp

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove debug code

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* add maintainer

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

---------

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
kminoda pushed a commit to kminoda/autoware.universe that referenced this pull request Aug 21, 2023
…tory (autowarefoundation#4549)

* add feature for getting predicted path deviation from trajectory

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix for build success

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix topic name

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* temp

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* temp

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* cut off extra length on predicted path

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* cut off extra length on predicted path

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* minor refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* change function name

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* add control validator

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* add max_deviation calculation

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* update launch

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* change maintainer

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* feat(dynamic_avoidance): object polygon based drivable area generation (autowarefoundation#4598)

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

* update

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* update README

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix typo

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* apply clang-tidy check

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* Update control/control_validator/include/control_validator/utils.hpp

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove debug code

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* add maintainer

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

---------

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
@kyoichi-sugahara kyoichi-sugahara deleted the feature/predicted_path_deviation_from_trajectory branch September 27, 2023 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:launch Launch files, scripts and initialization tools. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants