From cdb8f40109da6e8addffedf52ea9f6237183a622 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 4 May 2021 21:05:18 +0100 Subject: [PATCH] Update --- pygame_control.py | 5 ----- 1 file changed, 5 deletions(-) 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