Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   autonomous (http://www.chiefdelphi.com/forums/showthread.php?t=104973)

gurdy2 23-03-2012 16:22

autonomous
 
how would you generally code autonomous? As in the commands and structure.

Mark McLeod 23-03-2012 16:46

Re: autonomous
 
Here's just one simple example.

Jay1986 24-03-2012 21:27

Re: autonomous
 
i wouldn't use sequence structures if I were you, you should use a line of while loops that ends and starts the next. In your first while loop you should reference everything that you are planing on using during autonomous. The next while loops would be your actions you want too happen. For advice, I would bundle all of the reference names together and pass that through the line of while loops and unbundle in each one. This makes code much cleaner and is needed to start the next loop. For an example autonomous, you should have your shooter speed up in the first loop and let it wait until its speed up, one that is hit, stop that loop and the next will start the first ball to shoot while continuing the shooter, then wait for it to speed back up and shoot your next ect.


All times are GMT -5. The time now is 04:15.

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