Go to Post You are all analyzing the words of a 300 pound fuzzy Pooh Bear with a penchant for squeezing other human beings for fun. Saturday is coming fast. Go see a movie. - Rich Kressly [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-02-2009, 20:46
shrimp shrimp is offline
Registered User
FRC #2753
 
Join Date: Feb 2009
Location: USA
Posts: 5
shrimp is an unknown quantity at this point
Driver Station for Autonomous

Apologies if this is misplaced or if this has been answered somewhere else, but are we allowed to use an analog sensor/input (specifically a potentiometer) on the driver station to choose autonomous modes? I'm currently understanding that we can't use any digital inputs to choose autonomous.
Reply With Quote
  #2   Spotlight this post!  
Unread 24-02-2009, 22:43
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Driver Station for Autonomous

Quote:
Originally Posted by shrimp View Post
Apologies if this is misplaced or if this has been answered somewhere else, but are we allowed to use an analog sensor/input (specifically a potentiometer) on the driver station to choose autonomous modes? I'm currently understanding that we can't use any digital inputs to choose autonomous.
As far as I know, you can use either analog or digital inputs on the DS. I don't know of any rules limiting that. In fact, we will be adding a switch to our DS as insurance. What I mean by that is that we already have our code set to receive our alliance info from the FMS. That way it will automatically target the correct color set. The switch will be coded in if the FMS, for some odd reason, does not provide the information that the new vi's are looking for.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #3   Spotlight this post!  
Unread 24-02-2009, 23:10
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Driver Station for Autonomous

You can read information from your DS (either analog or digital) during Autonomous/Disabled mode. During Autonomous/Enabled your DS will not pass inputs on to the cRIO.

See Team Update 9 for details of how the robots will be cycled through the various states during a match.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #4   Spotlight this post!  
Unread 24-02-2009, 23:13
computerboi1503 computerboi1503 is offline
Programmer/Driver/Spokesperson
AKA: A former me.
FRC #1503 (Spartonics)
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Niagara Falls, Ontario, Canada
Posts: 29
computerboi1503 will become famous soon enoughcomputerboi1503 will become famous soon enough
Re: Driver Station for Autonomous

A very very simple way of choosing autonomous modes would be having a bank of switches in a safe place on your robot, and base your programming off whether or not any of those switches are turned on or off.
__________________
Reply With Quote
  #5   Spotlight this post!  
Unread 25-02-2009, 00:46
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: Driver Station for Autonomous

You may read digital inputs, or analog inputs, on the DS to use in selecting autonomous modes. When the robot is enabled, these values will read as zero. What you do is read these values during each cycle of the disabledperiodic() call and save the computed mode in a static variable. You actually have to use two such variables because the inputs will be unreliable on the last disabledperiodic() call. Use the second variable to buffer the value computed in the prior call, and use this value in the autonomous periodic call.

Eugene
Reply With Quote
  #6   Spotlight this post!  
Unread 03-03-2009, 17:05
shrimp shrimp is offline
Registered User
FRC #2753
 
Join Date: Feb 2009
Location: USA
Posts: 5
shrimp is an unknown quantity at this point
Re: Driver Station for Autonomous

Ah.. So does that mean I should have two variables, an old variable and the new one, then check if the new one is zero. If it's zero, use the old variable, if it's not, replace the old with the new?

I wonder if that makes sense. Thanks all!
Reply With Quote
Reply


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
Driver Station S.O.S. M. Gildner Electrical 15 28-11-2009 19:35
Driver station communication during autonomous drosophyllum Control System 1 23-02-2009 21:39
Driver Station dnrobotics11 Control System 2 18-02-2009 21:35
Driver Station Help Drake Hunter General Forum 6 08-02-2009 14:59
Connections to Driver Station Zellboy Electrical 1 23-01-2009 16:24


All times are GMT -5. The time now is 20:34.

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