Quote:
Originally Posted by chopperdudes
yeah in the ontario regionals alot of stuff like that happened.
also in one of our matches, we didn't loose COMPLETE joystick controls, but it somehow seemed VERY offset. i'm pretty sure we still had control because i do recall the button we coded for 100% forward still works. but the joysticks seem to be offset, and the robot itself started moving backward and knocked our teammates off the ramp. but with alot of luck we managed to score 2 pucks into the high goal and won the match lol.
the thing is though, i think we wiggled the joystick before the teleop mode, so maybe when it looked for center, it ain't rly center. (i really don't know how to explain this).... so from then on, we wait until at least one of the other robots to move before us moving.
|
We found that when you connect the joysticks to the USB, whatever position the analog controls are at the time power is connected is considered to be zero. (Unfortunately we had that confirmed in round 5 in Atlanta.) This zero setting appears internal to the joystics themselves, so there's no apparent way to correct for this in software that we could find.
If (as in our case) one of the joysticks is sitting on the other and the analog control is initialized uncentered, the only way to clear that is to unplug them, wait a moment, replug, and re-scan for the joysticks.