![]() |
Programming Help- 2 Motor 2 joystick Drive System
Can someone help us use change the default code from a one joystick operation to a two joystick two motor drive system?
We will be using a tank drive system. We would like to see some sample code. |
Re: Programming Help- 2 Motor 2 joystick Drive System
Team 166 just posted some of there code, and it included two-joystick drive. May be worth checking out!
|
Re: Programming Help- 2 Motor 2 joystick Drive System
Quote:
Code:
pwm01 = p1_y;When both joysticks are forwards, both motors are forward and the robot goes forward. When both are back, the robot goes backwards. When one is forward and one is backwards, the motors move in opposite directions and the robot twists clockwise or counterclockwise. |
| All times are GMT -5. The time now is 23:44. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi