Quote:
Originally Posted by IraGlass
I'm having trouble with the programming for a Mecanum drive that runs straight. I can see how to use encoders to straighten out a tank/arcade drive, and my straightening code works fine forwards and backwards, but moving side-to-side or spinning messes up the code and just makes the robot twitch around. Is there some default code or other method to run an encoded Mecanum drive? Any advice is greatly appreciated!
|
Just curious, how badly does your bot behave with just open-loop voltage commands given to the 4 motors?
If it's ill-behaved open-loop, it's possible there's a weak motor or a friction problem with the drivetrain or mecanum rollers. Have you checked all the rollers to make sure they spin freely?
~