2011:Autonomous: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
(Finished high level plans & strategyes)
(Final Edit!)
Line 1: Line 1:
Autonomous Actions  
Autonomous Actions  


We split it up into three stages.<br>1. Approach the pegs.<br>2. Put Ubertube on pegs.<br>3. Ending action.  
We split it up into three stages.<br>1. Approach the pegs.<br>2. Put Ubertube on pegs.<br>3. Ending action.<br>


<br>
Approach pegs


<br>  
<br>  


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 -&gt; Teleoperated mode


<br>


Approach pegs
<br>Strategy 1<br>Straight line (left side)


1.) Drive Forward 244.9 inches on line


1.5.) Raise arm upward as driving to position for top peg<br>


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 -&gt; Teleoperated mode
2.) If all done....  


2.5) go to -&gt; Place ubertube


<br>


<br>Strategy 1<br>Straight line (left side)
<br>Strategy 2<br>Straight line (right side)  


1.) Drive Forward 244.9 inches on line  
1.) Drive Forward 244.9 inches on line  


1.5.) Raise arm upward as driving to position for top peg
1.5.) Raise arm upward as driving to position for top peg  


1.5.5) Move manipulator belts to correctly position tube
1.5.5) Move manipulator belts to correctly position tube  


2.) If all done....
2.) If all done....  


2.5) go to -&gt; Place ubertube
2.5) go to -&gt; Place ubertube  


<br>


<br>Strategy 3<br>Center line (left fork)


<br>Strategy 2<br>Straight line (right side)
1.)Go foward to fork (while raising arm to 90deg. and turning tube via manip. so as it is parallel to ground);


1.) Drive Forward 244.9 inches on line
2.)At fork, stop at fork


1.5.) Raise arm upward as driving to position for top peg
3.)drive slightly more (to no longer see line, half the robot distance so we can turn correctly)


1.5.5) Move manipulator belts to correctly position tube
4.)Turn until line is visible.;


2.) If all done....
5.)drive forward (while following line);


2.5) go to -&gt; Place ubertube
6.)stop and turn to line up with pegs;  


7.)go to -&gt;place ubertube;


(Possible to back up, and repeats five and six after step six to line up correctly)<br>


<br>Strategy 3<br>Center line (left fork)
<br>Strategy 4<br>Center line (right fork)  


1.)Go foward to fork (while raising arm to 90deg. and turning tube via manip. so as it is parallel to ground);
1.)Go foward to fork (while raising arm to 90deg. and turning tube via manip. so as it is parallel to ground);  


2.)At fork, stop at fork
2.)At fork, stop at fork  


3.)drive slightly more (to no longer see line, half the robot distance so we can turn correctly)
3.)drive slightly more (to no longer see line, half the robot distance so we can turn correctly)  


4.)Turn until line is visible.;
4.)Turn until line is visible.;  


5.)drive forward (while following line);


6.)stop 1-2 feet early and turn one side (curve) to line up with pegs;


7.)go to -&gt;place ubertube;
6.)stop and turn to line up with pegs;




<br>Strategy 4<br>Center line (right fork)
1.)Go foward to fork (while raising arm to 90deg. and turning tube via manip. so as it is parallel to ground);
2.)At fork, stop at fork
3.)drive slightly more (to no longer see line, half the robot distance so we can turn correctly)
4.)Turn until line is visible.;
5.)drive forward (while following line);
6.)stop 1-2 feet early and turn one side (curve) to line up with pegs;


7.)go to -&gt;place ubertube;
7.)go to -&gt;place ubertube;


<br>(ALL DEAD RECKONING STRATEGYS ARE ASSUMING WE START INFRONT OF THE PEG!)
(Possible to back up, and repeats five and six after step six to line up correctly)


Strategy 5<br>Dead Reckoning (Striaght line)


1.) Drive Forward 244.9 inches


1.5.) Raise arm to top peg position
<br>(ALL DEAD RECKONING STRATEGYS ARE ASSUMING WE START INFRONT OF THE PEG!)  


1.5.5)Turn manipulator belts to positon tube for placement
Strategy 5<br>Dead Reckoning (Striaght line)  


2.) Go to -&gt; Ubertube Placement
1.) Drive Forward 244.9 inches


1.5.) Raise arm to top peg position


1.5.5)Turn manipulator belts to positon tube for placement


<br>Strategy 6<br>Dead Reckoning (Center Line Left fork)
2.) Go to -&gt; Ubertube Placement


1.) Drive Forward 157.3 inches
<br>


1.5.) Raise arm to top peg position
<br>Strategy 6<br>Dead Reckoning (Center Line Left fork)  


1.5.5) Turn manipulator belts to positon tube for placement
1.) Drive Forward 157.3 inches


2.) Turn 35deg Counterclockwise
1.5.) Raise arm to top peg position


3.) Drive forward 67.5 inches
1.5.5) Turn manipulator belts to positon tube for placement


4.) Turn 35deg Clockwise
2.) Turn 35deg Counterclockwise


5.) Go to -&gt; Place Ubertube
3.) Drive forward 67.5 inches


4.) Turn 35deg Clockwise


5.) Go to -&gt; Place Ubertube


<br>


<br>


Strategy 7<br>Dead Reckoning (Center Line right fork)
Strategy 7<br>Dead Reckoning (Center Line right fork)  


1.) Drive Forward 157.3 inches
1.) Drive Forward 157.3 inches  


1.5.) Raise arm to top peg position
1.5.) Raise arm to top peg position  


1.5.5) Turn manipulator belts to positon tube for placement
1.5.5) Turn manipulator belts to positon tube for placement  


2.) Turn 35deg clockwise
2.) Turn 35deg clockwise  


3.) Drive forward 67.5 inches
3.) Drive forward 67.5 inches  


4.) Turn 35deg CounterClockwise
4.) Turn 35deg CounterClockwise  


5.) Go to -&gt; Place Ubertube
5.) Go to -&gt; Place Ubertube  


<br>


<br>Stage 2: Ubertube Placement


<br>Stage 2: Ubertube Placement
<br>  


Strategy 0<br>Do nothing


<br>1.) Stop all internal functions


Strategy 0<br>Do nothing
2.) Wait for Teleoperated mode


<br>1.) Stop all internal functions
3.)Go to -&gt; Teleoperated mode


2.) Wait for Teleoperated mode
<br>


3.)Go to -&gt; Teleoperated mode
Strategy 1<br>Top Peg (Normal Height)  


0.5.) Move Tube angle to appropriate height.<br>


1.) Eject tube onto peg


Strategy 1<br>Top Peg (Normal Height)
2.) Raise arm to max height


1.) Eject tube onto peg
3.) Go to -&gt; Final Action


2.) Raise arm to max height
<br>


3.) Go to -&gt; Final Action
Strategy 2<br>Top Peg (offset Height)  


0.5.) Move Tube angle to appropriate height.<br>


1.) Drive back 3 inches<br>


Strategy 2<br>Top Peg (offset Height)
2.) Move arm down 8 inches


1.) Drive back 3 inches
3.) Drive forward 2 inches  


2.) Move arm down 8 inches
4.) Eject tube


3.) Drive forward 2 inches
5.) Move arm up to max height


4.) Eject tube
6.) Go to -&gt; Final Action


5.) Move arm up to max height
<br>


6.) Go to -&gt; Final Action
<br>Strategy 3<br>Middle peg (Normal Height)  


0.5.) Move Tube angle to appropriate height.<br>


1.) Drive back 12 inches


<br>Strategy 3<br>Middle peg (Normal Height)
2.) Lower arm 30 inches


1.) Drive back 12 inches
3.) Drive forward 3 inches  


2.) Lower arm 30 inches
4.) Eject tube


3.) Drive forward 3 inches
5.) Move arm up to max height


4.) Eject tube
6.) Go to -&gt; Final Action  
 
5.) Move arm up to max height
 
6.) Go to -&gt; Final Action


<br>


Strategy 4<br>Middle peg (Offset Height)


Strategy 4<br>Middle peg (Offset Height)
0.5.) Move Tube angle to appropriate height.<br>


1.) Drive back 15 inches  
1.) Drive back 15 inches  


2.) Lower arm 38 inches
2.) Lower arm 38 inches  


3.) Drive forward 3 inches
3.) Drive forward 3 inches  


4.) Eject tube
4.) Eject tube  


5.) Move arm up to max height
5.) Move arm up to max height  


6.) Go to -&gt; Final Action
6.) Go to -&gt; Final Action  


<br>


Strategy 5 <br>Low peg (Normal Height)


Strategy 5 <br>Low peg (Normal Height)
0.5.) Move Tube angle to appropriate height.<br>


1.) Drive back 24 inches  
1.) Drive back 24 inches  


2.) Lower arm 60 inches
2.) Lower arm 60 inches  


3.) Drive forward 3 inches
3.) Drive forward 3 inches  


4.) Eject tube
4.) Eject tube  


5.) Move arm up to max height
5.) Move arm up to max height  


6.) Go to -&gt; Final Action
6.) Go to -&gt; Final Action  


<br>Strategy 6<br>Low peg (offset Height)
<br>Strategy 6<br>Low peg (offset Height)  


1.) Drive back 27 inches
0.5.) Move Tube angle to appropriate height.<br>


2.) Lower arm 90 inches
1.) Drive back 27 inches  


3.) Drive forward 3 inches
2.) Lower arm 90 inches  


4.) Eject tube
3.) Drive forward 3 inches


5.) Move arm to max height
4.) Eject tube


6.) Go to -&gt; Final Action
5.) Move arm to max height


6.) Go to -&gt; Final Action


<br>


<br>Stage 3: Final Action
<br>Stage 3: Final Action  


<br>


Strategy 1<br>Do nothing


Strategy 1<br>Do nothing
1.) Stop all motors


1.) Stop all motors
2.) Wait for teleoperated mode  
 
2.) Wait for teleoperated mode


3.) Go to -&gt; Teleoperated  
3.) Go to -&gt; Teleoperated  


<br>


Strategy 2<br>Turn around and do nothing


Strategy 2<br>Turn around and do nothing
1.) Turn 180deg


1.) Turn 180deg
2.) Stop all motors


2.) Stop all motors
3.) Wait for teleoperated mode


3.) Wait for teleoperated mode
4.) Go to -&gt; Teleoperated


4.) Go to -&gt; Teleoperated
<br>


<br>Strategy 3<br>Go to midfield while driving backwards


1.) Drive forward -245 inches


<br>Strategy 3<br>Go to midfield while driving backwards
2.) Stop all motors


1.) Drive forward -245 inches
3.) Wait for teleoperated mode


2.) Stop all motors
4.) Go to -&gt; Teleoperated mode


3.) Wait for teleoperated mode
<br>


4.) Go to -&gt; Teleoperated mode
<br>


Strategy 4<br>Drive to midfield backwards, then turn!


1.) Drive forward -245 inches


2.) Turn 180 deg


3.) Stop all motors


Strategy 4<br>Drive to midfield backwards, then turn!
4.) Wait for Teleoperated mode


1.) Drive forward -245 inches
5.) Go to -&gt; Teleoperated mode


2.) Turn 180 deg
<br>


3.) Stop all motors
Strategey 5<br>Go to right lane to block incoming opposing alliance robots


4.) Wait for Teleoperated mode
1.) Drive backwards


5.) Go to -&gt; Teleoperated mode
2.) Turn 90deg Counterclockwise


3.) Drive until reached lane


4.) Stop all motors


Strategey 5<br>Go to right lane to block incoming opposing alliance robots
5.) Wait for teleoperated mode


1.) Drive backwards
6.) Go to -&gt; Teleoperated mode


2.) Turn 90deg Counterclockwise
<br>


3.) Drive until reached lane
Strategey 5<br>Go to leftlane to block incoming opposing alliance robots


4.) Stop all motors
1.) Drive backwards


5.) Wait for teleoperated mode
2.) Turn 90deg Clockwise


6.) Go to -&gt; Teleoperated mode
3.) Drive until reached lane


4.) Stop all motors


5.) Wait for teleoperated mode


Strategey 5<br>Go to leftlane to block incoming opposing alliance robots
6.) Go to -&gt; Teleoperated mode<br>  
 
1.) Drive backwards
 
2.) Turn 90deg Clockwise
 
3.) Drive until reached lane
 
4.) Stop all motors
 
5.) Wait for teleoperated mode
 
6.) Go to -&gt; Teleoperated mode<br>
 


<br>


<br>  
<br>  

Revision as of 17:53, 8 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 1
Straight line (left side)

1.) Drive Forward 244.9 inches on line

1.5.) Raise arm upward as driving to position for top peg

2.) If all done....

2.5) go to -> Place ubertube



Strategy 2
Straight line (right side)

1.) Drive Forward 244.9 inches on line

1.5.) Raise arm upward as driving to position for top peg

1.5.5) Move manipulator belts to correctly position tube

2.) If all done....

2.5) go to -> Place ubertube



Strategy 3
Center line (left fork)

1.)Go foward to fork (while raising arm to 90deg. and turning tube via manip. so as it is parallel to ground);

2.)At fork, stop at fork

3.)drive slightly more (to no longer see line, half the robot distance so we can turn correctly)

4.)Turn until line is visible.;

5.)drive forward (while following line);

6.)stop and turn to line up with pegs;

7.)go to ->place ubertube;

(Possible to back up, and repeats five and six after step six to line up correctly)


Strategy 4
Center line (right fork)

1.)Go foward to fork (while raising arm to 90deg. and turning tube via manip. so as it is parallel to ground);

2.)At fork, stop at fork

3.)drive slightly more (to no longer see line, half the robot distance so we can turn correctly)

4.)Turn until line is visible.;


6.)stop and turn to line up with pegs;


7.)go to ->place ubertube;

(Possible to back up, and repeats five and six after step six to line up correctly)



(ALL DEAD RECKONING STRATEGYS ARE ASSUMING WE START INFRONT OF THE PEG!)

Strategy 5
Dead Reckoning (Striaght line)

1.) Drive Forward 244.9 inches

1.5.) Raise arm to top 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 top peg position

1.5.5) Turn manipulator belts to positon tube for placement

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 top peg position

1.5.5) Turn manipulator belts to positon tube for placement

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


Strategy 1
Top Peg (Normal Height)

0.5.) Move Tube angle to appropriate height.

1.) Eject tube onto peg

2.) Raise arm to max height

3.) Go to -> Final Action


Strategy 2
Top Peg (offset Height)

0.5.) Move Tube angle to appropriate height.

1.) Drive back 3 inches

2.) Move arm down 8 inches

3.) Drive forward 2 inches

4.) Eject tube

5.) Move arm up to max height

6.) Go to -> Final Action



Strategy 3
Middle peg (Normal Height)

0.5.) Move Tube angle to appropriate height.

1.) Drive back 12 inches

2.) Lower arm 30 inches

3.) Drive forward 3 inches

4.) Eject tube

5.) Move arm up to max height

6.) Go to -> Final Action


Strategy 4
Middle peg (Offset Height)

0.5.) Move Tube angle to appropriate height.

1.) Drive back 15 inches

2.) Lower arm 38 inches

3.) Drive forward 3 inches

4.) Eject tube

5.) Move arm up to max height

6.) Go to -> Final Action


Strategy 5
Low peg (Normal Height)

0.5.) Move Tube angle to appropriate height.

1.) Drive back 24 inches

2.) Lower arm 60 inches

3.) Drive forward 3 inches

4.) Eject tube

5.) Move arm up to max height

6.) Go to -> Final Action


Strategy 6
Low peg (offset Height)

0.5.) Move Tube angle to appropriate height.

1.) Drive back 27 inches

2.) Lower arm 90 inches

3.) Drive forward 3 inches

4.) Eject tube

5.) Move arm to max height

6.) Go to -> Final Action



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