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

Modifications to work with 4WD Omni Robot #6

Open
eddie50488 opened this issue Mar 3, 2024 · 2 comments
Open

Modifications to work with 4WD Omni Robot #6

eddie50488 opened this issue Mar 3, 2024 · 2 comments

Comments

@eddie50488
Copy link

I see that there is a variable in the kinematics.hpp file called OMNI_ROBOT_MAX_WHEELS which is equal to 4. Upon analyzing the code it looks like the kinematics equations are only for 3 wheel drive robots which suggests that this controller would not work out of the box with a 4WD robot, would I be correct in thinking this?

@mateusmenezes95
Copy link
Owner

Hello @eddie50488, you are right. I started developing the code to work with 4 wheels as well, but due to time constraints, the code as it stands today only works for the 3-wheel omnidirectional robots

@eddie50488
Copy link
Author

Hi Mateus, thanks for your reply, that makes a lot of sense, I am trying to modify your controller to make it work with a 4WD robot I have built, as I'm now to ROS and C++ in general I have just implemented a very simple form of inverse kinematics. In addition I have removed aspects relating to calculation of odometry as I plan to use a LiDAR sensor for this. I have got my modification of your package to build however am a bit stuck as to how I can test the functionality of it with teleop_twist_keyboard. Do you know if I have to create a hardware interface before I can do so?

Any help is greatly appreciated, thanks!

Edward

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

No branches or pull requests

2 participants