-
Notifications
You must be signed in to change notification settings - Fork 669
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(mpc_lateral_controller): reset ctrl_cmd_prev during manual mode #6541
fix(mpc_lateral_controller): reset ctrl_cmd_prev during manual mode #6541
Conversation
if (!m_is_ctrl_cmd_prev_initialized) { | ||
if ( | ||
!m_is_ctrl_cmd_prev_initialized || | ||
!input_data.current_operation_mode.is_autoware_control_enabled) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be like this !(is_autoware_control_enabled && mode==AUTONOMOUS)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I addressed in 0516f5a
Signed-off-by: kyoichi-sugahara <[email protected]>
c1fb741
to
89b7b9c
Compare
Signed-off-by: kyoichi-sugahara <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6541 +/- ##
==========================================
- Coverage 14.78% 14.78% -0.01%
==========================================
Files 1917 1917
Lines 132038 132040 +2
Branches 39228 39230 +2
==========================================
Hits 19523 19523
- Misses 90726 90727 +1
- Partials 21789 21790 +1
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
48d20f1
into
autowarefoundation:main
…utowarefoundation#6541) * reset ctrl_cmd_prev during manual mode Signed-off-by: kyoichi-sugahara <[email protected]> * fix manual driving condition Signed-off-by: kyoichi-sugahara <[email protected]> --------- Signed-off-by: kyoichi-sugahara <[email protected]>
…6541) * reset ctrl_cmd_prev during manual mode Signed-off-by: kyoichi-sugahara <[email protected]> * fix manual driving condition Signed-off-by: kyoichi-sugahara <[email protected]> --------- Signed-off-by: kyoichi-sugahara <[email protected]> Signed-off-by: Kotaro Yoshimoto <[email protected]>
…utowarefoundation#6541) * reset ctrl_cmd_prev during manual mode Signed-off-by: kyoichi-sugahara <[email protected]> * fix manual driving condition Signed-off-by: kyoichi-sugahara <[email protected]> --------- Signed-off-by: kyoichi-sugahara <[email protected]> Signed-off-by: kaigohirao <[email protected]>
…utowarefoundation#6541) * reset ctrl_cmd_prev during manual mode Signed-off-by: kyoichi-sugahara <[email protected]> * fix manual driving condition Signed-off-by: kyoichi-sugahara <[email protected]> --------- Signed-off-by: kyoichi-sugahara <[email protected]>
…utowarefoundation#6541) * reset ctrl_cmd_prev during manual mode Signed-off-by: kyoichi-sugahara <[email protected]> * fix manual driving condition Signed-off-by: kyoichi-sugahara <[email protected]> --------- Signed-off-by: kyoichi-sugahara <[email protected]>
Description
Fix the reported issue
reset
m_ctrl_cmd_prev
during manual mode.problem is described in the issue.
How to reproduce the problem in local environment
To remap topics related to the
trajectory_follower_node
stored in a rosbag to the control topics used by autoware, you can use the following option commandTests 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.
After all checkboxes are checked, anyone who has write access can merge the PR.