-
Notifications
You must be signed in to change notification settings - Fork 281
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 math::SpeedLimiter inside controllers #810
Comments
Hi I have been working on this issue and I noticed it has a 'citadel' tag. I was wondering, wouldn't it make sense to push this on the latest version (gazebo6) as I saw it hasn't been changed in either of the previous versions. |
we have added some "guiding principles" to our ignitionrobotics.org/about page, but they haven't been deployed yet, so I'll excerpt one here:
Since this change affects only the implementation of a controller and not the public API or a change in dependency version, it is backwards compatible. So we prefer to target the oldest supported version (citadel, It is also possible to target the newest branch and then backport, but we have a slight preference for targeting the older versions first and merging forwards. |
That sounds good. I will be doing that, thank you for the reply. |
Thanks @scpeters for the clarification.
|
yes, precisely. Thanks for laying it out so clearly |
see #833 |
see #837 |
Controllers like
diff_drive
have a SpeedLimiter class inside them. This file is currently repeated inside these plugins:diff_drive
ackermann_steering
Now that we have the ignition::math::SpeedLimiter class, we should use that and remove those custom limiters. The mecanum_drive plugin is already using that.
Desired behavior
SpeedLimiter
files are removed fromign-gazebo
diff_drive
andackermann_steering
usemath::SpeedLimiter
All tests should continue to pass.
Alternatives considered
We moved the
SpeedLimiter
toign-math
so we could use it in multiple places. An alternative is to keep duplicating the file, but that doesn't scale well. Plus, we made improvements and fixes to the limiter when porting it to math.Implementation suggestion
Take a look at how the mecanum drive is using it.
The text was updated successfully, but these errors were encountered: