|
Re: Arm motor not moving at full strength, recalibration necessary?
I think you're seeing a display issue only. Check the LED on the victor. If it goes solid green or red, that means it's getting full power.
The Jaguar uses a longer PWM pulse then the victor does. Thus, the PWM class (which Jaguar and Victor extend), has to work with both. It uses 251 PWM for the longest pulse a jaguar can take. 210 is the longest pulse a Victor can take. You can see these values in the initVictor and initJaguar functions. When the dashboard sends values, it uses the raw PWM values, so the largest value you'd ever see is 210, which would look approximately half speed on the dashboard display. The LED on the victor really says what speed it's going.
Changing from the victor class to the jaguar class fixed the display issue, but it can really confuse the victor controller, since it is now being updated faster then it can take, and with longer pulses then it was designed for.
If you want to fix the dashboard display, you can scale the values for the victors up to a 0-254 range. That would be the best solution.
|