Hello,
I ran into some troubles with my 56V Odrive V3.6.
First I followed the getting started guide but not all commands worked, for example:
In [4]: odrv0.config.enable_brake_resistor=True
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
~\AppData\Local\Programs\Python\Python38\Lib\site-packages\odrive\pyfibre\fibre\shell.py in <module>
----> 1 odrv0.config.enable_brake_resistor=True
~\AppData\Local\Programs\Python\Python38\Lib\site-packages\odrive\pyfibre\fibre\libfibre.py in __setattr__(self, key, value)
671 def __setattr__(self, key, value):
672 if self.__sealed__ and not key in dir(self) and not hasattr(self, key):
--> 673 raise AttributeError("Attribute {} not found".format(key))
674 object.__setattr__(self, key, value)
675
AttributeError: Attribute enable_brake_resistor not found
In [5]: odrv0.config.brake_resistance=2.0
In [6]: odrv0.config.dc_max_negative_current=-3
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
~\AppData\Local\Programs\Python\Python38\Lib\site-packages\odrive\pyfibre\fibre\shell.py in <module>
----> 1 odrv0.config.dc_max_negative_current=-3
~\AppData\Local\Programs\Python\Python38\Lib\site-packages\odrive\pyfibre\fibre\libfibre.py in __setattr__(self, key, value)
671 def __setattr__(self, key, value):
672 if self.__sealed__ and not key in dir(self) and not hasattr(self, key):
--> 673 raise AttributeError("Attribute {} not found".format(key))
674 object.__setattr__(self, key, value)
675
AttributeError: Attribute dc_max_negative_current not found
In [7]: odrv0.axis0.motor.config.torque_constant=270
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
~\AppData\Local\Programs\Python\Python38\Lib\site-packages\odrive\pyfibre\fibre\shell.py in <module>
----> 1 odrv0.axis0.motor.config.torque_constant=270
~\AppData\Local\Programs\Python\Python38\Lib\site-packages\odrive\pyfibre\fibre\libfibre.py in __setattr__(self, key, value)
671 def __setattr__(self, key, value):
672 if self.__sealed__ and not key in dir(self) and not hasattr(self, key):
--> 673 raise AttributeError("Attribute {} not found".format(key))
674 object.__setattr__(self, key, value)
675
AttributeError: Attribute torque_constant not found
When I tried the calibration sequence, it worked just fine
In [19]: odrv0.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE
Then i wanted to try the GUI, which connected to the odrive but also didn’t work.
I’m new in this topic, please say if you need more information.
Thank you, Alex