2011:Autonomous: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
No edit summary
Line 63: Line 63:
*Have manip. twist tube to '''top''' peg angle  
*Have manip. twist tube to '''top''' peg angle  
*Move arm to '''top''' peg  
*Move arm to '''top''' peg  
*Drive Forward '''30?''' inches  
*Drive Forward '''30?''' inches
*Eject tube
*Back up same amount we drove forward


| valign="top" align="left" width="250" |  
| valign="top" align="left" width="250" |  
*Have manip. twist tube to '''middle''' peg angle  
*Have manip. twist tube to '''middle''' peg angle  
*'''arm doesn't move'''  
*'''arm doesn't move'''  
*Drive Forward '''24?''' inches  
*Drive Forward '''24?''' inches
*Eject tube
*Back up same amount we drove forward


| valign="top" align="left" width="250" |  
| valign="top" align="left" width="250" |  
*Have manip. twist tube to '''low''' peg angle  
*Have manip. twist tube to '''low''' peg angle  
*Move arm to '''low''' peg  
*Move arm to '''low''' peg  
*Drive forward '''28?''' inches  
*Drive forward '''28?''' inches
*Eject tube
*Back up same amount we drove forward


|-
|-
| <br>  
| <br>  
| width="880" colspan="4" |  
| width="880" colspan="4" |  
*Eject tube
*Back up same amount we drove forward <br>
*Go to -&gt; Ending Action
*Go to -&gt; Ending Action


Line 107: Line 103:
| width="880" colspan="3" |  
| width="880" colspan="3" |  
*Go foward to fork (while raising arm to middle peg offset.)  
*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))  
*drive slightly more (to no longer see line, half the robot distance so we can turn correctly(19? inches))<br>
*3.)Turn left/right until line is visible.<br>
*Turn left/right until line is visible.<br>


|-
|-
Line 114: Line 110:
| <br>  
| <br>  
| valign="top" align="left" width="250" |  
| valign="top" align="left" width="250" |  
*4.) Raise arm to top peg height
*Tell Manip to angle tube to top peg positon<br>  
*4.5.) Tell Manip to angle tube to top peg positon<br>
*Raise arm to top peg height <br>
*5.)Drive forward (while following line) 60 inches <br>
*Drive forward (while following line) 60 inches <br>  
*6.) Turn 30/-30 degrees<br>
*Turn 28?/-28? degrees<br>  
*7.) Go forward 24 inches<br>
*Go forward 24? inches<br>


| valign="top" align="left" width="250" |  
| valign="top" align="left" width="250" |  
*4.) Raise arm to middle peg height<br>
*Tell Manip. to angle tube to middle peg positon.<br>  
*4.5 Tell Manip. to angle tube to middle peg positon.<br>
*Raise arm to middle peg height<br>  
*5.) Drive forward (while following line) 60 inches<br>
*&nbsp;Drive forward (while following line) 60 inches<br>  
*6.) Turn 30/-30 degrees<br>
*Turn 30?/-30? degrees<br>  
*7.) Go forward 36 inches<br>
*Go forward 36? inches


| valign="top" align="left" width="250" |  
| valign="top" align="left" width="250" |  
*4.) Raise arm to low peg height
*Tell manipulator to angle tube to low peg position.<br>  
*4.5) Tell manipulator to angle tube to peg position.<br>
*Raise arm to low peg height<br>
*5.) Drive forward (while following line) 60 inches<br>
*Drive forward (while following line) 60 inches<br>  
*6.) Turn 30/-30 degrees<br>
*Turn 29?/-29? degrees<br>  
*7.) Go forward 34 inches<br>
*Go forward 34? inches<br>


|-
|-
| <br>
| <br>  
| <br>
| <br>  
| width="880" colspan="4" |  
| width="880" colspan="4" |  
*8.) Eject tube<br>
*Eject tube<br>  
*9.) Back up (Same distance as step 7) <br>
*&nbsp;Back up (Same distance as last drive forward) <br>  
*Go to -&gt; Ending Action<br>
*Go to -&gt; Ending Action<br>


Line 154: Line 150:
| width="150" | '''Ending Action:'''  
| width="150" | '''Ending Action:'''  
| width="130" | 0 Do Nothing  
| width="130" | 0 Do Nothing  
| width="250" | 1 Stay at pegs don't turn (do nothing #2)<br>
| width="250" | 1 Stay at pegs don't turn (do nothing #&nbsp; 2)<br>  
| width="250" | &nbsp; 3Stay at pegs (turn 180)  
| width="250" | &nbsp; 2 Stay at pegs (turn 180)  
| width="250" |  
| width="250" |  
4 Drive backwards to midfield  
3 Drive backwards to midfield  


| width="250" | 4 Drive backwards to midfield and turn 180<br>
| width="250" | 4 Drive Backwards to midfield and turn 180 <br>  
| width="250" | 5 Drive to lane
|-
|-
| <br>  
| <br>  
| <br>  
| <br>  
| width="880" colspan="3" |  
| width="880" colspan="5" |  
*Raise arm to max height
*Raise arm to max height


|
|-
|-
| <br>  
| <br>  
Line 173: Line 171:
*Turn 180 degrees<br>
*Turn 180 degrees<br>


| valign="top" align="left" width="250" | <br> <br>  
| valign="top" align="left" width="250" |  
| valign="top" align="left" width="250" | <br>
*Drive forward -245 inches. <br> <br>
 
| valign="top" align="left" width="250" |  
*Drive forward -245 inches<br>  
*Turn 180 degrees
 
| valign="top" align="left" width="250" |
*
 
|-
|-
| <br>  
| <br>  
| width="880" colspan="4" |  
| width="880" colspan="6" |  
*Stop all motors  
*Stop all motors  
*Wait for Teleoperated mode  
*Wait for Teleoperated mode  
*Go to -&gt; Teleoperated mode
*Go to -&gt; Teleoperated mode


| <br>
|}
|}



Revision as of 10:36, 12 February 2011

Autonomous Actions

We split it up into three stages:
1. Starting Positions and Actions (Approach the pegs)
2. Peg Height (Put Ubertube on pegs)
3. Ending action.


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).

Start Positions and Actions

Start Positions and Actions: 0 Do nothing
Peg Height: 0 Do Nothing 1 Top Peg (Normal Height) 2 Middle peg (Normal Height) 3 Low peg (Normal Height)









  • Go to -> Ending Action



Start Positions and Actions: 1 Follow straight line (Left side) and
2 Follow straight line (Right side)
Peg Height: 0 Do Nothing 1 Top Peg (Normal Height) 2 Middle peg (Normal Height) 3 Low peg (Normal Height)


  • 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]


  • Have manip. twist tube to top peg angle
  • Move arm to top peg
  • Drive Forward 30? inches
  • Have manip. twist tube to middle peg angle
  • arm doesn't move
  • Drive Forward 24? inches
  • Have manip. twist tube to low peg angle
  • Move arm to low peg
  • Drive forward 28? inches

  • Eject tube
  • Back up same amount we drove forward
  • Go to -> Ending Action



Start Positions and Actions: 3 Follow center line (Left fork) and
4 Follow center line (Right fork)
Peg Height: 0 Do Nothing 1 Top Peg (Normal Height) 2 Middle peg (Normal Height) 3 Low peg (Normal Height)


  • 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))
  • Turn left/right until line is visible.


  • Tell Manip to angle tube to top peg positon
  • Raise arm to top peg height
  • Drive forward (while following line) 60 inches
  • Turn 28?/-28? degrees
  • Go forward 24? inches
  • Tell Manip. to angle tube to middle peg positon.
  • Raise arm to middle peg height
  •  Drive forward (while following line) 60 inches
  • Turn 30?/-30? degrees
  • Go forward 36? inches
  • Tell manipulator to angle tube to low peg position.
  • Raise arm to low peg height
  • Drive forward (while following line) 60 inches
  • Turn 29?/-29? degrees
  • Go forward 34? inches


  • Eject tube
  •  Back up (Same distance as last drive forward)
  • Go to -> Ending Action



Ending Actions

Ending Action: 0 Do Nothing 1 Stay at pegs don't turn (do nothing #  2)
  2 Stay at pegs (turn 180)

3 Drive backwards to midfield

4 Drive Backwards to midfield and turn 180
5 Drive to lane


  • Raise arm to max height



  • Turn 180 degrees
  • Drive forward -245 inches.

  • Drive forward -245 inches
  • Turn 180 degrees

  • Stop all motors
  • Wait for Teleoperated mode
  • Go to -> Teleoperated mode



Approach pegs


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


Stage 3: Final Action


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 6
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