|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#7
|
||||
|
||||
|
Re: Python: button no attribute to wpilib ?
So I ran your code and noticed that the error was wpilib.motorsafety... to fix this, under
Code:
self.robot_drive=wpilib.RobotDrive(self.motor1,self.motor2) Code:
self.robot_drive.setSafetyEnabled(False) Code:
self.teleopPeriodic() Code:
wpilib.Timer.delay(.01) |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|