Skip to content
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 a controller for afour wheel independent steering / drive mobile base, aka a swerve drive #1425

Open
pvandervelde opened this issue Dec 15, 2024 · 3 comments

Comments

@pvandervelde
Copy link

I would like to add a controller for a 4 wheel independent steering and independent drive (aka swerve drive) mobile base. In this kind of mobile base each wheel has two degrees of freedom, one for moving the wheel around its axle and one for the steering motion of the wheel. Each wheel is independently controllable from the other wheels.

There have been several attempts at creating ROS controllers for such a system, e.g. ros-controls/ros_controllers#441, https://github.com/MarkNaeem/ros_controllers/tree/noetic-devel/swerve_steering_controller and #1148.

I have created a proof of concept for one such drive in python. Additionally I have created a simple simulation tool to test different control algorithms.

If there is interest I would like to implement a swerve controller for ROS2 control.

@christophfroehlich
Copy link
Contributor

Hi @pvandervelde!
Your contribution would be highly appreciated. I see that you started documenting the kinematics, as a first step you could add your documentation here and then build your controller upon that nomenclature.

@pvandervelde
Copy link
Author

@christophfroehlich That does sound like a good place to start. For the implementation process I was aiming to follow the process suggested in this comment by bmagyar. I'll reference this issue in all PRs.

I might have some questions about some parts of the library. Would those best be asked in the ROS discourse or just in this issue?

@christophfroehlich
Copy link
Contributor

Either on robotics stack exchange or here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants