Quote:
Originally Posted by grosh
Our team is also trying to change the example program from arcade to tank drive...
We have replaced the Arcade drive.VIs with Tank.VIs in the Teleop.vi-execute case-true case, Teleop.vi-stop case. We have also added another joystick reference in the open and close VIs.
Anything else we need to change? When we deploy the robot is still driving in tank.
|
I assume you mean it's still driving in Arcade mode. Otherwise, you'd be celebrating your success rather than asking for help.
You also need to change from reading the x and y axes of a single joystick to reading the y axes of two different joysticks.
But if you didn't do that properly, you'd find the robot driving oddly, sort of like a diagonal arcade but not quite. If it is still acting like the original arcade mode software, you might not be running the new code successfully. How are you deploying it?
Quote:
|
PS- Will changing from arcade to tank affect our ability to camera track with the default camera tracking code?
|
The "button 3 to track" code will still work exactly as it used to. It ignores the joystick control and instead uses a PID system to compute a steering value.