![]() |
Programming Mecanum Wheels
I have tried searching CD and WPILib for a while now, and tried everything. How do you do mecanum wheel programming?
|
Re: Programming Mecanum Wheels
Hi! I've dug up a few mechanum links from wpi located here: http://wpilib.screenstepslive.com/s/...botdrive-class and here: http://wpilib.screenstepslive.com/s/...-mecanum-drive.
I don't know if they particularly relate to your team's robot, but they will hopefully be useful! My team has done mechanum drivetrain for the two years I have been on the team, so let me know if you have any questions or need more explanation! :) |
Re: Programming Mecanum Wheels
Quote:
Code:
/** |
Re: Programming Mecanum Wheels
I have no idea why this code is not working, any ideas, I have been stressing about it for the past two hours. :ahh:
Code:
double magnitude = driveStick.getMagnitude();Any ideas? |
Re: Programming Mecanum Wheels
You probably want to fetch the current values from your joystick *inside* the while(isEnabled && isOperatorControl()) loop. Otherwise you take the reading once and keep sending them over and over.
|
| All times are GMT -5. The time now is 10:53. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi