-
Notifications
You must be signed in to change notification settings - Fork 372
Use Generic Steering Controller State Message in Steering Controllers Library #836
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
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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #836 +/- ##
==========================================
- Coverage 85.19% 85.08% -0.12%
==========================================
Files 127 123 -4
Lines 12006 11914 -92
Branches 1010 1005 -5
==========================================
- Hits 10229 10137 -92
Misses 1460 1460
Partials 317 317
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
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! |
This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete. |
This pull request is in conflict. Could you fix it @mbharatheesha? |
…ate_msg Merge master into "Use generic steering state msg"
Does this removal make sense if we are going to reintroduce the exact same lines again in #1563 ? Ackermann is also a bit of a misnomer here in my opinion since it refers to classical ackermann-like control inputs (e.g. steering angle and linear velocity) instead of the actual kinematics of the robot. (nothing we can do about that though) |
For the current state it makes sense, and this PR is way older than yours ;) we just forgot to merge it.
What else do you suggest? (this is not an issue with this PR here?) |
I just wanted to mention that if my PR gets accepted in a form similar to what is there now, these lines come back exactly how they are about to be removed. |
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.