|
Pre-autonomous OI communication
From one of the FIRST updates I got the listing of the bit states in the PB_MODE byte for each phase of the competition. They indicated that the OI would be sending data to the robot up until the start of the human player period. Since the OI is supposed to talk to the RC during that time, we moved the program selection switch from the RC to the OI to save space.
There is a BCD thumbwheel switch (0-9) that the flight crew will use to select the autonomous program. We have a local variable storing the number, updating it only when comp_mode = 1 and auton_mode = 0. I'm assuming that during the 10 seconds the human players are on the field the OI will be sending the data to the RC, but the flight crew will have to be behind the line.
Can anyone who may be using the same method and tried it over the weekend let me know if it worked? Thanks
|