Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Technical Discussion (http://www.chiefdelphi.com/forums/forumdisplay.php?f=22)
-   -   Autonomous did not work at official field but ok at practice field (http://www.chiefdelphi.com/forums/showthread.php?t=115792)

Alan Anderson 05-04-2013 23:14

Re: Autonomous did not work at official field but ok at practice field
 
That autonomous code only tells about a third of the story. There's obviously more going on in another vi, most likely Periodic Tasks. The VI with the global variables would also be good to see, as would Begin.

If you zip up the entire robot project for us to look at, we can get a complete picture of what might be giving you trouble with autonomous mode.

ykarkason 06-04-2013 07:31

Re: Autonomous did not work at official field but ok at practice field
 
Exactly the same thing happened to us in the Israel Regional, and after a lot of research we actually figured out why it happened to us:

We retrieved the speed for our shooter to spin from the driver station with NetworkTables, and it seems as if on the field it only starts to transmit NetworkTables data when they start the game(in a regular situation it starts sending the values as soon as the driver station connects to the robot) - this caused the robot to think he didn't have to spin the wheels, and because the encoders showed him he was within the tolerance - the acsenter in our robot started to push the Frisbee towards the wheels - but the wheel didn't spin, so the Frisbee got stuck, eventually the robot did receive the value, (but it seems as if the wheels in our shooter doesn't have much torque, and it wasn't enough to shoot the frisbee), but the front wheel did spin, as it got the speed it should spin in.
And so we lost that game - as our robot could not shoot, and we just had to give up autonomous.

I discovered that this is the reason because one of the teams from our regional played in the DC regional and the same miscommunication on the start of the match happened to them as well - the solved it by adding a two seconds delay in start of the autonomous.

To verify that the same thing happened to you, do you use NetworkTables to put crucial data to the robot?

ykarkason 15-04-2013 06:07

Re: Autonomous did not work at official field but ok at practice field
 
Bump! I'm just really curious if it happened to anybody else.


All times are GMT -5. The time now is 00:22.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi