This commit is contained in:
Max 2021-05-04 21:05:18 +01:00
parent 8731b22a75
commit cdb8f40109

View File

@ -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