View Single Post
  #5   Spotlight this post!  
Unread 24-10-2010, 16:25
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,038
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: How to code Macanum ddrive

Quote:
Originally Posted by whcirobotics View Post
The code that you have attached in the thumbnails > why does it only have 3 axis? I was told macanum drive or Holononic Drive has 4 axis?
A 4-mecanum-wheel robot has 3 degrees of freedom: fwd/rev, strafe, and rotate. To obtain these 3 degrees of freedom, you have to issue coordinated commands to each of the 4 wheels

Quote:
And that code is enough? I thought it was more complicated...
That code is enough. It is not complicated.

Quote:
But more important than the code provided.. can you explain me how they function. The logic behind it. I want to program it from my understanding and see if it works. If you could explain me the logic please.
This explains the kinematics (the "logic"). It shows a mathematical derivation of why you must drive each of the 4 wheels at a certain speed in order to obtain a desired vehicle motion.

This tells how to write your own mecanum code for 3-axis joystick or for two 2-axis joysticks. It includes constants for adjusting the sensitivity of each of the three degrees of freedom.




Last edited by Ether : 24-10-2010 at 16:31.
Reply With Quote