So the Odrive is driving a “gimbal” motor(ratings are 2.8A and 49v and it is rated for 3000rpm) it’s an industrial servo motor. I plan on getting some higher resistance shunt resistors to run it as a high current motor eventually. The problem is that SOMETIMES the motor goes faster in one direction, this is position control, it starts going the same speed both ways then it starts drifting to faster one way and slower the other, it also draws increased current when going slow. I already checked to be sure the encoder was secured to the motor. Any ideas why I could try to fix this
Hm it’s a bit hard to visualise what you are describing. Maybe a video or some plots would help.
Here’s a video of it slowing down in one direction, it is being driven by an arduino with serial commands. You can definitely hear the speed variations as is running.
What is the base speed of the motor (kv * bus voltage), what speed are you running the motor at?
Did you change the
.encoder.config.calib_range from the default?
The motor is rated 3000rpm at 49v, and the Odrive supply voltage is 41v. I’m not exactly sure what speed it is but it’s around 1000-2000rpm. I haven’t touched .encoder.config.calib_range I just researched it and is the calibration precision what it changes? If so should it be changed from default.