Go to Post The only odd part about this competition is that rather than further convince me that I want to be an engineer, it did the converse... I want to be a teacher. - pauluffel [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 16-03-2006, 11:09
Validius's Avatar
Validius Validius is offline
There is a shadow following me.....
AKA: Mark Ratering
FRC #1549 (Washtenuts)
Team Role: College Student
 
Join Date: Feb 2005
Rookie Year: 2005
Location: South Lyon
Posts: 159
Validius will become famous soon enoughValidius will become famous soon enough
Send a message via AIM to Validius
autonomus rules....

Can the robot read from the OI during autonomus? That is, can i have switches on the OI to dictate what autonomus i want to use?
__________________
When a sociaty comes to believe that human life is not inherently worth living, it is a slippery slope to the gas chamber. You wind up on a low road that twists past Columbine and leads toward Auschwitz.

-Peggy Noonan
  #2   Spotlight this post!  
Unread 16-03-2006, 11:13
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: autonomus rules....

Quote:
Originally Posted by Validius
Can the robot read from the OI during autonomus? That is, can i have switches on the OI to dictate what autonomus i want to use?
When the autonomous flag is set you cannot see the OI control settings. They appear to be neutral for the pots and off for the switches.
Just read and save the OI settings whenever the autonomous flag is not set. After it's set use your saved OI values.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 16-03-2006 at 11:49.
  #3   Spotlight this post!  
Unread 16-03-2006, 11:33
Validius's Avatar
Validius Validius is offline
There is a shadow following me.....
AKA: Mark Ratering
FRC #1549 (Washtenuts)
Team Role: College Student
 
Join Date: Feb 2005
Rookie Year: 2005
Location: South Lyon
Posts: 159
Validius will become famous soon enoughValidius will become famous soon enough
Send a message via AIM to Validius
Re: autonomus rules....

Quote:
Originally Posted by Mark McLeod
After the autonomous flag is set you cannot see the OI control settings.
Just read and save the OI settings whenever the autonomous flag is not set. After it's set use your saved OI values.
So in the few moments between turning the robot on and autonomus when disable is set the bot can read those paramaters?
__________________
When a sociaty comes to believe that human life is not inherently worth living, it is a slippery slope to the gas chamber. You wind up on a low road that twists past Columbine and leads toward Auschwitz.

-Peggy Noonan
  #4   Spotlight this post!  
Unread 16-03-2006, 11:38
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,856
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: autonomus rules....

Quote:
Originally Posted by Validius
So in the few moments between turning the robot on and autonomus when disable is set the bot can read those paramaters?
Yes, the OI values come through fine while only the Disabled flag is set.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #5   Spotlight this post!  
Unread 16-03-2006, 11:39
Validius's Avatar
Validius Validius is offline
There is a shadow following me.....
AKA: Mark Ratering
FRC #1549 (Washtenuts)
Team Role: College Student
 
Join Date: Feb 2005
Rookie Year: 2005
Location: South Lyon
Posts: 159
Validius will become famous soon enoughValidius will become famous soon enough
Send a message via AIM to Validius
Re: autonomus rules....

Quote:
Originally Posted by Mark McLeod
Yes, the OI values come through fine while only the Disabled flag is set.
Beautiful, thank you.
__________________
When a sociaty comes to believe that human life is not inherently worth living, it is a slippery slope to the gas chamber. You wind up on a low road that twists past Columbine and leads toward Auschwitz.

-Peggy Noonan
  #6   Spotlight this post!  
Unread 16-03-2006, 15:47
kevin.li.rit's Avatar
kevin.li.rit kevin.li.rit is offline
Imaginary Friend
AKA: Kevin Li
FRC #0596 (SciClones)
Team Role: Student
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Hopkinton, Massachusetts
Posts: 936
kevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond repute
Send a message via Yahoo to kevin.li.rit
Re: autonomus rules....

Quote:
Originally Posted by Validius
Can the robot read from the OI during autonomus? That is, can i have switches on the OI to dictate what autonomus i want to use?
If you want to switch between autonomous modes you should use the Digital Inputs on the RC. Just wire a switch to each Digital Input for each autonmous mode you need, between the signal and the ground.

Just the way I would do it.
__________________
Kevin Li

596 - Sciclones
1405 - Finney Falcons
2262 - Holliston Panthers

Last edited by kevin.li.rit : 16-03-2006 at 15:50.
  #7   Spotlight this post!  
Unread 16-03-2006, 16:46
Andrew Blair's Avatar
Andrew Blair Andrew Blair is offline
SAE Formula is FIRST with Gasoline.
FRC #0306 (CRT)
Team Role: Alumni
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Corry
Posts: 1,193
Andrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond reputeAndrew Blair has a reputation beyond repute
Send a message via AIM to Andrew Blair Send a message via Yahoo to Andrew Blair
Re: autonomus rules....

What works very nicely is to use a pot on the OI, saving it's vale into a variable to set you auto-mode. Lets you change the auto from the player station, and is so much more convenient.
__________________
Reading makes a full man, conference a ready man, and writing an exact man.
-Sir Francis Bacon

"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
-Albert Einstein
  #8   Spotlight this post!  
Unread 16-03-2006, 19:48
SoftwareBug2.0's Avatar
SoftwareBug2.0 SoftwareBug2.0 is offline
Registered User
AKA: Eric
FRC #1425 (Error Code Xero)
Team Role: Mentor
 
Join Date: Aug 2004
Rookie Year: 2004
Location: Tigard, Oregon
Posts: 486
SoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant future
Re: autonomus rules....

I guess I'm a fan of the only system that hasn't been mentioned yet: analog controls on the RC.
  #9   Spotlight this post!  
Unread 16-03-2006, 20:04
bush's Avatar
bush bush is offline
Registered User
AKA: Aaron
FRC #0710 (Pine Crest School)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Fort Lauderdale, Florida
Posts: 42
bush has a spectacular aura aboutbush has a spectacular aura about
Send a message via AIM to bush
Re: autonomus rules....

And I'm a fan of just reprogramming it
  #10   Spotlight this post!  
Unread 16-03-2006, 22:57
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: autonomus rules....

Quote:
Originally Posted by Andrew Blair
What works very nicely is to use a pot on the OI, saving it's vale into a variable to set you auto-mode. Lets you change the auto from the player station, and is so much more convenient.
We use two 6-position rotary switches on OI. They are nicer than pots because they have definite positions, but they require a bit of soldering to attach the resistors. Digital inputs on the OI are so precious, I hate to waste 5 of them on Auto switches.
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"
  #11   Spotlight this post!  
Unread 16-03-2006, 23:47
SoftwareBug2.0's Avatar
SoftwareBug2.0 SoftwareBug2.0 is offline
Registered User
AKA: Eric
FRC #1425 (Error Code Xero)
Team Role: Mentor
 
Join Date: Aug 2004
Rookie Year: 2004
Location: Tigard, Oregon
Posts: 486
SoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant future
Re: autonomus rules....

Quote:
Originally Posted by The Lucas
We use two 6-position rotary switches on OI. They are nicer than pots because they have definite positions, but they require a bit of soldering to attach the resistors. Digital inputs on the OI are so precious, I hate to waste 5 of them on Auto switches.
Digital inputs are indeed precious. We have basically have what you described on the robot itself: 2 10-position rotary switches, each of which involve soldering the 10 resistors together in close quarters.

Last year, my team used a bank of dip switches that went to digital inputs, plus one three-position switch wired to an analog input, which we used to denote the starting position.
  #12   Spotlight this post!  
Unread 30-03-2006, 23:32
Longhornchris04 Longhornchris04 is offline
Registered User
AKA: Chris
FRC #1759 (STARS)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Los Angeles AFB, Los Angeles CA
Posts: 1
Longhornchris04 is an unknown quantity at this point
Re: autonomus rules....

Well, our robot was very simple this year (rookie year, we followed the KISS philosophy), so we had the digital inputs to spare, but for next year I'm suggesting the following.

On the OI, have a couple of fixed position analog or digital inputs used to select the autonomous mode and a "Lock Autonomous Mode Switch." After the robot is powered, have the robot placement team signal the OI team to "Lock" the autonomous selection. One note on this is the "Lock Switch" will probably need an LED and an "Arming Cover" The OI has 16 analog and 16 digital inputs, so this shouldn't be a problem. This would require 1 digital (lock switch) and 2+ analog (start position and drive pattern??) inputs.

If we go this way though we will test the heck out of it using a competition port dongle and have a startup checklist... which reminds me. There are 2 kinds of people: Those with checklists, and those that will soon have checklists.
  #13   Spotlight this post!  
Unread 01-04-2006, 10:23
StephLee's Avatar
StephLee StephLee is offline
Deadlines? What are those?
AKA: Stephanie
FRC #0639 (Code Red Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Ithaca, NY
Posts: 796
StephLee has a reputation beyond reputeStephLee has a reputation beyond reputeStephLee has a reputation beyond reputeStephLee has a reputation beyond reputeStephLee has a reputation beyond reputeStephLee has a reputation beyond reputeStephLee has a reputation beyond reputeStephLee has a reputation beyond reputeStephLee has a reputation beyond reputeStephLee has a reputation beyond reputeStephLee has a reputation beyond repute
Send a message via AIM to StephLee
Re: autonomus rules....

Our programmers got really tired of having to upload a new program into the robot in between matches, so they came up with this. I think we have around 99 autonomous modes now, which we can switch between right before the match, while the robot is on the field. It helped us out a lot during the finals at Chesapeake. What do you guys think?
__________________
Proud alum of FRC Team 1629 and mentor of FRC Team 639
Cornell Engineering class of 2012!!
  #14   Spotlight this post!  
Unread 01-04-2006, 10:29
chrisinmd's Avatar
chrisinmd chrisinmd is offline
Registered User
AKA: Chris Pickett
FRC #0888 (Robotiators)
Team Role: College Student
 
Join Date: Jan 2006
Location: Mt. Airy, MD
Posts: 83
chrisinmd is a jewel in the roughchrisinmd is a jewel in the roughchrisinmd is a jewel in the rough
Send a message via AIM to chrisinmd
Re: autonomus rules....

That's a really nice product!
I made something similar this year for our robot, but it's not as neat and compact as that one is. I used short lengths of wire between the connectors and the dip switch. We used it with fair success at Chesapeake as well, I think we had about 5 different auto modes, hopefully we'll get some more programmed before nats!

-Chris
__________________
Virginia Tech 2010!

Chesapeake Regional
Pittsburgh Regional
  #15   Spotlight this post!  
Unread 02-04-2006, 22:49
ewankoff's Avatar
ewankoff ewankoff is offline
hurdling=touch but don't spill
AKA: -=The WANK=-
FRC #1676 (PI-oneers)
Team Role: Mechanical
 
Join Date: Jan 2005
Rookie Year: 2005
Location: new jersey
Posts: 312
ewankoff is a name known to allewankoff is a name known to allewankoff is a name known to allewankoff is a name known to allewankoff is a name known to allewankoff is a name known to all
Re: autonomus rules....

we also used a bank of dip switches and came up with at least ten autonomous modes for them. the all the modes and positions were labled in binary.
__________________
2005- NJ rookie all-stars
2006- NJ judges award winners
NJ&Palmetto safety credit award winners
Palmetto finalists
2007-NJ Website award winners
NJ Motorola quality award and J&J sportsmanship award winner

Buckeye Motorola quality award winner
NJ #3 seed and semifinalist
2008NJ Chairman's Award


JOHNY FIVE is ALIVE!!
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
On Rules, Referees, and Rewards (aka Penalties) RyanMcE General Forum 29 21-03-2005 13:20
You write the forum rules Ken Leung CD Forum Support 8 17-01-2005 11:18
Dilemma - Letter of the rules v. spirit of the rules Natchez General Forum 27 03-04-2003 15:37
Time for new rules! archiver 2001 11 24-06-2002 02:01


All times are GMT -5. The time now is 23:02.

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