|
Re: Utlizing the Driver Station to Assist Autonomous Mode
By putting the necessary code into the "Disabled" VI, you can create a small VI to use joystick buttons to increment a global variable. Use that global variable in your autonomous VI to select the routine you want to run. You can feed this back to either a custom dashboard, or use the "User Messages" VI (which feeds back to the user display in the lower left of the driverstation) so you can actively watch what you're selecting.
In this manner you don't need to build any switch, and can select the routine to run after your drivers hook everything up on the field and turn the robot on.
Remember: Disabled only means that outputs on the robot aren't set. Your code in the disabled VI is still running, so you can do work there.
|