|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Autonomous Switching
What do you use for your digital inputs to trigger one mode or another? Limit switches? Bumper switches? And do you use mechanical means to hold them in position (levers that lock the toggles into one position or another)? Or am I making this too complicated?
|
|
#2
|
|||||
|
|||||
|
Re: Autonomous Switching
What we've been doing is putting a potentiometer on the Operator Interface, marking positions on it... and using it for autonomous selection. Even though your robot is disabled at the beginning of a match, it still reads what value the potentiometer is sending. This allows for unlimited autonomous modes.
The code is just saying that if the value is 0-50, then do one autonomous, and if it is between 50-100 do another, etc. or whatever values you want based on how many auto modes you have. |
|
#3
|
||||
|
||||
|
Re: Autonomous Switching
Cody,
I think that you are confusing FRC and FVC... Mike Yolande, Just use the orange jumpers that came in your VEX kit... Mike |
|
#4
|
||||
|
||||
|
Re: Autonomous Switching
You cannot use a potentiometer in Vex. There are none in the vex kits, so any other pot you get would not be a legal Vex part for competition. You can use the Orange jumpers like the previous post suggested. If you've misplaced these, you can use a limit switch with a rubber band or cable tie holding down the switch.
|
|
#5
|
||||
|
||||
|
Re: Autonomous Switching
Just use the jumpers and it's very trivial. If your microcontroller is in a relatively difficult to reach place, I suggest running some PWM extension cables so you can plug the jumpers in wherever is most convenient.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Switching Channels | Fred Agnir | Control System | 5 | 20-01-2006 20:54 |
| Question about switching autonomous modes | DemonYawgmoth | Programming | 2 | 23-03-2005 17:02 |
| switching joysticks | ten3brousone | Control System | 1 | 06-03-2005 20:51 |
| switching joysticks | ten3brousone | Electrical | 1 | 06-03-2005 20:51 |
| Switching allys? | archiver | 1999 | 1 | 23-06-2002 22:34 |