Quote:
Originally Posted by team-4480
Just a quick side question, how can you use one motor and one axis for aracadeDrive? I tried just using the ".set()" but that didn't work. Thanks again for all your help!
|
I'm not quite sure what you mean. If you want to set a single motor:
Code:
joystick = wpilib.Joystick(0)
motor = wpilib.Talon(2)
motor.set(joystick.getX())