|
Re: Multiple Autonomous Program Selection via Dashboard input
I am zipping up the Dashboard and the Robot Project files for others to reference.
There are some not so subtle changes between the FRC2014 and FRC2015 software. It took me a while to add features to the FRC2015 software to operate similiarly. Here's some items you might want to look at in the attached program.
1) The ability to select multiple (4) autonomous programs via the Dashboard buttons.
2) The ability to display string information from the teleop program (in this case, the program version, my name and RoboRavens 2).
3) The ability to program autonomous motor speed via the sliders in the dashboard. This allows rapid prototyping in autonomous without rebuilding and deploying the code. The dashboard slide scale was modified for a range of minus one to plus one versus the standard zero to five.
4) In the periodic VI I have added logic that allows the operator to modify the elevator motor position based on the joystick, gamepad buttons and a learn mode that allows the operator to learn (or reset) a position and output that value without the joystick. This was designed to allow the operator to adjust and "hold" the front tote elevator in a given position.
5) In order to operate properly you will need to deploy and run as startup the V16.zip files. You will also need to build the Dashboard files and copy and paste all three created files in the Dashboard build directory into the Dashboard directory in a different location (C:\Program Files (x86)\FRC Dashboard) on my laptop.
__________________
Marc Center 
FIRST FRC Mentor/Coach - Team 3548 Royal Oak RoboRavens#2 - on Sabbatical 2017 season
marc.center@gmail.com
Mobile: 248-255-7377
Last edited by marccenter : 03-02-2015 at 09:35.
Reason: more info
|