Go to Post Enlighten a man who sometimes has difficulty understanding why others stray outside the box, when the box appears to be an optimized and elegant solution. - JVN [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 06-02-2008, 12:50
jfrank's Avatar
jfrank jfrank is offline
Registered User
FRC #2668
 
Join Date: Jan 2008
Location: Schwenksville
Posts: 10
jfrank is an unknown quantity at this point
Question autonomous help

does anyone have code to make the autonomous code to turn on and off with a switch hooked up to the tether port of the board???
  #2   Spotlight this post!  
Unread 06-02-2008, 13:06
eaglesfan10's Avatar
eaglesfan10 eaglesfan10 is offline
Registered User
FRC #1647 (Iron Devils)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2005
Location: New Jersey
Posts: 19
eaglesfan10 is an unknown quantity at this point
Re: autonomous help

You don't need to program anything- determining if you're in autonomous or not, is determined by the oi's competition port. You'll have to make an autonomous switch. A diagram of the competition port can be found here:
http://www.ifirobotics.com/docs/comp...guide-reva.pdf
Or you could just buy one from andymark:
http://www.andymark.biz/am-0016.html
  #3   Spotlight this post!  
Unread 06-02-2008, 13:49
Jon Stratis's Avatar
Jon Stratis Jon Stratis is online now
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,825
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: autonomous help

To compliment what eaglesfan said - if you make one of those switches, then you'll be certain that your autonomous mode will run properly during the competition, since that is how they control what state every robot is in when it's competing.
  #4   Spotlight this post!  
Unread 07-02-2008, 12:22
hipsterjr's Avatar
hipsterjr hipsterjr is offline
Your bot can score but can it dance
AKA: CJ
FRC #4451 (The Burning Magnetos)
Team Role: College Student
 
Join Date: Dec 2006
Rookie Year: 2002
Location: summerville,SC
Posts: 587
hipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond repute
Send a message via AIM to hipsterjr
Question Re: autonomous help

We have one of the dongle switches, and pins 5 and 8 are defiantly connected, yet we still can not initiate autonomous mode. I don't have the code in front of me, but our programmer (he is new) tells me that the auton. declaration section is right. Can any one help?
__________________
2010 Palmetto Chairmens Winner
2009 Peachtree Finalist Thanks 1319 & 590 "Sure your robot can score, but can it dance?!"
2008 Palmetto Regional Finalist Thanks 343 & 804
2008 Florida Regional Finalist Thanks 179 & 69
2007 Palmetto Regional winners Thanks 1319 & 832
2005 Palmetto Chairmens Winner
  #5   Spotlight this post!  
Unread 07-02-2008, 12:57
pheadxdll pheadxdll is offline
Registered User
AKA: Alex
FRC #1225 (Amperage Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: North Carolina
Posts: 168
pheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud of
Re: autonomous help

Quote:
Originally Posted by hipsterjr View Post
We have one of the dongle switches, and pins 5 and 8 are defiantly connected, yet we still can not initiate autonomous mode. I don't have the code in front of me, but our programmer (he is new) tells me that the auton. declaration section is right. Can any one help?
You shouldn't have to touch the code to get the switch to work. It should work by default. Make sure your switch connects 5 to ground in one position, 8 to ground in another, and doesn't connect anything in regular mode. For example, on a 3 state switch, you'd have 5 on the top, 8 on the bottom, and ground on the middle. Use a meter to make sure you switch is working too.

Oh and double check the pinout. I fried the OI last year setting up the atonomous switch.
__________________
Amperage Robotics Team 1225
Site under-going revamp. :/

Last edited by pheadxdll : 07-02-2008 at 13:01.
  #6   Spotlight this post!  
Unread 07-02-2008, 20:45
hipsterjr's Avatar
hipsterjr hipsterjr is offline
Your bot can score but can it dance
AKA: CJ
FRC #4451 (The Burning Magnetos)
Team Role: College Student
 
Join Date: Dec 2006
Rookie Year: 2002
Location: summerville,SC
Posts: 587
hipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond reputehipsterjr has a reputation beyond repute
Send a message via AIM to hipsterjr
Re: autonomous help

Quote:
Originally Posted by pheadxdll View Post
You shouldn't have to touch the code to get the switch to work. It should work by default. Make sure your switch connects 5 to ground in one position, 8 to ground in another, and doesn't connect anything in regular mode. For example, on a 3 state switch, you'd have 5 on the top, 8 on the bottom, and ground on the middle. Use a meter to make sure you switch is working too.

Oh and double check the pinout. I fried the OI last year setting up the atonomous switch.
It's the same switch we have used for years, so that can't be the problem. Something on the OI or code must be set wrong, but I'm not sure what. Driver mode and disable work fine though. The RC mode reads blinking yellow (meaning auton.) but acts like it is in disabled mode even though there is "valid" code under the auton section.
__________________
2010 Palmetto Chairmens Winner
2009 Peachtree Finalist Thanks 1319 & 590 "Sure your robot can score, but can it dance?!"
2008 Palmetto Regional Finalist Thanks 343 & 804
2008 Florida Regional Finalist Thanks 179 & 69
2007 Palmetto Regional winners Thanks 1319 & 832
2005 Palmetto Chairmens Winner
  #7   Spotlight this post!  
Unread 07-02-2008, 21:39
Alexa Stott's Avatar
Alexa Stott Alexa Stott is offline
All I do is twin.
AKA: elixir
FRC #0025 (Raider Robotix)
Team Role: College Student
 
Join Date: Oct 2005
Rookie Year: 2006
Location: No. Bruns., NJ/College Park, MD
Posts: 781
Alexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond reputeAlexa Stott has a reputation beyond repute
Send a message via AIM to Alexa Stott
Re: autonomous help

There's a thread about it here and probably others exist.

We're always willing to help out and answer questions, but it really helps if you search before you post.
__________________
|Email:alexastott[at]gmail.com|Facebook|@zelixir|Google+|
[University of Maryland Computer Science, Psychology]
[Brunswick Eruption]
  #8   Spotlight this post!  
Unread 07-02-2008, 23:46
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: autonomous help

Quote:
Originally Posted by hipsterjr View Post
The RC mode reads blinking yellow (meaning auton.) but acts like it is in disabled mode even though there is "valid" code under the auton section.
What does there is "valid" code under the auton section mean? Show us this code so we have something on which to base our advice.
  #9   Spotlight this post!  
Unread 08-02-2008, 10:25
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,861
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: autonomous help

Quote:
Originally Posted by hipsterjr View Post
The RC mode reads blinking yellow (meaning auton.) but acts like it is in disabled mode even though there is "valid" code under the auton section.
That blinking yellow indicator on the OI therefore means "invalid auton code."
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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 HELP RDD Programming 2 12-02-2007 15:24
Autonomous Mode HELP! jesusescobar Programming 4 12-02-2007 12:02
HELP ON Autonomous !!!! jesusescobar Programming 1 10-02-2007 20:45
Autonomous Help sudeepr71 Programming 14 10-03-2004 22:14
Autonomous Help mightywombat Programming 11 07-01-2004 10:45


All times are GMT -5. The time now is 11:58.

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