|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
This year my team was thinking on having multiple autonomous methods depending on where we were starting on the field/what the teams in our alliance could do. One of the other mentors for the team saw physical switches when she was a judge last year in NJ on some robots. Does anyone know about this? Is there an easier way to have multiple auton methods?
|
|
#2
|
||||
|
||||
|
Re: Autonomous Switch?
Quote:
|
|
#3
|
||||
|
||||
|
Re: Autonomous Switch?
Physical switches are a tried and true method, having been used by teams for over a decade. They will work when mounted on either the OI or the robot itself. During auto when you try to read the state of the OI you get whatever the values were before it went into auto.
|
|
#4
|
|||
|
|||
|
Re: Autonomous Switch?
Last season we had a bunch of switches on our driver station and certain configurations were for different modes.
|
|
#5
|
||||
|
||||
|
Re: Autonomous Switch?
The switches are just treated like another limit switch. We always used rotary switches until our programmers took over the task, but simple on-off switches can be used. One switch = two options. Two switches = 4 options.
|
|
#6
|
||||
|
||||
|
Re: Autonomous Switch?
There are many ways to connect physical switches to your DS if you want to do that vs software buttons on your SmartDashboard. Many revolve around using USB connected I/O boards that mimic an HID class such as a joystick. Or you could just use an old joystick to cannibalize the innards and rewire the button inputs to physical switches on your DS. It'll then show up as another joystick and you just use the buttons as usual.
|
|
#7
|
|||
|
|||
|
Re: Autonomous Switch?
We use something like this:
https://www.amazon.com/Reyann-Arcade...dp/B00UUROWWK/ It let us build a switch pad with over 15 switches, and connect it to the Driver Station. |
|
#8
|
||||
|
||||
|
Re: Autonomous Switch?
Quote:
|
|
#9
|
|||
|
|||
|
Re: Autonomous Switch?
We code ours into smartdashboard. Then you can do not only buttons, but speed, direction, drive duration, etc, all tweakable.
Makes tweaking auto mode *alot* quicker. |
|
#10
|
||||
|
||||
|
Re: Autonomous Switch?
If you go with switch on the robot method, you wire them the DIO on the robrio. Input to ground (0V). The input reads 1 or true when the switch is off and 0 or false when the switch is on. The DIO can be read when the robot is disabled.
|
|
#11
|
|||
|
|||
|
AUTON QUESTION?
At the beginning of the match it states that robots can hold up to 10 fuel and 1 gear. If your team mates don't want to use fuel in auton can a team then have 30 fuel?
|
|
#12
|
|||
|
|||
|
Re: Autonomous Switch?
For the past 2 years we have used a rioduino with touchscreen to create an autonomous control panel on the bot.
It gives the programming team additional learning opportunities. |
|
#13
|
|||||
|
|||||
|
Re: Autonomous Switch?
One of our lessons learned, which we will be implementing next year, is eliminating any reliance on the smart dashboard. We'll be putting our auto mode selection on the robot. We have been burned too many times by a malfunctioning smart dashboard on our control station computer. It always seems to happen at the worst possible time.
I hope to never again have this conversation: "Why did the robot just sit there in auto?" "The smart dashboard crashed just before the match, and we didn't have time to restart it." |
|
#14
|
||||
|
||||
|
Re: Autonomous Switch?
Quote:
Anyhow, not speaking from experience or anything, but consider alternatives for selecting autonomous modes in competition. SmartDashboard is great for practice and development adjustments however. Coding multiple autons is really easy though. If statements, or switch cases, that call each method depending on the state of a sensor on the robot (e.g. a potentiometer or series of switches), or the state on SmartDashboard. |
|
#15
|
||||
|
||||
|
Re: Autonomous Switch?
any info on using the RIOduino to control the auton would be appreciated...
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|