Dear All,
I am having issues with controlling the Odrvie Pro via UART. I can set up and control the motor via USB when I am using Python with the odrivetools.
I want to control Odrive via UART from the STM32 board. I activated USART on STM32 and connected the boards as follows:
@Loren
Just to make sure, that way you didn’t need to import any library ? simply concatenate the command with a “w” at the begining and everything works just fine ?
Just to make sure,
in that message, there’s no “=” sign ? and what does the << sign means/do ?
The << symbol is a C program stream direction construct. It essentially directs what is to the right of the symbol to the object that is on the left.
The “w” is part of the Odrive language syntax. More examples and details of the ASCII syntax are found in the Getting Started section of Odrive documentation.
But it doesn’t work. I didn’t find any command in the list of UART commands.
Also, I know that my connection is good, because I can control my motor in torque mode and I don’t get the watchdog timeout error, hence I know the controller constantly receives a command.