|
Re: Need help programming our swerve with feedback?
Activemx
Here is the code we used 2 years ago in pBasic. It was the identical setup to yours with a 4 wheels linked and one pot and one steering motor. When the top joystick button was pressed, the wheels followed the joystick around, when released they went forward and steered like a tank.
__________________
Robonaut Next Generation Control System Development
2003 GLR Champions (302,67,226)
2003 Buckeye Semi-Finalists(902,494,226)
2002 Nationals QuarterFinalists
2001 West MI QuarterFinalists
2000 GLR Semi-Finalists
|