2011:Autonomous: Difference between revisions
From 1511Wookiee
Jump to navigationJump to search
Programming (talk | contribs) No edit summary |
Programming (talk | contribs) No edit summary |
||
Line 137: | Line 137: | ||
*Back up (Same distance as last drive forward) <br> | *Back up (Same distance as last drive forward) <br> | ||
*if right fork: turn -(60 + same angle as last turn) degrees<br> | *if right fork: turn -(60 + same angle as last turn) degrees<br> | ||
*if left fork: turn -(-60 + same angle as last turn) degrees | *if left fork: turn -(-60 + same angle as last turn) degrees | ||
*Drive Backwards (X=45+16=24) | |||
*Go to -> Ending Action<br> | *Go to -> Ending Action<br> | ||
Line 329: | Line 330: | ||
<br> | <br> | ||
<br> | <br> <br> <br> | ||
<br> | |||
<br> |
Revision as of 13:03, 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) |
|
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) |
| ||||
|
|
| ||
|
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) | |
| |||||
|
|
| |||
|
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 | |
|
|||||||
|
|
|
| ||||
|
Dead Reckoning
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) |
| ||||
|
|
| ||
|
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) |
| ||||
|
|
| ||
|