-
Notifications
You must be signed in to change notification settings - Fork 277
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
Add parameter for adjust current sign in battery plugin #2696
Conversation
Signed-off-by: Tatsuro Sakaguchi <[email protected]>
Signed-off-by: Tatsuro Sakaguchi <[email protected]>
92c8eac
to
fc1a2d5
Compare
Signed-off-by: Tatsuro Sakaguchi <[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.
Wouldn't this be easier to flip the sign only when the data is being published (PostUpdate) instead of adding extra logic at various places?
Signed-off-by: Tatsuro Sakaguchi <[email protected]>
That's better. I’ve done it. |
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 for the contribution!
https://github.com/Mergifyio backport gz-sim8 ign-gazebo6 |
✅ Backports have been created
|
Signed-off-by: Tatsuro Sakaguchi <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> (cherry picked from commit dd3e241)
Signed-off-by: Tatsuro Sakaguchi <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> (cherry picked from commit dd3e241)
Signed-off-by: Tatsuro Sakaguchi <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> (cherry picked from commit dd3e241)
Signed-off-by: Tatsuro Sakaguchi <[email protected]> Co-authored-by: Alejandro Hernández Cordero <[email protected]> (cherry picked from commit dd3e241)
🦟 Bug fix
Fixes #2685
Summary
A parameter has been added to adjust the sign of the battery current value to comply with ROS conventions.
By default, it is set to
false
, so the existing behavior remains unchanged.Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.