Quote:
|
Originally Posted by Billfred
It's only pwnage if you have an opponent.
One bug I noted: I just gave the lowbot the command of d. It alternates quickly between shooting and sucking, then goes to shoot and stays that way once you reach human control.
|
that because, and i believe this is in the directions, d works just like the toggle dump/suck key q or u. when you end the autonomous without a number, it will execute that command once per frame till the end of autonomous. so 12 times a second you are toggling between dump and suck. this can be fixed by adding a 1 after the d. so if you end your code with d1, it will toggle once to go to shoot, then wait till the end of autonomous. or you can get more complex and type somthing alnong the lines of d1p9p9p9p9d1 and after dumping everything (keeping in mind the lowbot dumps twice as fast as the midbot)* you will begin sucking again so you are ready to go once autonomous is over
hope that helps billfred, and i would like to note that i recognized your picture, and i was at the palmetto regional a few weeks ago as well, in fact i believe i paired with you and we won that match! you were mentoring and i was secondary driver for 422, the lowbot that can push real good. nice to talk to you again!
-turkey
*note from above, i looked it up and the midbot dumps 3 balls a second, and the the lowbot dumps 6. 12 frames in a second so a full load for the lowbot would take 10/6 of a second, or 20/12 meaning p9p9p2. but also, it takes a few seconds for the ball to get out of sucking range, so give it a good p9p9p9 for the lowbot, and p9p9p9p9p9 for the midbot and i think you should be good.