Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
motor::brushless Namespace Reference

Functions

RPM controllerVoltageToSpeed (const Volts &volts, const RPMPerVolt &kv)
 
Volts speedToControllerVoltage (const RPM &speed, const RPMPerVolt &kv)
 

Function Documentation

◆ controllerVoltageToSpeed()

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.

◆ speedToControllerVoltage()

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.