2011:Autonomous: Difference between revisions
Programming (talk | contribs) (High level part I DON'T KNOW!) |
Programming (talk | contribs) (Add table for Strategy 3&4, removed extra text that is now in the tables) |
||
Line 4: | Line 4: | ||
Approach pegs | Approach pegs | ||
Strategy 0:<br>1.) Do nothing<br>1.5) Stop all internal motors<br>1.5.5) Stop everything<br>2.) Wait for Teleoperated mode<br>3.) Go to -> Teleoperated mode | Strategy 0:<br>1.) Do nothing<br>1.5) Stop all internal motors<br>1.5.5) Stop everything<br>2.) Wait for Teleoperated mode<br>3.) Go to -> Teleoperated mode | ||
Line 11: | Line 9: | ||
<br> | <br> | ||
Strategy 5 | |||
<br> | |||
Dead Reckoning (Striaght line) | |||
5 | |||
<br> | |||
1.) Drive Forward 244.9 inches | 1.) Drive Forward 244.9 inches | ||
Line 118: | Line 68: | ||
3.)Go to -> Teleoperated mode | 3.)Go to -> Teleoperated mode | ||
<br> | <br> | ||
Line 318: | Line 162: | ||
<br> | <br> | ||
{| cellspacing="1" cellpadding="1" border="1" align="left" width="726" style="width: 726px; height: 425px;" | {| cellspacing="1" cellpadding="1" border="1" align="left" width="726" style="width: 726px; height: 425px;" | ||
|- | |- | ||
| width="250" | Approach the pegs: | | width="250" | Approach the pegs: | ||
| width="750" colspan="3" | Strategy 1 and 2<br>Straight line (left side) | | width="750" colspan="3" | Strategy 1 and 2<br>Straight line (left and right side) | ||
| | | <br> | ||
| <br> | | <br> | ||
|- | |- | ||
| width="250" | Put Ubertube on pegs: | | width="250" | Put Ubertube on pegs: | ||
| width="250" | Strategy 1<br>Top Peg (Normal Height) | | width="250" | Strategy 1<br>Top Peg (Normal Height) | ||
| width="250" | Strategy | | width="250" | Strategy 2<br>Middle peg (Normal Height) | ||
| width="250" | Strategy | | width="250" | Strategy 3<br>Low peg (Normal Height) | ||
| <br> | | <br> | ||
| <br> | | <br> | ||
|- | |- | ||
| <br> | | <br> | ||
| <br> | | <br> | ||
| <br> | | <br> | ||
| <br> | | <br> | ||
| <br> | | <br> | ||
| <br> | | <br> | ||
|- | |- | ||
| <br> | | <br> | ||
| width="750" colspan="3" | | | width="750" colspan="3" | | ||
*Drive Forward | *Drive Forward 245? inches on line [be far enough away from pegs to move arm without hitting pegs] | ||
*While driving: Move arm to middle peg position [do not twist tube] | *While driving: Move arm to middle peg position [do not twist tube] | ||
| <br> | | <br> | ||
| <br> | | <br> | ||
|- | |- | ||
| <br> | | <br> | ||
| valign="top" align="left" width="250" | | | valign="top" align="left" width="250" | | ||
*Have manip. twist tube to '''top''' peg angle | *Have manip. twist tube to '''top''' peg angle | ||
Line 542: | Line 214: | ||
*Back up same amount we drove forward | *Back up same amount we drove forward | ||
| <br> | | <br> | ||
| <br> | | <br> | ||
|- | |- | ||
| <br> | | <br> | ||
| width="750" colspan="3" | | | width="750" colspan="3" | | ||
*Raise arm to max height | *Raise arm to max height | ||
*Go to -> Final Action | *Go to -> Final Action | ||
| <br> | | <br> | ||
| <br> | | <br> | ||
|} | |} | ||
<br> | |||
<br> | <br> . <br> | ||
<br> | {| cellspacing="1" cellpadding="1" border="1" align="left" width="726" style="width: 726px; height: 425px;" | ||
|- | |||
| width="250" | Approach the pegs: | |||
| width="750" colspan="3" | Strategy 3 and 4<br>Follow center line (left and right fork) | |||
| <br> | |||
| <br> | |||
|- | |||
| width="250" | Put Ubertube on pegs: | |||
| width="250" | Strategy 1<br>Top Peg (offset Height) | |||
| width="250" | Strategy 2<br>Middle peg (offset Height) | |||
| width="250" | Strategy 3<br>Low peg (offset Height) | |||
| <br> | |||
| <br> | |||
|- | |||
| <br> | |||
| <br> | |||
| <br> | |||
| <br> | |||
| <br> | |||
| <br> | |||
|- | |||
| <br> | |||
| width="750" colspan="3" | | |||
*Go foward to fork (while raising arm to middle peg offset.) | |||
*drive slightly more (to no longer see line, half the robot distance so we can turn correctly(19 inches)) | |||
<br> | | <br> | ||
| <br> | |||
|- | |||
| <br> | |||
| valign="top" align="left" width="250" | | |||
*4.)Turn left/right until line is visible.; | |||
*7.) Raise arm to preset position (top, middle, bottom) | |||
*7.5.) Have manip belts change tube angle to corrospond with arm position. | |||
*5.)drive forward (while following line) 60 inches | |||
*6.) Turn 30/-30 degrees | |||
*8.) Go forward (based on preset position) | |||
*9.) Eject tube | |||
*10.) Back up (Same distance as step 8) | |||
<br> | | valign="top" align="left" width="250" | | ||
| valign="top" align="left" width="250" | | |||
| <br> | |||
| <br> | |||
|- | |||
| <br> | |||
| width="750" colspan="3" | | |||
*Raise arm to max height | |||
*Go to -> Final Action | |||
<br> | | <br> | ||
| <br> | |||
|} | |||
<br> | <br> | ||
<br> | |||
<br> | |||
<br><br> | <br><br> |
Revision as of 18:28, 10 February 2011
Autonomous Actions
We split it up into three stages.
1. Approach the pegs.
2. Put Ubertube on pegs.
3. Ending action.
Approach pegs
Strategy 0:
1.) Do nothing
1.5) Stop all internal motors
1.5.5) Stop everything
2.) Wait for Teleoperated mode
3.) Go to -> Teleoperated mode
Strategy 5
Dead Reckoning (Striaght line)
1.) Drive Forward 244.9 inches
1.5.) Raise arm to middle peg position
1.5.5)Turn manipulator belts to positon tube for placement
2.) Go to -> Ubertube Placement
Strategy 6
Dead Reckoning (Center Line Left fork)
1.) Drive Forward 157.3 inches
1.5.) Raise arm to middle peg position
2.) Turn 35deg Counterclockwise
3.) Drive forward 67.5 inches
4.) Turn 35deg Clockwise
5.) Go to -> Place Ubertube
Strategy 7
Dead Reckoning (Center Line right fork)
1.) Drive Forward 157.3 inches
1.5.) Raise arm to middle peg position
2.) Turn 35deg clockwise
3.) Drive forward 67.5 inches
4.) Turn 35deg CounterClockwise
5.) Go to -> Place Ubertube
Stage 2: Ubertube Placement
Strategy 0
Do nothing
1.) Stop all internal functions
2.) Wait for Teleoperated mode
3.)Go to -> Teleoperated mode
Stage 3: Final Action
Strategy 1
Do nothing
1.) Stop all motors
2.) Wait for teleoperated mode
3.) Go to -> Teleoperated
Strategy 2
Turn around and do nothing
1.) Turn 180deg
2.) Stop all motors
3.) Wait for teleoperated mode
4.) Go to -> Teleoperated
Strategy 3
Go to midfield while driving backwards
1.) Drive forward -245 inches
2.) Stop all motors
3.) Wait for teleoperated mode
4.) Go to -> Teleoperated mode
Strategy 4
Drive to midfield backwards, then turn!
1.) Drive forward -245 inches
2.) Turn 180 deg
3.) Stop all motors
4.) Wait for Teleoperated mode
5.) Go to -> Teleoperated mode
Strategey 5
Go to right lane to block incoming opposing alliance robots
1.) Drive backwards
2.) Turn 90deg Counterclockwise
3.) Drive until reached lane
4.) Stop all motors
5.) Wait for teleoperated mode
6.) Go to -> Teleoperated mode
Strategey 5
Go to leftlane to block incoming opposing alliance robots
1.) Drive backwards
2.) Turn 90deg Clockwise
3.) Drive until reached lane
4.) Stop all motors
5.) Wait for teleoperated mode
6.) Go to -> Teleoperated mode
To tell the robot which set of actions to perform you select an autonomous mode using the classmate or a paper handbook, which tells you three numbers that you plug in using a keypad on the driver’s station. The robot understands and runs based on the numbers. (Example 000 tells the robot to do nothing during autonomous).
Approach the pegs: | Strategy 1 and 2 Straight line (left and right side) |
||||
Put Ubertube on pegs: | Strategy 1 Top Peg (Normal Height) |
Strategy 2 Middle peg (Normal Height) |
Strategy 3 Low peg (Normal Height) |
||
|
|||||
|
|
|
|||
|
.
Approach the pegs: | Strategy 3 and 4 Follow center line (left and right fork) |
||||
Put Ubertube on pegs: | Strategy 1 Top Peg (offset Height) |
Strategy 2 Middle peg (offset Height) |
Strategy 3 Low peg (offset Height) |
||
|
|||||
|
|||||
|