|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#8
|
||||
|
||||
|
Re: Using Switches in Autonomus
I like Alan's recommendation of using a global variable, but why not put the switches on the 'bot instead of the DS?
During the setup time between matches you place your 'bot and set your switches accordingly. We never actually implemented the full code last year, but we had some switches on the 'bot that we could set based on which starting square we were starting in. This way, the Auto code can know its starting position as soon as it starts up. Regrettably, our autonomous code never got that mature and the switches were left unused ... go figure! |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Limit Switches in LabVIEW | VeedotJaydot | NI LabVIEW | 2 | 14-02-2009 16:01 |
| Toggling boolean using 2 limit switches | Quarkster | NI LabVIEW | 2 | 02-02-2009 22:43 |
| Using Limit Switches with the Arm | iwin2000 | Programming | 3 | 18-02-2008 03:52 |
| Using Switches on the Operator Interface | CronosPrime1 | Programming | 41 | 16-02-2006 11:43 |
| using limit_switch_max/min in autonomus | CmptrGk | Programming | 4 | 11-02-2005 11:32 |