-
Notifications
You must be signed in to change notification settings - Fork 650
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(pid_longitudinal_controller): change the condition from emergency to stopped #5892
feat(pid_longitudinal_controller): change the condition from emergency to stopped #5892
Conversation
…cy to stopped Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
1dd0347
to
7c55d14
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #5892 +/- ##
=======================================
Coverage 15.30% 15.30%
=======================================
Files 1747 1747
Lines 120119 120119
Branches 36570 36570
=======================================
Hits 18380 18380
Misses 81124 81124
Partials 20615 20615
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Related this PR, do you know why the emergency_condition is true only when the velocity command is almost zero? |
@TakaHoribe Sorry, I do not know. |
…y to stopped (autowarefoundation#5892) chore(pid_longitudinal_controller): change the condition from emergency to stopped Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: karishma <karishma@interpl.ai>
…y to stopped (autowarefoundation#5892) chore(pid_longitudinal_controller): change the condition from emergency to stopped Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com> Signed-off-by: karishma <karishma@interpl.ai>
…y to stopped (autowarefoundation#5892) chore(pid_longitudinal_controller): change the condition from emergency to stopped Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
…y to stopped (autowarefoundation#5892) chore(pid_longitudinal_controller): change the condition from emergency to stopped Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
…y to stopped (autowarefoundation#5892) chore(pid_longitudinal_controller): change the condition from emergency to stopped Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Description
When the ego exceeds the goal position, the longitudinal controller does the emergency stop.
Even after the ego stops, the control state in the longitudinal controller is still emergency and showing the following unnecessary message.
This PR changes the condition from the emergency to the stopped.
In the emergency state, when the ego successfully stopped, the state will be changed to the stopped.
Tests performed
psim
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.
After all checkboxes are checked, anyone who has write access can merge the PR.