Go to Post We don't want "The Flame Heard 'Round the World"... - Andrew Blair [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
  #76   Spotlight this post!  
Unread 25-03-2008, 13:56
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: Hybrid Challenge-No Robot Left Behind

I liked 188's strategy against 1114's auto too.

GDC says no defensive auton. 188 makes their auton get 1 line (therefore not being "defensive") and parks right in 1114's path.
Reply With Quote
  #77   Spotlight this post!  
Unread 25-03-2008, 13:58
T3_1565 T3_1565 is offline
Registered User
AKA: Twitch Drive Designer
FRC #1360
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Burlington, Ontario
Posts: 855
T3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant futureT3_1565 has a brilliant future
Send a message via MSN to T3_1565
Re: Hybrid Challenge-No Robot Left Behind

we had 1558 try that against 1114 as well (well it was four sec pause then drive to one line) but that failed... horribly...

But they moved!! and thus, keeps another robot from being left behind!!
Reply With Quote
  #78   Spotlight this post!  
Unread 25-03-2008, 14:35
BLCamp BLCamp is offline
question everything
FRC #0079 (KRUNCH)
Team Role: Coach
 
Join Date: Apr 2005
Rookie Year: 2000
Location: Clearwater, Florida
Posts: 15
BLCamp is a splendid one to beholdBLCamp is a splendid one to beholdBLCamp is a splendid one to beholdBLCamp is a splendid one to beholdBLCamp is a splendid one to beholdBLCamp is a splendid one to beholdBLCamp is a splendid one to beholdBLCamp is a splendid one to behold
Re: Hybrid Challenge-No Robot Left Behind

Of course, there are some teams that figured other robots might get in the way so they incorporated some collision avoidance, http://www.youtube.com/watch?v=6qrNdDw-YrM

Brian
Reply With Quote
  #79   Spotlight this post!  
Unread 25-03-2008, 14:54
Racer26 Racer26 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Beaverton, ON
Posts: 2,229
Racer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond reputeRacer26 has a reputation beyond repute
Re: Hybrid Challenge-No Robot Left Behind

Wow... thats impressive, 79. I know 1114 was trying to do something similar, but that system sure works nice.
Reply With Quote
  #80   Spotlight this post!  
Unread 25-03-2008, 15:42
bcieslak
 
Posts: n/a
Re: Hybrid Challenge-No Robot Left Behind

Go to team 1675's website (www.team1675.com) and check out the autoflex program they have that will allow your drivers to train the robot to perform during the 15 second autonomous period..even better than just driving straight.

BC
Reply With Quote
  #81   Spotlight this post!  
Unread 25-03-2008, 16:07
bcieslak
 
Posts: n/a
Re: Hybrid Challenge-No Robot Left Behind

Quote:
Originally Posted by ShotgunNinja View Post
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?
You should look into using pointers to functions...it makes what your trying to do real simple...When you press a button, change the pointer to a function to the new behavior function..In your autonomous_routine just call the pointer as if it were the function. I

first decalre a couple of simple functions like: (fill in the code)
void drive_fwd(void);
void drive_bwd(void);
void turn_left(void);
void turn_right(void);

then declare a function pointer:
void (*auto_function)(void); the splat in the parens make a function pointer.
Note the format of the prototype and the fucntion pointer is the same, for the pointer replace the function name with the (*pointer_name)

Now use your code to read the IR board
but the action would assign a fucntion to the pointer.
switch(GetIRInputState()) /* Get the state of the IR sensor, in a different subroutine */
{
case Button1:
auto_function = drive_fwd;; // Something like "Move forward, stop"...
case Button2:
auto_function = drive_bwd;; // Maybe "backwards"
case Button3:
auto_function = turn_left; // Maybe "Turn left"
case Button4:
auto_fucntion = turn_right; /* Something along the lines of: "Grab ball off overpass, however possible" */
default:
TakeNoAction; // Just "Stop Motors" or something
}

then by calling auto_function just as if it were a function it will perform the function you assigned to it.

auto_function(); // do what it assigned to the pointer. call this in the autonomous loop.

The function pointer will stay the same until you change it with the IR board.


BC
Reply With Quote
  #82   Spotlight this post!  
Unread 25-03-2008, 16: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

Quote:
Originally Posted by BLCamp View Post
Of course, there are some teams that figured other robots might get in the way so they incorporated some collision avoidance, http://www.youtube.com/watch?v=6qrNdDw-YrM

Brian
We had no idea you guys were doing that, way to go very impressive.

We considred it and have the sonar up front but didn't implement it. we may still consider it.
__________________
Doug Leppard
Reply With Quote
  #83   Spotlight this post!  
Unread 26-03-2008, 14:48
team2061's Avatar
team2061 team2061 is offline
Gilberto Gonzalez
AKA: team 2061 captain/mechanical
FRC #2061 (PIONEERS)
Team Role: Leadership
 
Join Date: May 2007
Rookie Year: 2007
Location: Las Vegas
Posts: 85
team2061 will become famous soon enoughteam2061 will become famous soon enough
Re: Hybrid Challenge-No Robot Left Behind

Quote:
Originally Posted by Doug Leppard View Post
We have easyc and were able to cross 5 lines in hybrid mode.

BUT, we have encoders and gyro and a pretty sophisticated way point software we developed over the weeks. All that would be too hard for you to start now, but with easyc you can quickly develop the ability to cross two lines for 8 points.

First of all about your robot. What sensors do you have? Do you have wheel encoders or fear counter to tell how far you have gone? Do you have the gyro onboard?
No we were unable to put encoders on our bot
__________________
2007 Las Vegas Highest Rookie Seed Award
2007 Las Vegas Regional Quater-Finalist
2007 Las Vegas Best Rookie Award provided by team 1547 Where's Waldo
2007 Las Vegas Regional Rank 7 of 51 teams, 2nd Seed

Reply With Quote
  #84   Spotlight this post!  
Unread 26-03-2008, 21:51
XXShadowXX's Avatar
XXShadowXX XXShadowXX is offline
They call me Cody.
no team (None currently :\)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Pontiac; MI
Posts: 408
XXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud ofXXShadowXX has much to be proud of
Re: Hybrid Challenge-No Robot Left Behind

done,

flint rookie pilot, our programer wrote another alliance member team's hybrid code for them or improved it, but we all crossed 1 line in hybrid.
__________________
Is now an engineer thanks to FIRST.
Reply With Quote
  #85   Spotlight this post!  
Unread 01-04-2008, 16:46
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

One story of "no robot left behind".

At each regional we have helped several robot teams. At our last match at Bayou I visited our partners trying to make sure their auto mode would not run into us. Neither team had an auto mode so I sent our lead programmer to work with them.

He got both of them going with a basic go straight and make 4 points after a three second delay.

Both of their auto modes worked each getting 4 points. They were excited because it was the first time they had an auto mode that worked. As it turned out we won by 6 points and without their 8 points we would have lost. That win ended putting us in the top 8 and allowed us to pick our partnership. So it was a win for all!
__________________
Doug Leppard
Reply With Quote
  #86   Spotlight this post!  
Unread 01-04-2008, 19:53
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 Doug Leppard View Post
One story of "no robot left behind".

At each regional we have helped several robot teams. At our last match at Bayou I visited our partners trying to make sure their auto mode would not run into us. Neither team had an auto mode so I sent our lead programmer to work with them.

He got both of them going with a basic go straight and make 4 points after a three second delay.

Both of their auto modes worked each getting 4 points. They were excited because it was the first time they had an auto mode that worked. As it turned out we won by 6 points and without their 8 points we would have lost. That win ended putting us in the top 8 and allowed us to pick our partnership. So it was a win for all!
That is a great story! good job guys =]
Oink Oink...
__________________
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
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