|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Re: Utlizing the Driver Station to Assist Autonomous Mode
Switches or similar sensors either on the robot or on the driver station (value read during autonomous disabled and stored) are common ways to have multiple autonomous modes.
Before the match set the switches for the appropriate mode and you're all set. You will be able to have 2^(N) modes where N is the number of switches used. |
|
#2
|
||||
|
||||
|
Re: Utlizing the Driver Station to Assist Autonomous Mode
You can even use switches to set the number of seconds of delay you use in an autonomous with said switches. Could be useful for cooperation with alliance partners.
|
|
#4
|
|||
|
|||
|
Re: Utlizing the Driver Station to Assist Autonomous Mode
Quote:
Quote:
Quote:
Thank you so much for all of the great advice, guys! |
|
#5
|
||||
|
||||
|
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. |
|
#6
|
|||
|
|||
|
Re: Utlizing the Driver Station to Assist Autonomous Mode
how could you use joystick buttons to increment a global variable?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Driver Station for Autonomous | shrimp | Control System | 5 | 03-03-2009 17:05 |
| Driver station communication during autonomous | drosophyllum | Control System | 1 | 23-02-2009 21:39 |
| paper: Set and display your Auto-Mode using LabVIEW and the Driver Station | PhilBot | Extra Discussion | 0 | 11-02-2009 12:32 |
| Updating the Driver Station | PHSRobotics | FRC Control System | 1 | 25-01-2009 19:11 |
| Mounting the Driver Station...? | 1708xMr.Roboto | FRC Control System | 1 | 15-12-2008 12:34 |