mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-20 22:55:00 +08:00
Set .use_index to false by default
This commit is contained in:
@@ -121,7 +121,7 @@ Motor_t motors[] = {
|
||||
.rotor_mode = ROTOR_MODE_ENCODER,
|
||||
.encoder = {
|
||||
.encoder_timer = &htim3,
|
||||
.use_index = true,
|
||||
.use_index = false,
|
||||
.index_found = false,
|
||||
.calibrated = false,
|
||||
.idx_search_speed = 10.0f, // [rad/s electrical]
|
||||
@@ -222,7 +222,7 @@ Motor_t motors[] = {
|
||||
.rotor_mode = ROTOR_MODE_ENCODER,
|
||||
.encoder = {
|
||||
.encoder_timer = &htim4,
|
||||
.use_index = true,
|
||||
.use_index = false,
|
||||
.index_found = false,
|
||||
.calibrated = false,
|
||||
.idx_search_speed = 10.0f, // [rad/s electrical]
|
||||
|
||||
Reference in New Issue
Block a user