Go to Post It's a bit sad, really, because FIRST has already reached other countries and there are some U.S. states that still are unaware of what FIRST is!! - tribotec_ca88 [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #46   Spotlight this post!  
Unread 27-01-2008, 20:18
Doug Leppard's Avatar
Doug Leppard Doug Leppard is offline
Registered User
FRC #1902 (Exploding Bacon)
Team Role: Engineer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Orlando
Posts: 435
Doug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond repute
Send a message via AIM to Doug Leppard
Re: Hybrid Challenge-No Robot Left Behind

Every year we put in delays controlled by switches. This year we will have 0.0, 0.5, 1, 2 second delays. We do hope and work with our partners in this area.

And I agree it is a crowded area this year and collisions will happen if all take off at same time.
__________________
Doug Leppard
Reply With Quote
  #47   Spotlight this post!  
Unread 27-01-2008, 21:08
thefro526's Avatar
thefro526 thefro526 is offline
Mentor for Hire.
AKA: Dustin Benedict
no team (EWCP, MAR, FRC 708)
Team Role: Mentor
 
Join Date: Aug 2006
Rookie Year: 2005
Location: New Jersey
Posts: 2,599
thefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond repute
Send a message via AIM to thefro526 Send a message via MSN to thefro526
Re: Hybrid Challenge-No Robot Left Behind

Tdorthebnator and I were talking about this the other day. This Auto/Hybrid mode is easier than 06's (if you were a dumper or defense). I'm gonna go harass our programmer on monday about this and see if he wants to get started on it. If your using easy c the code can be written in about 30 seconds so i think most teams are gonna have some kind of hybrid action
__________________
-Dustin Benedict
2005-2012 - Student & Mentor FRC 816
2012-2014 - Technical Mentor, 2014 Drive Coach FRC 341
Current - Mentor FRC 2729, FRC 708
Reply With Quote
  #48   Spotlight this post!  
Unread 27-01-2008, 21:20
Doug Leppard's Avatar
Doug Leppard Doug Leppard is offline
Registered User
FRC #1902 (Exploding Bacon)
Team Role: Engineer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Orlando
Posts: 435
Doug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond repute
Send a message via AIM to Doug Leppard
Re: Hybrid Challenge-No Robot Left Behind

Quote:
Originally Posted by thefro526 View Post
Tdorthebnator and I were talking about this the other day. This Auto/Hybrid mode is easier than 06's (if you were a dumper or defense). I'm gonna go harass our programmer on monday about this and see if he wants to get started on it. If your using easy c the code can be written in about 30 seconds so i think most teams are gonna have some kind of hybrid action
In EasyC Pro which we use it is easy to get the four points.

Once Hybrid startrts, wait a bit to let people clear, drive forward for XX seconds calculate how long it takes to cross line then stop. Most robots will not go straight but the distance is so close that it will be ok. You can even aim different to adjust.

For 8 points: Drive straight until clear the lane, again guess on time and adjust, do a 90 left again guess the time it takes and adjust and then drive straight again for xx seconds. You should be able to get 8 points with practice a certain percentage of the time, but should always get 4 points.

To get various amounts of wait, have a jumper on one of your digital input ports and read that. You can have several for several times to wait.

Ours is a bit more ambitious using encoders and other sensors.
__________________
Doug Leppard
Reply With Quote
  #49   Spotlight this post!  
Unread 27-01-2008, 21:38
thefro526's Avatar
thefro526 thefro526 is offline
Mentor for Hire.
AKA: Dustin Benedict
no team (EWCP, MAR, FRC 708)
Team Role: Mentor
 
Join Date: Aug 2006
Rookie Year: 2005
Location: New Jersey
Posts: 2,599
thefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond reputethefro526 has a reputation beyond repute
Send a message via AIM to thefro526 Send a message via MSN to thefro526
Re: Hybrid Challenge-No Robot Left Behind

Last year I did a go straight and turn around the rack with dead reckoning. And I could show that to any on who wants to see it. It wasn't a 90 degree turn though it was more like 45 or so to match the angle of the rack. We used timers though and if we forgot to restart the bot it did some funny stuff.
__________________
-Dustin Benedict
2005-2012 - Student & Mentor FRC 816
2012-2014 - Technical Mentor, 2014 Drive Coach FRC 341
Current - Mentor FRC 2729, FRC 708
Reply With Quote
  #50   Spotlight this post!  
Unread 28-01-2008, 00:31
TheNotoriousKid's Avatar
TheNotoriousKid TheNotoriousKid is offline
Registered User
AKA: Shane O
FRC #0025 (Raider Robotix)
Team Role: Mechanical
 
Join Date: Jan 2005
Rookie Year: 2004
Location: North Brunswick
Posts: 55
TheNotoriousKid is just really niceTheNotoriousKid is just really niceTheNotoriousKid is just really niceTheNotoriousKid is just really niceTheNotoriousKid is just really nice
Send a message via AIM to TheNotoriousKid
Re: Hybrid Challenge-No Robot Left Behind

Well, if it hasn't already been shown evident..."Team 25 Graciously Accepts"...the challenge.
Reply With Quote
  #51   Spotlight this post!  
Unread 28-01-2008, 00:46
Jim E Jim E is offline
Registered User
FRC #1523 (M.A.R.S.)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Lantana, FL
Posts: 188
Jim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond repute
Talking Re: Hybrid Challenge-No Robot Left Behind

M.A.R.S. Team 1523 Graciously accepts.

I guess will have to nudge our programmer to write some generic short autonomous code to get them across the Finish line if they cannot do it themselves.
__________________
Team MARS = 1.523 AU from the SUN!

Jim E.
Reply With Quote
  #52   Spotlight this post!  
Unread 31-01-2008, 21:40
ShotgunNinja's Avatar
ShotgunNinja ShotgunNinja is offline
Programming Mentor, FRC 4247
AKA: Nicholas Iannone
FRC #4247 (CougarBOTS)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Milwaukee, WI
Posts: 160
ShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the rough
Re: Hybrid Challenge-No Robot Left Behind

Well, my team has shown that they wanted to go with the IR sensor controller, maybe using a TV/VCR remote. But I am in charge of the programming, and I was wondering...

Would something like this (Using ROBOTC) be usable?
Code:
task Autonomous()  { // Note: Just pseudocode, but whatever
while (bIfiAutonomousMode) /* Just in case... */
{
   switch(GetIRInputState()) /* Get the state of the IR sensor, in a different subroutine */
   {
      case Button1:
         Action1; // Something like "Move forward, stop"...
      case Button2:
         Action2; // Maybe "Turn Left"
      case Button3:
         Action3; // Maybe "Turn Right"
      case Button4:
         Action4; /* Something along the lines of: "Grab ball off overpass, however possible" */
      default:
         TakeNoAction; // Just "Stop Motors" or something
   }
   BetweenActions; // Something like "Stop Motors, Wait XX MS"
}
EndingAction; /* Play a sound or something. Reset motors for Human Control. Etc. */
}
Any comments?
__________________
Team #2970 Alum
Team #1652 Alum
2006: School Mascot for Team 1652
2007-2008: Programmer for Team 1652 (Robot Mafia)
2009: Programmer on Team 1652 (Robot Mafia), Programmer on Team 2970 (eSchool eBots)
2010-2016: Volunteer, Wisconsin Regional
2017: Programming Mentor, FRC 4247 (CougarBOTS, Obama SCTE, Milwaukee, WI)
Reply With Quote
  #53   Spotlight this post!  
Unread 01-02-2008, 11:10
timville's Avatar
timville timville is offline
Registered User
AKA: Timothy Friez
FRC #1185 (X-Bots)
Team Role: Alumni
 
Join Date: Mar 2007
Rookie Year: 2003
Location: Pittsburgh
Posts: 18
timville is an unknown quantity at this point
Send a message via AIM to timville
Re: Hybrid Challenge-No Robot Left Behind

The problem with the code above is that the IR sensor does not remain as a "1" state when you hold the button. I believe the IR sensor will pulse the circut open and close every 100ms.

See my reply to your other thread with sample code on how to use the IR sensor with ROBOTC. http://www.chiefdelphi.com/forums/sh...ad.php?t=63004
__________________
2003 - Rookie All-Stars Awards - #1185 (Pittsburgh)
2004-2008 FIRST Volunteer - Ref/Head Ref (Pittsburgh)
2002-2007 FIRST Lego League Volunteer - Head Ref (Pittsburgh)
Reply With Quote
  #54   Spotlight this post!  
Unread 01-02-2008, 11:14
GGCO's Avatar
GGCO GGCO is offline
Registered User
AKA: Grant
FRC #3357
Team Role: Alumni
 
Join Date: Jan 2008
Rookie Year: 2004
Location: Michigan
Posts: 406
GGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to behold
Send a message via AIM to GGCO
Re: Hybrid Challenge-No Robot Left Behind

Hmm. The 5 second delay wastes a lot of time. My team wants to get the ball down, along with going around the track at least half-way.
Reply With Quote
  #55   Spotlight this post!  
Unread 01-02-2008, 11:35
Tottanka's Avatar
Tottanka Tottanka is offline
It isnt about bots,its about humans
AKA: Liron Gurvitz
FRC #3211 (The Y Team)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Hadera, Israel
Posts: 1,418
Tottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond repute
Re: Hybrid Challenge-No Robot Left Behind

Quote:
Originally Posted by timville View Post
The problem with the code above is that the IR sensor does not remain as a "1" state when you hold the button. I believe the IR sensor will pulse the circut open and close every 100ms.

See my reply to your other thread with sample code on how to use the IR sensor with ROBOTC. http://www.chiefdelphi.com/forums/sh...ad.php?t=63004
yes.
what you need to do looks more like this:
Code:
If (RC_dig_in04)
     c=0;
If (RC_dig_in01)
     c=1;
If (RC_dig_in02)
     c=2;
If (RC_dig_in03)
     c=3;
if (c==1)
   pwm01=254;
if (c==2)
   Pwm02=0;
if (c==3)
   Pwm05=160;
__________________
My FRC record: 10 Years,FTA (2008-9), 3 Teams(1947,2669,3211).3 RCA, 1 Championship EI(2016), 1 Divisional finalist (2016), 1 Regional winner.
Israeli 2016 Volunteer of the year.
Reply With Quote
  #56   Spotlight this post!  
Unread 08-02-2008, 19:38
meaubry meaubry is offline
volunteer helper
FRC #6099 (Knights)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Shelby Twp, Mi
Posts: 784
meaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond repute
Re: Hybrid Challenge-No Robot Left Behind

So, now that we have everyone capable of moving, and assuming most teams will still be potentially subjected/limited by signal overload, interference, blocking or stepping on each other - what can we do within the community, that will help reduce or eliminate this problem?

Signal guides (tubes) are helpful - if the signal gets there, but is there something that can be included in the code to help everyone?

Or, is this something that we must reinforce with the Robocoaches that are in control of the IR controls?

Is there a certain IR controller that works best for what we are trying to do? Signals are supposed to be sent as one time event - ideally, not continous (if the button is accidentally held) in the excitement of being a robo-coach?

Is there something that teams can do to there IR that would reduce the "holding down the button" problem?

No robot left behind would be alot more meaningful, in the context of FIRST coopertition, if it could also help eradicate the problem of multiple signals at the same time - that many are concerned about. I just don't know if it's possible.

Obviously, in the spirit of cooperation among alliance members, agreements as to who goes first, second, third, or not at all, can be done prior to the match. And, if that is all that is needed - so be it.

Just wondered if there was something that might be able to be done with the IR itself, or if certain IR's eliminate that problem and we could suggest using that one instead of the kind that cause problems. Maybe, a strongly suggested/recommended IR list, and a strongly NOT recommended IR list.

Mike Aubry
Reply With Quote
  #57   Spotlight this post!  
Unread 09-02-2008, 08:06
Doug Leppard's Avatar
Doug Leppard Doug Leppard is offline
Registered User
FRC #1902 (Exploding Bacon)
Team Role: Engineer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Orlando
Posts: 435
Doug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond repute
Send a message via AIM to Doug Leppard
Re: Hybrid Challenge-No Robot Left Behind

Quote:
Originally Posted by meaubry View Post
Is there a certain IR controller that works best for what we are trying to do? Signals are supposed to be sent as one time event - ideally, not continous (if the button is accidentally held) in the excitement of being a robo-coach?
Mike Aubry
We want a continuous push of button to make sure the robot got the signal and that is legal. We will only be sending the signal the 1st second and then it will be turned off by that time the robot should know what ball to go after.
__________________
Doug Leppard
Reply With Quote
  #58   Spotlight this post!  
Unread 09-02-2008, 19:00
meaubry meaubry is offline
volunteer helper
FRC #6099 (Knights)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Shelby Twp, Mi
Posts: 784
meaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond reputemeaubry has a reputation beyond repute
Re: Hybrid Challenge-No Robot Left Behind

Doug,
I understand the concern of assuring that the signal was recieved. Pushing and holding for a second or 2 isn't what I was referring to.

I was thinking that the robocoach may hold the button for 10 or all 15 seconds - simply, because they got excited and forgot to let up - or - they panic when the robot doesn't do what it was suppose to do, and continue to push the same button rapidly, over and over.

Just trying to better understand the dynamics of what might happen at the start of a match, and wondering if there might be something that could be more or less done to eliminate problems.

Like I said before, it's awesome that everyone is going to try to make sure that any team that wants to be able to try to move in the 15 second Hybrid/Autonomous time period has help available. And I'm thinking that with a little more thought, a few other issues could be addressed.

Such as -
If the code is simple to drive forward or go forward -turn left, it doesn't need to be IR controlled. That alone would eliminate alot or unnecessary IR signal traffic.
Also, simple delays in starting or ramping up to full speed could help avoid traffic jams - if each team also knows what speed they run at.

Mike
Reply With Quote
  #59   Spotlight this post!  
Unread 10-02-2008, 06:13
Doug Leppard's Avatar
Doug Leppard Doug Leppard is offline
Registered User
FRC #1902 (Exploding Bacon)
Team Role: Engineer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Orlando
Posts: 435
Doug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond repute
Send a message via AIM to Doug Leppard
Re: Hybrid Challenge-No Robot Left Behind

Thanks Mike. I appreciate your input.

What we are doing is telling our bot what balls to hit and then it does the rest. We figure we have 1-2 seconds to do this and then it is out of there and then there is no more reason to push buttons.

Interesting thing about the IR receiver according to my software guy over this is that once it receives a signal it transmits for 100ms waits 50ms then you can do another signal. Also holding down the IR same button it will acknowledge that button but only once, that button must be released to get another signal on it.

Also for our use, four buttons is barely adequate, six would be better.
__________________
Doug Leppard
Reply With Quote
  #60   Spotlight this post!  
Unread 10-02-2008, 09:24
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: Hybrid Challenge-No Robot Left Behind

if anyone is at the Waterloo and Greater Toronto Regional, come ask for me at the 1565 pit. i have code available that can help ANY team have a near-perfect autonomous. and no, i'm not bluffing

any questions please PM me and/or i'll see you in the pits!!!
__________________


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
Left behind??? A scary story... meaubry Championship Event 4 04-04-2007 21:32
Left or right handed robot? DjAlamose General Forum 13 06-02-2006 15:51
Robot veers left when driving backwards! xxmaddjxx Technical Discussion 3 19-02-2005 04:57
Pa robot challenge Dave_222 Off-Season Events 77 16-01-2004 22:18
PA Robot Challenge VI cbudrecki Off-Season Events 1 29-03-2003 22:19


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

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