So… our motors seem to be underperforming. There has to be a way to make them go faster.
^ ^ ^ I know that there’s a motor friendly way to calibrate according to joystick min and max values. I’m wondering if there’s a way to do this manually, based on the FRC Java library functions.
public void setBounds(double max, double deadbandMax, double center, double deadbandMin, double min)
max - The max PWM pulse width in ms
deadbandMax - The high end of the deadband range pulse width in ms
center - The center (off) pulse width in ms
deadbandMin - The low end of the deadband pulse width in ms
min - The minimum pulse width in ms
What do these variables mean and how does one determine these values?.. or if there’s a different function I should be using…
Also, there seems to be two types of deadband: one related to transistors, H-bridges and whatnot; one related to input and output values. Any clarification on this would be much appreciated.
As far as I’ve researched: PWM only does speed. Something else controls the positive and negative, which results in motor direction. So would that mean
min is always 0? Then what does
center mean? Is it not when the joystick is centered?