Autonomous Programs On the brain


#1

I was wondering since I don’t have V5 yet, do I need to make 8 different programs to have 8 different autonomous programs and put them in each slot of the brain or is there a way to load autonomous files into the main program?


#2

You would normally name 1 program that has 8 different autonomous functions and choose between them using whatever system you implement.


#3

@tabor473 how do I program that into the brain. I’m guessing I have to pick on the screen correct?


#4

You implement whatever system you want to use. You can even just download your program every match with a variable changed.


#5

You can do it any way you want. One program with all the autonomous, or several programs that run individually. It’s all how you code it.


#6

Is there a way to utilize the touchscreen on the brain to choose the autonomous?


#7

Yes. Watch for touches in


main

and store information in global variables that


autonomous

can refer to.


#8

@Joshua_L Here is what Kselva wrote

Im not sure myself, if u figure it out tell me plz

@John TYler What do you mean watch for touches in the


main

?


#9

I found this post.


#10

That was very cash money of you
Since I moved to PROS, I think i may release my C++ Pro code of my menu screen which uses buttons sometime today.


#11

@Joshua_L Thx budd

@[TVA]Connor plz do