i am using 9235-100KV Turnigy Multistar Brushless Multi-Rotor Motor
i am not sure with the parameters
import odrive
from odrive.enums import *
import time
import keyboard
print(“A procurar odrive…”)
odrv = odrive.find_any()
print(“Odrive encontrado.”)
print(“Initializing Parameteric Evaluation Testing”)
odrv.axis0.motor.config.current_lim=30
odrv.axis0.motor.config.calibration_current=30
odrv.config.brake_resistance=3
odrv.axis0.motor.config.pole_pairs=20
odrv.axis0.encoder.config.cpr=4000
odrv.axis0.controller.config.pos_gain = 20.0
odrv.axis0.controller.config.vel_gain = 5.0 / 10000.0
odrv.axis0.controller.config.vel_integrator_gain = 10.0 / 10000.0
odrv.axis0.requested_state = AXIS_STATE_FULL_CALIBRATION_SEQUENCE
print(“Motor Sequence Complete”)