2011:Autonomous: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
(New page: List of Autonomous Actions: <br>Scoring Strategy: * Start facing pegs, any of the starting tape lines * Delayed start (0-10 seconds) * Follow straight line, turn left/right/none, place...)
 
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
List of Autonomous Actions:
= Autonomous Actions =


<br>Scoring Strategy:
We split it up into three stages:  


* Start facing pegs, any of the starting tape lines
#Starting Positions and Actions (Approach the pegs) with Peg Height (Put Ubertube on pegs)
#Ending action
#End Autonomous


* Delayed start (0-10 seconds)
<br>


* Follow straight line, turn left/right/none, place on high/mid/low, accounting for height for the center pegs
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).


<br>* Follow lines<br> * Follow outside lines<br> * Follow inside line (and left or right branch)
=== '''Start Positions and Actions'''<br> ===


* Turn at pegs<br> * Turn left<br> * No turn<br> * Turn right
{| cellspacing="1" cellpadding="1" border="1" width="750"
|-
| width="150" | '''Start Positions and Actions:'''
| width="880" colspan="4" | 0 Do nothing
|-
| width="150" | '''Peg Height:'''
| width="130" | 0 Do Nothing
| width="250" | 1 Top Peg (Normal Height)
| width="250" | 2 Middle peg (Normal Height)
| width="250" | 3 Low peg (Normal Height)
|-
| <br>
| <br>
| width="880" colspan="3" | <br>
|-
| <br>
| <br>
| align="left" width="250" valign="top" | <br>
| align="left" width="250" valign="top" | <br>  
| align="left" width="250" valign="top" | <br>
|-
| <br>  
| width="880" colspan="4" |
*Go to -&gt; End Autonomous


* Place on pegs<br> * Place low<br> * Place mid<br> * Place high
|}


* Follow Line back to start<br> * Follow<br> * Stay
<br>  


* Drive to center (close without penalty)<br> * Stay<br> * Drive to center<br> * Drive to left<br> * Drive to right
<br>  


<br>* Dead Reckoning (straight on to peg collumn) then score on any height<br> *ensure robot does not stray to far from straight (i.e. going into lane)<br> -
{| cellspacing="1" cellpadding="1" border="1" width="750"
|-
| width="150" | '''Start Positions and Actions:'''
| width="880" colspan="4" | 1 Follow straight line (Left side) and<br>2 Follow straight line (Right side)
|-
| width="150" | '''Peg Height:'''
| width="130" | 0 Do Nothing
| width="250" | 1 Top Peg (Offset Height)
| width="250" | 2 Middle peg (Offset Height)
| width="250" | 3 Low peg (Offset Height)
|-
| <br>
| <br>  
| width="880" colspan="3" |
*Drive Forward 219? 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]


* Drive to center without scoring
|-
| <br>
| <br>
| align="left" width="250" valign="top" |
*Have manip. twist tube to '''top''' peg angle
*Move arm to '''top''' peg
*Drive Forward '''30?''' inches


* Do nothing
| align="left" width="250" valign="top" |
*Have manip. twist tube to '''middle''' peg angle
*'''arm doesn't move'''
*Drive Forward '''24?''' inches


<br>* Use Camera (drive/arm)
| align="left" width="250" valign="top" |
*Have manip. twist tube to '''low''' peg angle
*Move arm to '''low''' peg
*Drive forward '''28?''' inches


* Split line:<br> follow line until break <br> turn to set direction <br> follow until break<br> turn<br> -Drive following the line, monitor for line break, robot stops, robot turns left/right based on what was chosen, (turn up to X degrees and/or use
|-
| <br>  
| <br>  
| width="880" colspan="3" |
*Eject tube
*Back up same amount we drove forward


sensors to find line), drive following line, monitor for line bend/break, robot stops, robot turns opposite direction from earlier, potentially drive forward/backward
|-
| <br>
|
*Go to -&gt; End Autonomous


to be a correct distance from pegs
| width="880" colspan="3" |
*Go to -&gt; Ending Action


*Straight Line:<br> -Drive following the line, monitor for wide tape or loss of tape, robot stops, potentialy drive forward/backward to be a correct distance from pegs
|}


Outside Pegs/Dead Reckoning:<br> -Drive straight X amount of inches while monitoring gyro to make sure we're driving straight, robot stops
<br>  


Top Peg:<br> -Raise the arm using sensors to determine position, *side note - position tube in the beginning so it's in the correct position when arm is raised*
<br>  


drive forward to put tube on peg if needed, release the piece on the peg
{| cellspacing="1" cellpadding="1" border="1" width="750"
|-
| width="150" | '''Start Positions and Actions:'''
| width="880" colspan="4" | 3 Follow center line (Left fork) and<br>4 Follow center line (Right fork)
|-
| width="150" | '''Peg Height:'''
| width="130" | 0 Do Nothing
| width="250" | 1 Top Peg (Normal Height)
| width="250" | 2 Middle peg (Normal Height)
| width="250" | 3 Low peg (Normal Height)
|-
| <br>
| <br>
| width="880" 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))
*Turn left/right until line is visible.


Different Pegs:<br> -Height of arm would change, tube positioning would change
|-
| <br>
| <br>  
| align="left" width="250" valign="top" |
*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


<br>* End positions:<br> stay at pegs<br> try to block lane/get ready for our lane (no turn/turn)<br> go to center line (make sure to put arm back into bot, feed position, able to grab off ground, )<br> 180 and drive<br> dead reckonning (dont go too close)<br> reverse
| align="left" width="250" valign="top" |
*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


-Monitor gyro at all times
| align="left" width="250" valign="top" |
*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


Center Line:<br> -Turn 180 degrees, robot drives X inches *3/4 the way to the center*<br> -Robot drives backwards X inches *3/4 the way to the center*
|-
| <br>
| <br>  
| width="880" colspan="3" |
*Eject tube
*Back up (Same distance as last drive forward)
*align robot so it is parallel to the line and same distance from wall as Straight Line and Dead Reckoning
**if right fork: turn -(60 + same angle as last turn) degrees
**if left fork: turn -(-60 + same angle as last turn) degrees  
**Drive Backwards (16 + 45 - same distance as last drove backward) inches [note: 45 is the amount from the front of the peg]


Stay at Pegs:<br> -Do nothing<br> -Turn 180 degrees
|-
| <br>  
|
*Go to -&gt; End Autonomous


Move to the Side:<br> -Turn 180 degrees, drive X inches or following the line and driving x inches, robot stops, turn left/right 90 degrees, drive forward x inches, robot
| width="880" colspan="3" |
*Go to -&gt; Ending Action


stops, turn 90 degrees in the opposite direction<br> -Go backwards x inches or follow the line and drive x inches, robot stops, turn left/right 90 degrees, drive forward x inches, robot stops, turn 90
|}


degrees in the same direction as before.<br>  
<br>  


* arm positioning:<br> camera<br> potentiometer<br> encoders<br> limit switches<br>  
<br>  


* manipulator positioning:<br> angle to meet peg
{| cellspacing="1" cellpadding="1" border="1" width="750"
|-
| width="150" | '''Start Positions and Actions:'''
| width="880" colspan="4" | Dead Reckoning offset pegs
|-
| width="150" | '''Peg Height:'''
| width="130" | 0 Do Nothing
| width="250" | 1 Top Peg (Offset Height)
| width="250" | 2 Middle peg (Offset Height)
| width="250" | 3 Low peg (Offset Height)
|-
| <br>  
| <br>
| width="880" colspan="3" |
*Drive Forward 245? inches
*Raise arm to middle peg positon (while driving)


<br>* How to stop:<br> end line<br> camera<br> dead reckonning<br> mouse
|-
| <br>  
| <br>  
| align="left" width="250" valign="top" |
*Move arm to top peg offset height
*Have Manip. angle tube for top peg offset height
*Drive forward 36 inches


| align="left" width="250" valign="top" |
*Move arm to middle peg offset height
*Have Manip. angle tube for middle peg offset height
*Drive forward 24 inches


| align="left" width="250" valign="top" |
*Move arm to low peg offset height
*Have Manip. angle tube for low peg offset height
*&nbsp;Drive forward 30 inches


* need to know how to align<br>  
|-
| <br>
| <br>  
| width="880" colspan="3" |
*Eject tube
*Back up same amount we drove forward


* Start position<br>* How to get to pegs<br>*
|-
| <br>  
|
*Go to -&gt; End Autonomous


| width="880" colspan="3" |
*Go to -&gt; Ending Action


|}


follow line using sensor
<br>


<br>


{| cellspacing="1" cellpadding="1" border="1" width="750"
|-
| width="150" | '''Start Positions and Actions:'''
| width="880" colspan="4" | Dead Reckoning
|-
| width="150" | '''Peg Height:'''
| width="130" | 0 Do Nothing
| width="250" | 1 Top Peg (Normal Height)
| width="250" | 2 Middle peg (Normal Height)
| width="250" | 3 Low peg (Normal Height)
|-
| <br>
| <br>
| width="880" colspan="3" |
*Drive Forward 245? inches
*Raise arm to middle peg positon (while driving)


<br>Nessecary Pre-Match Toggles:
|-
| <br>  
| <br>
| align="left" width="250" valign="top" |
*Move arm to top peg height
*Have Manip. angle tube for top peg height
*Drive forward 36? inches


<br>* Line following (left-center_l-center_r-right)<br>* Turn To (left-center-right)<br>* Level to place on (low-mid-high)<br>* Go back (on/yes-off/no)<br>* Lane to drive to (left-center-right)<br>
| align="left" width="250" valign="top" |
*Move arm to middle peg height
*Have Manip. angle tube for middle peg height
*Drive forward 24? inches
 
| align="left" width="250" valign="top" |
*Move arm to low peg height
*Have Manip. angle tube for low peg height
*&nbsp;Drive forward 30? inches
 
|-
| <br>
| <br>  
| width="880" colspan="3" |
*Eject tube
*Back up same amount we drove forward
 
|-
| <br>
|
*Go to -&gt; End Autonomous
 
| width="880" colspan="3" |
*Go to -&gt; Ending Action
 
|}
 
<br>
 
<br>
 
<br>
 
=== '''Ending Actions'''<br> ===
 
{| border="1" cellspacing="1" cellpadding="1" width="750"
|-
| width="150" | '''Ending Action:'''
| width="130" | 0 Do Nothing
| width="250" | 1 Stay at pegs don't turn (do nothing #&nbsp; 2)<br>
| width="250" | &nbsp; 2 Stay at pegs (turn 180)
| width="250" |
3 Go to Midfield (drive backwards)
 
| width="250" | 4 Go to Midfield (turn 180) <br>
| width="250" | 5&nbsp;
|-
| <br>
| <br>
| width="880" colspan="5" |
*Raise arm to max height
 
|-
| <br>
| <br>
| valign="top" width="250" align="left" | <br>
| valign="top" width="250" align="left" |
*Turn 180 degrees<br>
 
| valign="top" width="250" align="left" |
*Drive backwards 229? inches [note: stay 3 feet away from midfield]<br><br>
 
| valign="top" width="250" align="left" |
*Drive backwards 229? inches [note: stay 3 feet away from midfield]<br>
*Turn 180 degrees
 
| valign="top" width="250" align="left" |
|-
| <br>
| width="880" colspan="6" |
*Go to -&gt; End Autonomous
 
|}
 
<br>
 
<br>
 
<br>
 
=== '''End Autonomous'''<br> ===
 
{| border="1" cellspacing="1" cellpadding="1" width="750"
|-
| <br>
| width="880" colspan="6" |
*Stop all motors
*Wait for Teleoperated mode
*Go to -&gt; Teleoperated mode
 
| <br>
|}

Latest revision as of 10:42, 6 January 2012

Autonomous Actions

We split it up into three stages:

  1. Starting Positions and Actions (Approach the pegs) with Peg Height (Put Ubertube on pegs)
  2. Ending action
  3. End Autonomous


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 -> End Autonomous



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 (Offset Height) 2 Middle peg (Offset Height) 3 Low peg (Offset Height)


  • Drive Forward 219? 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 -> End Autonomous
  • 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)
  • align robot so it is parallel to the line and same distance from wall as Straight Line and Dead Reckoning
    • if right fork: turn -(60 + same angle as last turn) degrees
    • if left fork: turn -(-60 + same angle as last turn) degrees
    • Drive Backwards (16 + 45 - same distance as last drove backward) inches [note: 45 is the amount from the front of the peg]

  • Go to -> End Autonomous
  • Go to -> Ending Action



Start Positions and Actions: Dead Reckoning offset pegs
Peg Height: 0 Do Nothing 1 Top Peg (Offset Height) 2 Middle peg (Offset Height) 3 Low peg (Offset Height)


  • Drive Forward 245? inches
  • Raise arm to middle peg positon (while driving)


  • Move arm to top peg offset height
  • Have Manip. angle tube for top peg offset height
  • Drive forward 36 inches
  • Move arm to middle peg offset height
  • Have Manip. angle tube for middle peg offset height
  • Drive forward 24 inches
  • Move arm to low peg offset height
  • Have Manip. angle tube for low peg offset height
  •  Drive forward 30 inches


  • Eject tube
  • Back up same amount we drove forward

  • Go to -> End Autonomous
  • Go to -> Ending Action



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


  • Drive Forward 245? inches
  • Raise arm to middle peg positon (while driving)


  • Move arm to top peg height
  • Have Manip. angle tube for top peg height
  • Drive forward 36? inches
  • Move arm to middle peg height
  • Have Manip. angle tube for middle peg height
  • Drive forward 24? inches
  • Move arm to low peg height
  • Have Manip. angle tube for low peg height
  •  Drive forward 30? inches


  • Eject tube
  • Back up same amount we drove forward

  • Go to -> End Autonomous
  • 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 Go to Midfield (drive backwards)

4 Go to Midfield (turn 180)


  • Raise arm to max height



  • Turn 180 degrees
  • Drive backwards 229? inches [note: stay 3 feet away from midfield]

  • Drive backwards 229? inches [note: stay 3 feet away from midfield]
  • Turn 180 degrees

  • Go to -> End Autonomous




End Autonomous


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