diff --git a/pygame_control.py b/pygame_control.py index 88b327d..a5aacc9 100644 --- a/pygame_control.py +++ b/pygame_control.py @@ -30,11 +30,6 @@ class Odrive: self.drive.axis0.motor.config.current_lim_margin = 30 self.drive.axis1.motor.config.current_lim_margin = 30 -odrv0.axis0.motor.config.current_lim = 70 -odrv0.axis1.motor.config.current_lim = 70 -odrv0.axis0.motor.config.current_lim_margin = 30 -odrv0.axis1.motor.config.current_lim_margin = 30 - def set_idle(self): self.drive.axis0.requested_state = AXIS_STATE_IDLE