Closed n3roGit closed 9 months ago
I put this in the motor_by_rpm branch. 36f21eea86435f680d1b420bdd84f893a5a3935c
I put this in the motor_by_rpm branch. 36f21eea86435f680d1b420bdd84f893a5a3935c
Whats happening when motor is jammed on startup? In this case ampere rises and we have no RPM
.
We need to monitor the value for getVescUart().data.rpm while the motor is running. If it is not approaching the desired speed as expected or if it suddenly stops, we assume that something has jammed. the motor must then be stopped immediately.
You could also use getVescUart().data.avgInputCurrent, as a strong fluctuation in the current consumption could also be an indication.