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(controller): revival of dry steering #7903

Merged
merged 4 commits into from
Jul 10, 2024

Conversation

takayuki5168
Copy link
Contributor

@takayuki5168 takayuki5168 commented Jul 8, 2024

Description

Once the dry steering (steering while the ego stops) was supported in the controller for the geometric path by the start/goal planner.
However, this dry steering feature does not work well currently due to the recent change.

This PR revived the the dry steering feature.

Without this PR
case1 (geometric path planning)
https://github.com/autowarefoundation/autoware.universe/assets/20228327/07fc0dcb-21ba-45d5-9f8e-a4a10519488a

With this PR
case1 (geometric path planning)
https://github.com/autowarefoundation/autoware.universe/assets/20228327/5220ed78-d093-4c24-aae8-0ef3c9bbc9e3

case2 (freespace path planning)
https://github.com/autowarefoundation/autoware.universe/assets/20228327/23891825-e5d4-46ca-bf6b-b50f6f37b58c

Related links

How was this PR tested?

https://evaluation.tier4.jp/evaluation/reports/9cbcc1d0-bd17-5a1a-b383-c306c8e901cb?project_id=prd_jt

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added the component:control Vehicle control algorithms and mechanisms. (auto-assigned) label Jul 8, 2024
Copy link

github-actions bot commented Jul 8, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

@takayuki5168 takayuki5168 marked this pull request as ready for review July 8, 2024 15:46
@takayuki5168 takayuki5168 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 8, 2024
Copy link
Contributor

@kyoichi-sugahara kyoichi-sugahara left a comment

Choose a reason for hiding this comment

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

LGTM!
Thank you!

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
@takayuki5168 takayuki5168 force-pushed the fix/dry-steering-revival branch from fdfe33c to bbd6042 Compare July 9, 2024 13:45
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Copy link

codecov bot commented Jul 9, 2024

Codecov Report

Attention: Patch coverage is 69.69697% with 10 lines in your changes missing coverage. Please review.

Project coverage is 28.75%. Comparing base (9b20ced) to head (d1cdedf).
Report is 3 commits behind head on main.

Files Patch % Lines
...nal_controller/src/pid_longitudinal_controller.cpp 60.00% 2 Missing and 4 partials ⚠️
...ectory_follower_node/test/test_controller_node.cpp 66.66% 0 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7903      +/-   ##
==========================================
- Coverage   28.76%   28.75%   -0.01%     
==========================================
  Files        1592     1592              
  Lines      116667   116696      +29     
  Branches    49937    49952      +15     
==========================================
+ Hits        33554    33560       +6     
- Misses      74008    74024      +16     
- Partials     9105     9112       +7     
Flag Coverage Δ *Carryforward flag
differential 21.08% <69.69%> (?)
total 28.75% <ø> (-0.02%) ⬇️ Carriedforward from 9b20ced

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

@takayuki5168 takayuki5168 merged commit b43cffb into autowarefoundation:main Jul 10, 2024
28 of 30 checks passed
@takayuki5168 takayuki5168 deleted the fix/dry-steering-revival branch July 10, 2024 01:53
takayuki5168 added a commit to tier4/autoware.universe that referenced this pull request Jul 10, 2024
* Revert "fix(autoware_mpc_lateral_controller): delete the zero speed constraint (autowarefoundation#7673)"

This reverts commit 69258bd.

* dry steering

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

* add comments

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

* add minor fix and modify unit test for dry steering

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

---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
takayuki5168 added a commit to tier4/autoware.universe that referenced this pull request Jul 10, 2024
* Revert "fix(autoware_mpc_lateral_controller): delete the zero speed constraint (autowarefoundation#7673)"

This reverts commit 69258bd.

* dry steering

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

* add comments

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

* add minor fix and modify unit test for dry steering

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

---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
shmpwk pushed a commit to tier4/autoware.universe that referenced this pull request Jul 10, 2024
…1404)

* Revert "fix(autoware_mpc_lateral_controller): delete the zero speed constraint (autowarefoundation#7673)"

This reverts commit 69258bd.

* dry steering



* add comments



* add minor fix and modify unit test for dry steering



---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
shmpwk pushed a commit to tier4/autoware.universe that referenced this pull request Jul 10, 2024
…1405)

* Revert "fix(autoware_mpc_lateral_controller): delete the zero speed constraint (autowarefoundation#7673)"

This reverts commit 69258bd.

* dry steering



* add comments



* add minor fix and modify unit test for dry steering



---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Ariiees pushed a commit to Ariiees/autoware.universe that referenced this pull request Jul 22, 2024
* Revert "fix(autoware_mpc_lateral_controller): delete the zero speed constraint (autowarefoundation#7673)"

This reverts commit 69258bd.

* dry steering

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

* add comments

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

* add minor fix and modify unit test for dry steering

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

---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
TomohitoAndo added a commit to tier4/autoware.universe that referenced this pull request Nov 15, 2024
TomohitoAndo added a commit to tier4/autoware.universe that referenced this pull request Dec 11, 2024
shmpwk added a commit to tier4/autoware.universe that referenced this pull request Dec 12, 2024
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) 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.

3 participants