-
Notifications
You must be signed in to change notification settings - Fork 675
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(raw_vehicle_cmd_converter): inconsitent sign of braking command #1945
fix(raw_vehicle_cmd_converter): inconsitent sign of braking command #1945
Conversation
17d2d62
to
f7f1e13
Compare
@ralwing Thank you for your contribution. This fix makes sense to me. The CI failed due to the missing signature in your commit (DCO). Would you fix that? |
4fc3755
to
af9366c
Compare
Signed-off-by: Grzegorz Głowacki <Grzegorz Głowacki gglowacki@autonomous-systems.pl>
af9366c
to
601c36d
Compare
Ok, @TakaHoribe. Thanks for pointing that out. I've finally successfully signed-off my commit 🥇 😄 |
Codecov ReportBase: 10.29% // Head: 10.28% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1945 +/- ##
==========================================
- Coverage 10.29% 10.28% -0.01%
==========================================
Files 1147 1147
Lines 81947 81982 +35
Branches 19034 19034
==========================================
Hits 8433 8433
- Misses 64519 64554 +35
Partials 8995 8995
*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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. Thank you @ralwing !
…utowarefoundation#1945) fix inconsitent sign of braking command Signed-off-by: Grzegorz Głowacki <Grzegorz Głowacki gglowacki@autonomous-systems.pl> Signed-off-by: Grzegorz Głowacki <Grzegorz Głowacki gglowacki@autonomous-systems.pl>
…utowarefoundation#1945) fix inconsitent sign of braking command Signed-off-by: Grzegorz Głowacki <Grzegorz Głowacki gglowacki@autonomous-systems.pl> Signed-off-by: Grzegorz Głowacki <Grzegorz Głowacki gglowacki@autonomous-systems.pl>
…utowarefoundation#1945) fix inconsitent sign of braking command Signed-off-by: Grzegorz Głowacki <Grzegorz Głowacki gglowacki@autonomous-systems.pl> Signed-off-by: Grzegorz Głowacki <Grzegorz Głowacki gglowacki@autonomous-systems.pl>
…utowarefoundation#1945) fix inconsitent sign of braking command Signed-off-by: Grzegorz Głowacki <Grzegorz Głowacki gglowacki@autonomous-systems.pl> Signed-off-by: Grzegorz Głowacki <Grzegorz Głowacki gglowacki@autonomous-systems.pl>
…utowarefoundation#1945) fix inconsitent sign of braking command Signed-off-by: Grzegorz Głowacki <Grzegorz Głowacki gglowacki@autonomous-systems.pl> Signed-off-by: Grzegorz Głowacki <Grzegorz Głowacki gglowacki@autonomous-systems.pl>
Description
Braking Incosistency in raw_vehicle_cmd_converter
This is copied from the q&a section
What confuses me a lot is the line:
which in my opinion is wrong, because it sets negative braking values, moreover it is never positive!
So when
convert_brake_cmd
is true, thedesired_brake_cmd
command contains positive values, and when it's false thedesired_brake_cmd contains
negative values.Braking command should either be negative, or positive, but nevet both.
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.