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(pid_longitudinal_control): not check steering convergence when moving #5456

Merged

Conversation

TakaHoribe
Copy link
Contributor

@TakaHoribe TakaHoribe commented Nov 1, 2023

Description

Not check the steering convergence when the vehicle is moving.

Fixed bug:

  • When the vehicle was driving in manual mode, the longitudinal controller was stuck in "STOPPED" mode due to the steering_convergence check. Then, the vehicle got stopped when the Autoware was engaged, which was not expected.

Ideal behavior

  • The vehicle should be in driving mode even if the steering is not converged in driving mode.

Related links

TIERIV INTERNAL TICKETS

Tests performed

  • Run psim
  • Run lsim

Notes for reviewers

None

Interface changes

None

Effects on system behavior

Bug on engage is fixed.

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:control Vehicle control algorithms and mechanisms. (auto-assigned) label Nov 1, 2023
@TakaHoribe TakaHoribe added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Nov 1, 2023
Copy link

codecov bot commented Nov 1, 2023

Codecov Report

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

Comparison is base (a2b114d) 14.71% compared to head (dcb3b1c) 14.72%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5456   +/-   ##
=======================================
  Coverage   14.71%   14.72%           
=======================================
  Files        1665     1665           
  Lines      116223   116225    +2     
  Branches    36027    36028    +1     
=======================================
+ Hits        17107    17109    +2     
  Misses      79733    79733           
  Partials    19383    19383           
Flag Coverage Δ *Carryforward flag
differential 41.37% <66.66%> (?)
total 14.71% <ø> (+<0.01%) ⬆️ Carriedforward from a2b114d

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

Files Coverage Δ
...nal_controller/src/pid_longitudinal_controller.cpp 39.41% <66.66%> (+0.23%) ⬆️

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

@TakaHoribe TakaHoribe merged commit 75f7357 into autowarefoundation:main Nov 1, 2023
44 of 46 checks passed
@TakaHoribe TakaHoribe deleted the velocity-control-steer-converge branch November 1, 2023 10:21
danielsanchezaran pushed a commit to danielsanchezaran/autoware.universe that referenced this pull request Nov 6, 2023
danielsanchezaran pushed a commit to danielsanchezaran/autoware.universe that referenced this pull request Nov 6, 2023
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.

2 participants