sahil-kale / basilisk-actuator-control-lib

Hardware-agnostic library enabling field oriented control of of PMSM and BLDC Motors
https://sahil-kale.github.io/basilisk-actuator-control-lib/
1 stars 0 forks source link

Issue error if params are missing phase inductance #37

Closed sahil-kale closed 10 months ago

sahil-kale commented 10 months ago

if the phase inductance is not set we can't determine kp and ki. we'll also get a div0 error... oops

sahil-kale commented 10 months ago

Edit: this behaviour may lend itself nicely to just calibrating the phase inductance and resistance ourselves