Go to Post Y'know... I think I'd much rather have big balls than hang myself... - FotoPlasma [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 19-03-2006, 15:22
coldabert's Avatar
coldabert coldabert is offline
The Dude
FRC #0888 (Robotiators)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: MD
Posts: 83
coldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of light
Send a message via AIM to coldabert
How To Test Autonomous

You could copy and paste from user_routines_fast to user_routines. However, the loops run at different frequencies so teams using counters will get different results.

Here's what you should really do:
Get an electrically inclined person to read this post or you could probably do it, it isnt too complicated.
Have them build you a nice competition port tester and all it will take to run the autonomous in user_routines_fast is to reset your robot and flip a switch. Plus, you'll have another switch to disable your robot when it starts knocking over your toolbox in the pit (that of course would be the fault of a mechanical engineer, <wink> )

This will be a tremendous help for those teams trying to develope autonomous codes with a rapid schedule that only gives you 5 minutes of testing before your next match.

Please email me at colehasson@gmail.com for more information or to ask questions.

cout<<"Good luck";

System.out.println("-Cole");

(out (- Team 888))

Last edited by coldabert : 19-03-2006 at 15:56.
  #2   Spotlight this post!  
Unread 19-03-2006, 15:32
devicenull devicenull is offline
Robot? We need a robot?
no team
 
Join Date: Sep 2004
Rookie Year: 1234
Location: n/a
Posts: 359
devicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nicedevicenull is just really nice
Re: How To Test Autonomous

Or you could buy a nice one from andymark.. http://andymark.biz/mode-switch.htm

Make sure you don't just wire up auto, you will need disable too. Just believe me on this one.. you want a nice easy to use disable switch.
  #3   Spotlight this post!  
Unread 19-03-2006, 15:53
coldabert's Avatar
coldabert coldabert is offline
The Dude
FRC #0888 (Robotiators)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: MD
Posts: 83
coldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of light
Send a message via AIM to coldabert
Re: How To Test Autonomous

The link had the disable switch too. I'm sure AndyMark's would work well, but teams on a tighter budget, you can the parts from Jameco for under 2 dollars rather than $36 from AndyMark (although the AM one does look nice).
  #4   Spotlight this post!  
Unread 19-03-2006, 17:11
JJG13's Avatar
JJG13 JJG13 is offline
Yoda
AKA: Joshua Graffman
None #0180 (SPAM)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Martin County, Florida
Posts: 105
JJG13 has a spectacular aura aboutJJG13 has a spectacular aura aboutJJG13 has a spectacular aura about
Re: How To Test Autonomous

Quote:
Originally Posted by coldabert
You could copy and paste from user_routines_fast to user_routines. However, the loops run at different frequencies so teams using counters will get different results.

Both loops should run at the same frequency (every 26.2 ms or ~38 hertz) so that should work. Though it is still better to be able to switch modes from the OI.
__________________
Behold the power of SPAM.
  #5   Spotlight this post!  
Unread 19-03-2006, 20:10
coldabert's Avatar
coldabert coldabert is offline
The Dude
FRC #0888 (Robotiators)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: MD
Posts: 83
coldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of lightcoldabert is a glorious beacon of light
Send a message via AIM to coldabert
Re: How To Test Autonomous

The loops will run differently due to additional processing and functions.
  #6   Spotlight this post!  
Unread 20-03-2006, 21:56
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: How To Test Autonomous

Pshh who needs these things. At our regional, we lost our auton dongle at the bottom of a box. We didn't find it until we were packing things up to go home. A paperclip between pins 5&8 of the competition port works just fine. You need disable? Simple. just pull the tether out.
__________________
1139 Alumni
  #7   Spotlight this post!  
Unread 20-03-2006, 22:13
Neo3One3 Neo3One3 is offline
Registered User
AKA: Nick
FRC #0175 (Buzz)
Team Role: Driver
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Enfield, CT
Posts: 21
Neo3One3 is a name known to allNeo3One3 is a name known to allNeo3One3 is a name known to allNeo3One3 is a name known to allNeo3One3 is a name known to allNeo3One3 is a name known to all
Re: How To Test Autonomous

I know one of our electrical mentors made a smaller one this year, rather than the monsterously huge one we had last year. If anyone wants info on how to make one with an Autonomous mode switcher and a Disable switch, I'd be glad to ask him.
__________________

Go Buzz!
  #8   Spotlight this post!  
Unread 20-03-2006, 22:58
Stuart's Avatar
Stuart Stuart is offline
#include coffee.h
FRC #1745 (P51- Mustangs)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Dallas, TX
Posts: 414
Stuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond repute
Send a message via AIM to Stuart
Re: How To Test Autonomous

yeah 1745 uses a single 2" cat 5 wire to short out the auto pins . . and to disable we pull out the teather . . no need to spend any money on something that you just use to test
__________________
Proud mentor of Team #1745 the P-51 Mustangs

If at first it doesn't work, use a hammer.
If that doesn't work, use a bigger hammer.
  #9   Spotlight this post!  
Unread 21-03-2006, 09:03
Mark Pierce Mark Pierce is offline
Registered User
FRC #0085 (B. O. B.)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 1999
Location: Zeeland, MI
Posts: 239
Mark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant future
Re: How To Test Autonomous

Quote:
Originally Posted by Rickertsen2
At our regional, we lost our auton dongle at the bottom of a box.
That is why I strongly recommend all teams build the Auto and Disable switches into the regular switch box. At least fasten them to the board holding the operator controls. Before we started doing this I was always looking for the separate one. I seem to remember finding it left at operator stations, toolboxes, back at the school, and at least once in the bag with Shop Rags.
  #10   Spotlight this post!  
Unread 21-03-2006, 09:12
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: How To Test Autonomous

we built one with a 6 foot cable in a box that is separate from the OI.

That way you can have one person hold the disable box, so they can hit the kill switch when needed, instead of the driver.

The driver always thinks they 'have it', until they run someone over.

Much easier to have a second person on the kill switch, who knows, when the robot crosses this line, shut her down!

Last edited by KenWittlief : 21-03-2006 at 10:14.
  #11   Spotlight this post!  
Unread 21-03-2006, 09:34
Mark Pierce Mark Pierce is offline
Registered User
FRC #0085 (B. O. B.)
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 1999
Location: Zeeland, MI
Posts: 239
Mark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant futureMark Pierce has a brilliant future
Re: How To Test Autonomous

Quote:
Originally Posted by KenWittlief
Much easier to have a second person on the kill switch, who knows, when the robot crosses this line, shut her down!
Yep, I can see the advantage of a remote kill switch. I think we'll add that. I will fasten that cable to the box so it doesn't get lost and still keep the switch at the operator's controls.
  #12   Spotlight this post!  
Unread 21-03-2006, 09:39
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: How To Test Autonomous

Quote:
Originally Posted by KenWittlief
we built one with a 6 foot cable in box that is separate from the OI.

That way you can have one person hold the disable box, so they can hit the kill switch when needed, instead of the driver.

The driver always thinks they 'have it', until they run someone over.
!

Oh so true! Our driver would keep going no matter what, until the robot is a smoldering heap of rubble, unless someone else was around to disable it. Then we all have to ask: "Were you the one making the robot spin around and bounce off the walls?" "Uh no, but I almost had it stopped!"
  #13   Spotlight this post!  
Unread 21-03-2006, 09:54
Unsung FIRST Hero
Mike Betts Mike Betts is offline
Electrical Engineer
no team
Team Role: Engineer
 
Join Date: Dec 2001
Rookie Year: 1995
Location: Homosassa, FL
Posts: 1,442
Mike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond reputeMike Betts has a reputation beyond repute
Re: How To Test Autonomous

Quote:
Originally Posted by Rickertsen2
...You need disable? Simple. just pull the tether out.
Not a viable option... If you pull the tether and your robot is still powered, your robot radio link is now "live" and could interfere with robots on the field.

Mike
__________________
Mike Betts

Alumnus, Team 3518, Panthrobots, 2011
Alumnus, Team 177, Bobcat Robotics, 1995 - 2010
LRI, Connecticut Regional, 2007-2010
LRI, WPI Regional, 2009 - 2010
RI, South Florida Regional, 2012 - 2013

As easy as 355/113...
  #14   Spotlight this post!  
Unread 21-03-2006, 10:15
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: How To Test Autonomous

Quote:
Originally Posted by Mike Betts
Not a viable option... If you pull the tether and your robot is still powered, your robot radio link is now "live" and could interfere with robots on the field.

Mike
Not if its not plugged in on either end.
__________________
1139 Alumni
  #15   Spotlight this post!  
Unread 21-03-2006, 10:18
Not2B's Avatar
Not2B Not2B is offline
Registered User
AKA: Brian Graham
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2002
Rookie Year: 2002
Location: Farmington Hills, Mi
Posts: 401
Not2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond reputeNot2B has a reputation beyond repute
Re: How To Test Autonomous

Our auto dongle has a kill switch of a different flavor.

The kill button has to be held down for auto to work. Let go and it is disabled.

Why?
Because people tend to walk away from the disable switch. If someone HAS to hold it, they can't walk away. Forces... absolutly forces... the use of a safety officer.
__________________
Brian Graham
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
Week 1: Thoughts, comments Joe Johnson General Forum 65 08-03-2006 19:56
How do you test AUtonomous Doug G Programming 6 21-02-2005 13:23
How do you turn on the Autonomous mode (to test)? Salik Syed Programming 6 03-03-2004 23:37
test autonomous mode CharlieWilken Programming 14 20-02-2004 00:39


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