Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Q. abuot autonomous Mode (http://www.chiefdelphi.com/forums/showthread.php?t=42905)

Ami Schwartz 29-01-2006 15:50

Q. abuot autonomous Mode
 
Hi, this is ami again from team #1657.

This time i'v got a Q. about the autonomous mode : after each game can i change my autonomous program ?


I mean that after game "A" i can pull it out and change it to a different program that will suit the next game ("B").


Thx alot "Hamosad team"

Andrew Blair 29-01-2006 16:08

Re: Q. abuot autonomous Mode
 
Yes. In fact, it's recommended to have multiple autonomous possibilities in order to compete more effectively. Theres plenty of space on the controller this year; just have a switch control which mode is run. There plenty of resouces on these forums for this. Good luck!

Cuog 29-01-2006 16:34

Re: Q. abuot autonomous Mode
 
basically use a switch(variable) block for what code u want to execute based on the digital inputs on your robot, like if switch1 is fliped incrment a vairable and for each switch flipped up it increments the value and in the switch have a case for each variable to execute each code.


All times are GMT -5. The time now is 01:03.

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