Quote:
Originally Posted by virtuald
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())
|
Do the motor.set and things like that have to be in the Teleop function to work properly? Thanks!