Quote:
Originally Posted by Kyledoo
Hi all, we are competing in our second regional of the season this weekend(Buckeye) and we are having a little problem with our lifter arm.
When trying to control the movement of the arm up or down we are not achieving full power output. We can tell this because on the Dashboard feedback, the bar only goes about half as high as bars for our drivetrain. We have tried using both joysticks and buttons and everything gives the same results. We are programming in C++ and to set the power of the arm we simply declare the Victor as arm and then do arm->Set(stick2->GetY());
I was thinking there is some sort of calibration that is off, and don't know if this is a programming fix or the "hard reset" that I have read about when you recalibrate the victor using the reset button and some hard-coded values.
We applied battery voltage directly to the motor and it moves at the right speed.. Any help will be greatly appreciated!
|
We noticed the exact same thing when using the Victor class. Try using the Jaguar class instead... that worked for us. I know it sounds wrong and I understand that the hardware you are using is actually a Victor motor controller, but when we accidentally used a Jaguar object to interface to a Victor it worked great when we "fixed" it to be a Victor it had the same problem you describe.

I haven't taken the time to look at the implementation of the 2 classes (ie. Jaguar and Victor), but suffice it to say that it works "correctly" with the Jaguar object controlling a Victor motor controller.