Go to Post A Red Ryder 200-shot carbine Range model air rifle!!! - dlavery [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 14-01-2003, 21:56
UCGL_Guy's Avatar
UCGL_Guy UCGL_Guy is offline
Registered User
AKA: Ken YorK
None #0476 (Wildcats)
Team Role: Mentor
 
Join Date: Oct 2001
Rookie Year: 2000
Location: Ponca City OK
Posts: 150
UCGL_Guy is a name known to allUCGL_Guy is a name known to allUCGL_Guy is a name known to allUCGL_Guy is a name known to allUCGL_Guy is a name known to allUCGL_Guy is a name known to all
Send a message via AIM to UCGL_Guy
Autonomous Kill Switch

To switch the RC to Autonomous mode, the Team Number has to be set to zero and then the power cycled. Fine. We were able to switch the EDU robot into Autonomous Mode and have it execute commands with no problem. However the Competition Kill switch does NOT WORK in Autonomous mode AND we are unable to remotely switch the EDU robot into User (Operator Ran) Mode.

During competition, how does the ROBOT switch from Autonomous Mode to Competition Mode after the 15 seconds of fame? Or for that matter, how does the ROBOT get INTO Autonomous Mode at the begginning of the round?

How do you make the SAFETY Kill switch (Competion Port on the OI) work when in Autonomous Mode?
  #2   Spotlight this post!  
Unread 14-01-2003, 22:02
Jferrante Jferrante is offline
Registered User
#0506
 
Join Date: Aug 2002
Location: New York
Posts: 67
Jferrante is an unknown quantity at this point
Send a message via AIM to Jferrante Send a message via Yahoo to Jferrante
Theres a variable Auton_mode built into the program. When the variable is set to 1 the robot doesn't respond to user input and acts soley on the code. When the variable is set to 0 the robot will respond to user inputs. Just be sure to set up your program so it ignores the user section durring autonomous mode and ignore the autonomous section durring the user mode.

As for a kill switch theres a post about that somewhere describing a 3 way switch. 1 for off, 1 for autonomous, and 1 for changing channels. I guess it'd really be a 4 way switch with 1 spot thats a neutral position.

If you search the general forum or the programming forum you should be able to find more details on both of these.
  #3   Spotlight this post!  
Unread 14-01-2003, 22:09
Jeremy_Mc's Avatar
Jeremy_Mc Jeremy_Mc is offline
GitHubber
no team
Team Role: Mentor
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Orlando, FL
Posts: 496
Jeremy_Mc will become famous soon enoughJeremy_Mc will become famous soon enough
There's a bit sent to the competition port that tells it it's in autonomous mode. PB_Mode is the bit, and it's aliased as auton_mode, user_display_mode, and comp_mode. there's a lot more in the manual about it (even some example code to make it easy to switch from autonomous mode to user/competition mode...)

if you need ANY help feel free to e-mail me or PM me or IM me...take your pick.

*jeremy
__________________
GitHub - Collaborate on code, documentation, etc. - http://github.com
  #4   Spotlight this post!  
Unread 14-01-2003, 22:15
Jnadke Jnadke is offline
Go Badgers!
#0093
Team Role: Alumni
 
Join Date: Jan 2002
Location: Appleton, WI
Posts: 775
Jnadke is on a distinguished road
Send a message via ICQ to Jnadke Send a message via AIM to Jnadke Send a message via Yahoo to Jnadke
The emergency stop switch works during autonomous mode, because the robot controller will still communicate with the operator interface.


See this thread: http://www.chiefdelphi.com/forums/sh...threadid=16002
__________________
The best moments of our lives fall in two categories: those that did happen and those that did not.
  #5   Spotlight this post!  
Unread 14-01-2003, 22:39
Laz Laz is offline
Registered User
#0907 (Cybernetics Core)
 
Join Date: Jan 2003
Location: toronto
Posts: 6
Laz is an unknown quantity at this point
Send a message via Yahoo to Laz
Guys the diagram shown is wrong. Because whatever you do dont i repeat dont ground your sitcuit on channel twelve because its used as a default check on the official USFIRST site
__________________
Use your brain before using your hands
  #6   Spotlight this post!  
Unread 14-01-2003, 22:53
rbayer's Avatar Unsung FIRST Hero
rbayer rbayer is offline
Blood, Sweat, and Code
no team (Teamless Orphan)
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Minnetonka, MN
Posts: 1,087
rbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of lightrbayer is a glorious beacon of light
Send a message via AIM to rbayer
Ummm... what do you mean? Pulling pin 12 to ground enables access to the other channels on the RC/OI. Check out InnovationFirst's official document on the subject:
http://www.innovationfirst.com/FIRST...nout_Guide.PDF
__________________
New C-based RoboEmu2 (code simulator) available at: http://www.robbayer.com/software.php
  #7   Spotlight this post!  
Unread 15-01-2003, 08:02
UCGL_Guy's Avatar
UCGL_Guy UCGL_Guy is offline
Registered User
AKA: Ken YorK
None #0476 (Wildcats)
Team Role: Mentor
 
Join Date: Oct 2001
Rookie Year: 2000
Location: Ponca City OK
Posts: 150
UCGL_Guy is a name known to allUCGL_Guy is a name known to allUCGL_Guy is a name known to allUCGL_Guy is a name known to allUCGL_Guy is a name known to allUCGL_Guy is a name known to all
Send a message via AIM to UCGL_Guy
Thanks

Thanks - I believe that answers our questions about the auto mode - now we are working on fuzzy logic for control.
  #8   Spotlight this post!  
Unread 15-01-2003, 13:06
D.J. Fluck
 
Posts: n/a
Re: Autonomous Kill Switch

Quote:
Originally posted by UCGL_Guy
How do you make the SAFETY Kill switch (Competion Port on the OI) work when in Autonomous Mode?

For our testing purposes, we programmed the wheel of the joystick to be our autonomous controller. When the right wheel was turned all the way to the top, autonomous mode ran, when the wheel was turned all the way down, autonomous mode ended and human operating resumed.
  #9   Spotlight this post!  
Unread 15-01-2003, 17:39
Lloyd Burns Lloyd Burns is offline
Registered User
FRC #1246 (Agincourt Robotics)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Toronto
Posts: 292
Lloyd Burns is an unknown quantity at this point
I've been using the full size RC and the new OI, with our dongle.

If you want auton_mode to work, power the OI from the big Wall Wart that IFI sent you, and turn off the kill switch (disable is on 6). Turn on the Auton_mode by grounding pin 5.

Leave the team number set at your team's number, the dongle works faster. The thing is, the kill switch turns auton_mode off.

On tether, the auton_mode switch acts like a kill switch, and nothing will happen.
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
A better autonomous method.. randomperson Programming 4 24-02-2004 18:02
variable? manodrum Programming 11 01-04-2003 17:20
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11
Using a switch before autonomous operation KZos550 Programming 11 04-02-2003 19:12
Need help with 255 Variable Joseph F Programming 18 26-02-2002 14:49


All times are GMT -5. The time now is 12:42.

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