![]() |
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. |
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!! :D |
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 |
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.
|
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 |
Re: Hybrid Challenge-No Robot Left Behind
Quote:
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 |
Re: Hybrid Challenge-No Robot Left Behind
Quote:
We considred it and have the sonar up front but didn't implement it. we may still consider it. |
Re: Hybrid Challenge-No Robot Left Behind
Quote:
|
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. |
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! |
Re: Hybrid Challenge-No Robot Left Behind
Quote:
Oink Oink... |
| All times are GMT -5. The time now is 10:00. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi