mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-27 02:01:42 +00:00
Looks like a race condition happened in the landing of the examples PR and #8479 which caused some of the python examples to fail.
This commit is contained in:
@@ -56,7 +56,7 @@ class MyRobot(wpilib.TimedRobot):
|
||||
pidOut = self.pidController.calculate(position)
|
||||
|
||||
# Apply PID output
|
||||
self.elevatorMotor.set(pidOut)
|
||||
self.elevatorMotor.setDutyCycle(pidOut)
|
||||
|
||||
# when the button is pressed once, the selected elevator setpoint is incremented
|
||||
if self.joystick.getTriggerPressed():
|
||||
|
||||
Reference in New Issue
Block a user