Re: [OCCRA]: Template - autonomous
Mike,
I think you are wrong. I have not personally used the template before, however, FTC has used similar templates before. The template allows us to automatically jump from 15 second autonomous (no remote control operation) to remote control operation for the 120 second period.
I imagine that the programming blocks used for remote control operation will
not work in the autonomous program block. Whether you can actually copy and paste them, and then they don't operate as expected or Easy_C doesn't even allow you to copy the remote control functions into the autonomous template - I will do some experimentation when I get home.
Can you post your program so I can look at it? You will need to find two files associated with our program, zip them together and then post with your message. At first blush, once autonomous is activated, reading a switch
should operate without much issue. Are you using an IF statement like
(If variable = pressed ) [ This is always true and the ELSE statement will never be run], rather than the proper statement (IF variable == pressed) [ Note the double equal sign].
Last year there was no need to use a template because we were running autonomous operation only. With this year's introduction of remote controlled period, use of the template became meaningful.
__________________
Marc Center 
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377
|