|
Fang-Robotics-MCB
Fang Robotics Team Codebase
|
Functions | |
| RPM | controllerVoltageToSpeed (const Volts &volts, const RPMPerVolt &kv) |
| Volts | speedToControllerVoltage (const RPM &speed, const RPMPerVolt &kv) |
| RPM motor::brushless::controllerVoltageToSpeed | ( | const Volts & | volts, |
| const RPMPerVolt & | kv | ||
| ) |
This provides the speed that the motor will output to achieve the given output voltage from the controller.
| Volts motor::brushless::speedToControllerVoltage | ( | const RPM & | speed, |
| const RPMPerVolt & | kv | ||
| ) |
This provides the voltage that the controller will output to achieve the given speed on the motor.