[SOLVED] Reading MotorType value over ASCII

As part of my programs startup sequence, I would like the microcontroller to check if the motortype parameter is set correctly.

In the ODrive Reference documentation there is a command to request motor type, however, it does not seem to work. I get a return value of ‘invalid parameter’. I am pretty confident in my syntax from sensor polling other data points in the same data category.

What is the correct command to ask for the motor type set on axis0 ?


The correct command is as follows.
r axis0.motor.config.motor_type

1 Like