When I ran the odrivetool, it comes error message like this:
Could not init terminal colors
Traceback (most recent call last):
File “C:/Python/Scripts/odrivetool”, line 81, in
logger = Logger(verbose=args.verbose)
File “C:\python\lib\site-packages\odrive\utils.py”, line 238, in init
self._stdout_buf = win32console.GetStdHandle(win32console.STD_OUTPUT_HANDLE)
NameError: name ‘win32console’ is not defined
Try pip install pywin32.
Thanks for reporting, I’ll add the missing dependency to the python package. Note though that the current version of odrivetool is still a prerelease version.
While I try to place some command in odrivetool, It came out AttributeError, does that mean I put something wrong in my command?
I just copy and paste the command from DOC (http://docs.odriverobotics.com/#configure-m0)
Which version of the firmware are you running? Older versions object tree looks different. Try using tab complete to see the layout of the object tree.
Apologies, it should be at odrv0.motor0.current_control.config.current_lim. You can check how the tree is built here. You can also check with tab complete, or like you did by dumping the container only.