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 〉Encoder 〉Config

Attributes

mode  —  Mode    readwrite

use_index  —  bool    readwrite

find_idx_on_lockin_only  —  bool    readwrite

abs_spi_cs_gpio_pin  —  uint16    readwrite

zero_count_on_find_idx  —  bool    readwrite

cpr  —  int32    readwrite

offset  —  int32    readwrite

pre_calibrated  —  bool    readwrite

offset_float  —  float32    readwrite

enable_phase_interpolation  —  bool    readwrite

bandwidth  —  float32    readwrite

calib_range  —  float32    readwrite

calib_scan_distance  —  float32    readwrite

calib_scan_omega  —  float32    readwrite

idx_search_unidirectional  —  bool    readwrite

ignore_illegal_hall_state  —  bool    readwrite

sincos_gpio_pin_sin  —  uint16    readwrite

sincos_gpio_pin_cos  —  uint16    readwrite

Functions

This interface has no functions.