Go to Post I am used to politicians getting up and being blowhards. - Steve W [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-01-2010, 19:54
Imadapocalypse's Avatar
Imadapocalypse Imadapocalypse is offline
The Walking Contradiction
AKA: Bryce Ribucan
FRC #2443 (Blue Thunder)
Team Role: Leadership
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Hawaii
Posts: 40
Imadapocalypse is an unknown quantity at this point
Send a message via AIM to Imadapocalypse
Autonomous Program Switch

I am not sure if this is entirely possible but i was wondering if it possible to create a physical switch on your robot to toggle between autonomous programs.
__________________
The needs of the many out-weigh the needs of the few and the one

  #2   Spotlight this post!  
Unread 09-01-2010, 20:05
ATannahill ATannahill is offline
Registered User
AKA: Alex Tannahill
no team
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Southfield, Michigan
Posts: 3,259
ATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond repute
Re: Autonomous Program Switch

Since the robot responds to on board sensors, it sounds very possible.
__________________

- Arizona North
  #3   Spotlight this post!  
Unread 09-01-2010, 20:05
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,825
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Autonomous Program Switch

Quote:
Originally Posted by Imadapocalypse View Post
I am not sure if this is entirely possible but i was wondering if it possible to create a physical switch on your robot to toggle between autonomous programs.
I don't see anything saying you can't. It's been done before, admittedly with the IFI system. (I don't know of any with the cRIO yet.)
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #4   Spotlight this post!  
Unread 09-01-2010, 20:07
AcesJames's Avatar
AcesJames AcesJames is offline
Mentor, still learning
AKA: James Temple
FRC #2170 (Titanium Tomahawks)(EWCP)
Team Role: Mentor
 
Join Date: Apr 2009
Rookie Year: 2008
Location: Broad Brook, CT
Posts: 228
AcesJames has a reputation beyond reputeAcesJames has a reputation beyond reputeAcesJames has a reputation beyond reputeAcesJames has a reputation beyond reputeAcesJames has a reputation beyond reputeAcesJames has a reputation beyond reputeAcesJames has a reputation beyond reputeAcesJames has a reputation beyond reputeAcesJames has a reputation beyond reputeAcesJames has a reputation beyond reputeAcesJames has a reputation beyond repute
Send a message via AIM to AcesJames Send a message via MSN to AcesJames
Re: Autonomous Program Switch

Our team did just this in 2009. We had a physical switch on our robot that was used depending on the way we were positioned on the field. It had 2 settings, one being for the left, and one for the right sides of the field.

So to answer your question, yes, it is possible, and very helpful in some situations.
__________________
FRC 176 - Aces High - 09-12 - Student
FRC 229 - Division By Zero - 13-14 - "Mentor"
FRC 2170 - Titanium Tomahawks - 17-Now - Mentor
  #5   Spotlight this post!  
Unread 09-01-2010, 20:28
DanDon's Avatar
DanDon DanDon is offline
ohhh MY god
AKA: Dan Hoizner
FRC #0375 (The Robotic Plague)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Staten Island, NY
Posts: 1,432
DanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond reputeDanDon has a reputation beyond repute
Send a message via ICQ to DanDon Send a message via AIM to DanDon Send a message via MSN to DanDon
Re: Autonomous Program Switch

Yes it is possible, 375 used the same system last year. What I'm wondering though, is if it is possible to accomplish the same goal using this year's driver's station. It seems as if you can toggle the digital inputs on the robot from the DS.
__________________
  #6   Spotlight this post!  
Unread 09-01-2010, 20:45
miniman's Avatar
miniman miniman is offline
Registered User
FRC #0701
 
Join Date: Sep 2007
Rookie Year: 2007
Location: fairfield
Posts: 10
miniman is an unknown quantity at this point
Re: Autonomous Program Switch

It will be possible, the robot should be able to read the states of any switches on the classmate PC break out (FirstTouch I/O Module, CY8CKIT-003).
__________________
--The most exciting phrase to hear in science, the one that heralds new discoveries, is not 'Eureka!' (I found it!) but 'That's funny ...' -Issac Asimov
  #7   Spotlight this post!  
Unread 09-01-2010, 20:50
Imadapocalypse's Avatar
Imadapocalypse Imadapocalypse is offline
The Walking Contradiction
AKA: Bryce Ribucan
FRC #2443 (Blue Thunder)
Team Role: Leadership
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Hawaii
Posts: 40
Imadapocalypse is an unknown quantity at this point
Send a message via AIM to Imadapocalypse
Re: Autonomous Program Switch

Quote:
Originally Posted by AcesJames View Post
Our team did just this in 2009. We had a physical switch on our robot that was used depending on the way we were positioned on the field. It had 2 settings, one being for the left, and one for the right sides of the field.

So to answer your question, yes, it is possible, and very helpful in some situations.
Just what we wanted to hear. I am assuming you could have 3 different settings on a given switch. Could you fill us in on how you were able to make the switch?
__________________
The needs of the many out-weigh the needs of the few and the one

  #8   Spotlight this post!  
Unread 09-01-2010, 22:40
Enigma's puzzle's Avatar
Enigma's puzzle Enigma's puzzle is offline
Strategery
AKA: Matt Brechting
FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Sparta MI
Posts: 261
Enigma's puzzle is a splendid one to beholdEnigma's puzzle is a splendid one to beholdEnigma's puzzle is a splendid one to beholdEnigma's puzzle is a splendid one to beholdEnigma's puzzle is a splendid one to beholdEnigma's puzzle is a splendid one to beholdEnigma's puzzle is a splendid one to behold
Re: Autonomous Program Switch

You would wire the switch into the digital ports on the side of your onboard control board (cant think of the right word for the life of me).
__________________

  #9   Spotlight this post!  
Unread 09-01-2010, 22:48
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Autonomous Program Switch

If you want to use a toggle switch with two positions, you would connect the standard toggle switch between the two outer wire (GND, black and SIG, white or yellow) on a standard PWM cable and connect it to the Digital IO section on the Digital Sidecar. If the input is read as HIGH or 1, then the switch is off. IF the input is read as LOW or 0, the switch is on. If you need more positions, you could either add more switches to more digital inputs OR:

Wire several resistors with different values paralell to each other and fed by the +5 (center, red) wire on a PWM cable. Each would be connected to a different position on a multi-position rotary switch and the output of the switch would be fed to the SIG (white) wire on the PWM cable, which would be connected to a analog input on the analog breakout board of the cRio.

If you want to set an analog value, such as a wait delay, you could wire a pot with the outer wires to +5 and GND and the wiper to SIG and connect that to an analog input.

We have done all three of these, no problems. One thing to watch for is if you get a signal from the Driver Station during Auton, it might just send 0's for the joysticks and dig. io's when in auto so you can't drive in auton. In that case, you would have to put it on the robot.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #10   Spotlight this post!  
Unread 10-01-2010, 10:12
Unsung FIRST Hero Woodie Flowers Award
Chris Fultz Chris Fultz is offline
My Other Car is a 500 HP Turbine
FRC #0234 (Cyber Blue)
Team Role: Engineer
 
Join Date: Jan 2002
Rookie Year: 1942
Location: Indianapolis, IN
Posts: 2,837
Chris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond reputeChris Fultz has a reputation beyond repute
Re: Autonomous Program Switch

In 2009 we used two rotoray switches.

Switch one was a three position, to note our starting point on the field, and switch 2 was a 10 place selector to tell the robot what path to drive and each was adjusted as needed based on the input from switch 1.

They could be set when we placed the robot on the field.
__________________
Chris Fultz
Cyber Blue - Team 234
2016 IRI Planning Committee
2016 IndyRAGE Planning Committee
2010 - Woodie Flowers Award - Championship
  #11   Spotlight this post!  
Unread 10-01-2010, 10:29
Big Kid's Avatar
Big Kid Big Kid is offline
The Coach
AKA: Nick Acosta
FRC #0816 (WesTech Anomaly)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2008
Location: Westampton, NJ
Posts: 124
Big Kid is a jewel in the roughBig Kid is a jewel in the roughBig Kid is a jewel in the rough
Send a message via AIM to Big Kid
Re: Autonomous Program Switch

Last year, I was able to do this with ours with a few switches connected to the I/O of the Digi. Sidecar. It was somewhat simple, just setting up the programming for it was long. Besides that is works like a charm I think we had 8 possible auto. we only used 4 or 6 max.
__________________
Team 816
Student (2007-2011)
Mentor/Drive Coach (2013-)

Team 2495
Mentor (2016-)

Graduate Mech. Engineer at Lehigh University
  #12   Spotlight this post!  
Unread 10-01-2010, 10:42
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 756
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: Autonomous Program Switch

Quote:
Originally Posted by Big Kid View Post
Last year, I was able to do this with ours with a few switches connected to the I/O of the Digi. Sidecar. It was somewhat simple, just setting up the programming for it was long. Besides that is works like a charm I think we had 8 possible auto. we only used 4 or 6 max.
It's actually much more convinient to do it in software.

We used one of the Joystick buttons to step through auto mode options.
They only worked when the robot was disabled in auto mode.
It saved the auto mode number in a file on the cRIO, so it remembered it next time it powerd up.

It also displayed the name of the program on the LCD display, so it will still work with the new DS's.

The beauty of this method is that if you forget to set the mode when you position the robot, you can still change it up until the time you have to step away from the driver station.

I wrote a white paper last year....

http://www.chiefdelphi.com/media/papers/2209
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
  #13   Spotlight this post!  
Unread 10-01-2010, 15:03
Big Kid's Avatar
Big Kid Big Kid is offline
The Coach
AKA: Nick Acosta
FRC #0816 (WesTech Anomaly)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2008
Location: Westampton, NJ
Posts: 124
Big Kid is a jewel in the roughBig Kid is a jewel in the roughBig Kid is a jewel in the rough
Send a message via AIM to Big Kid
Re: Autonomous Program Switch

my thing with it was that we didn't know you could program the DS at the time, I didn't until comp. so it ended up being hardwired. Not to mention could you program the DS with LabVIEW? But besides the point that is. Still Auto. switches are possible
__________________
Team 816
Student (2007-2011)
Mentor/Drive Coach (2013-)

Team 2495
Mentor (2016-)

Graduate Mech. Engineer at Lehigh University
  #14   Spotlight this post!  
Unread 10-01-2010, 15:30
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,756
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Autonomous Program Switch

In addition to all of the approaches already listed, the new DS also supports virtual I/O. If you are running the DS without an I/O board attached, the Compatible/Simple I/O page actually lets you set the values of the analog and digitals using the mouse. The values are saved with the DS until you change them again or connect the I/O HW, and they are latched during auto-enabled. Hopefully this means you can have inputs to the autonomous without necessarily needing a soldering iron.

Be sure to update the DS SW before playing with this too much as it changed between the laptop version and the update version.

Greg McKaskle
  #15   Spotlight this post!  
Unread 10-01-2010, 15:39
jsasaki's Avatar
jsasaki jsasaki is offline
Registered User
AKA: Jun Sasaki
no team
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Hawaii
Posts: 210
jsasaki has a spectacular aura aboutjsasaki has a spectacular aura aboutjsasaki has a spectacular aura about
Re: Autonomous Program Switch

In 09 we had 2 SPST submini slide switches wired to the DSC with 2 PWM's and had 4 different autonomous programs (2 up, 2 down, left up right down, right up left down) accordingly to where we were placed in the field. So its very possible

See you in Arizona
Good luck teams!
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Autonomous Controller Board Switch merybar Technical Discussion 9 25-03-2008 08:04
Autonomous Controller Board Switch merybar General Forum 2 27-01-2008 12:54
pic: Autonomous Mode Switch Gary Bonner Robot Showcase 4 18-02-2005 21:58
Using a switch before autonomous operation KZos550 Programming 11 04-02-2003 19:12
Autonomous Kill Switch UCGL_Guy Programming 8 15-01-2003 17:39


All times are GMT -5. The time now is 21:00.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi