I have tried to make the kicker by the state machine way,, with the Enums and everything. But it was a lot of case structures. i made it worked with just 3 if statements so that is not my problem.
But what
is my problem is that i want it to kick when (2) values of 2 switches is true. I did it by adding another Case structure in autonomus over the two "True" cases and did the solenoid extend and retract.
I am asking if there is a better way > to do this. Like a ( + ) that adds the true values. maybe? i have written the code and posted it,, in my attachments above. If you know a way to do this tell me!
1514
Whcirobotics