The docs reflect firmware version 0.5.1. There are many breaking changes. Please find docs for v0.4.12 here.

ODrive Documentation

High performance motor control

View the Project on GitHub madcowswe/ODrive

Help improve these docs: submit edits using the link in the top right.

If you need help, please search or ask the ODrive Community.

ODrive 〉Config

Attributes

enable_uart  —  bool    readwrite

uart_baudrate  —  uint32    readwrite

enable_i2c_instead_of_can  —  bool    readwrite

enable_ascii_protocol_on_usb  —  bool    readwrite

max_regen_current  —  float32    readwrite

brake_resistance  —  float32    readwrite

dc_bus_undervoltage_trip_level  —  float32    readwrite

dc_bus_overvoltage_trip_level  —  float32    readwrite

enable_dc_bus_overvoltage_ramp  —  bool    readwrite Experimental

dc_bus_overvoltage_ramp_start  —  float32    readwrite Experimental

dc_bus_overvoltage_ramp_end  —  float32    readwrite Experimental

dc_max_positive_current  —  float32    readwrite

dc_max_negative_current  —  float32    readwrite

gpio1_pwm_mapping  —  Endpoint

gpio2_pwm_mapping  —  Endpoint

gpio3_pwm_mapping  —  Endpoint

gpio4_pwm_mapping  —  Endpoint

gpio3_analog_mapping  —  Endpoint

gpio4_analog_mapping  —  Endpoint

Functions

This interface has no functions.