-
Notifications
You must be signed in to change notification settings - Fork 333
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
Use Generic Steering Controller State Message in Steering Controllers Library #836
base: master
Are you sure you want to change the base?
Use Generic Steering Controller State Message in Steering Controllers Library #836
Conversation
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 @@
## master #836 +/- ##
===========================================
- Coverage 71.86% 47.69% -24.17%
===========================================
Files 41 41
Lines 3650 3862 +212
Branches 1794 1816 +22
===========================================
- Hits 2623 1842 -781
- Misses 707 758 +51
- Partials 320 1262 +942
Flags with carried forward coverage won't be shown. Click here to find out more.
|
The build failures I am seeing on the workflow with rolling binaries are exactly the same I had because the latest I am not sure how the changes I made have impacted code coverage because I mainly renamed declarations and removed unused declarations. If that needs to be fixed, I could use some help on the same. Thank you! |
We know of the failing CI of the binary builds, and the coverage diff of 0.05% is some "noise" you don't have to worry about. |
Alright, thanks! |
I was reading through the code as a part of learning how to write a new steering controller. I understood that a new steering controller inherits from the SteeringControllersLibrary. But I also found the use of
Ackermannxxx
in the base class code for a status message and the same was being used in other steering controllers such asBicycleSteeringController
andTricycleSteeringController
.If I understood the inheritance and the code structure correctly, the SteerinControllersLibrary should be agnostic to the specifics of a steering controller that derives from it. Therefore, this PR introduces the following changes:
Ackermannxxx
declarations in theSteeringControllersLibrary
base class and rename it toSteeringControllerStateMsg
ackermann_msgs
dependency fromsteering_controllers_library
package.All tests for the modified packages were run successfully (locally).
P.S: Sorry, this took longer than planned. It took me some time to figure out the relevant workspace overlays to make sure the correct version of
controller_interface
was used for the build to succeed.