2011:Autonomous ToDo: Difference between revisions

From 1511Wookiee
Jump to navigationJump to search
No edit summary
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
=== '''Code Changes'''<br> ===
=== '''Code Changes'''<br> ===


{| border="1" cellspacing="1" cellpadding="1" width="750"
{| border="1" cellspacing="1" cellpadding="1" width="750"
|-
|-
| '''Description'''  
| '''Description'''
| '''Where'''  
| '''Where'''
| '''Status'''
| '''Status'''
| '''Tested'''
|-
|-
| fix turn angle for left fork  
| fix turn angle for left fork
| auto code  
|  
| auto code
| DONE
| no
|-
|-
| do arm pre-match while doing initial drive instead of going to middle peg height  
| do arm pre-match while doing initial drive instead of going to middle peg height
| auto code  
|  
| auto code
| DONE
| no
|-
|-
| remove extra ending actions from playbook  
| remove extra ending actions from playbook (remove 5, 6, 7 and 8)
| driver station  
|  
| driver station
| coded, not checked in yet
| no
|-
|-
| maybe remove extra starting positions from playbook  
| maybe remove extra starting positions from playbook (remove 2, 7, and 8; remove "left side" text)
| driver station  
|  
| driver station
| coded, not checked in yet
| no
|-
|-
| print playbook  
| print playbook
|
|  
|  
| DONE
| n/a
|-
|-
| Check received auto mode against broken switches at auto start
| Check received auto mode against broken switches at auto start
| ThunderBot autonomous()
| ThunderBot autonomous()
|  
| DONE
| no
|-
|-
| Check received auto mode for unimplemented/out of range modes
| Check received auto mode for unimplemented/out of range modes
| ThunderBot autonomous()
| ThunderBot autonomous()
|  
| DONE
| no
|-
| add a "straight-up" arm position
| auto and arm
| DONE
| no
|}
|}


<br>
<br>


<br>
<br>


=== '''Testing Progress'''<br> ===
=== '''Testing Progress'''<br> ===


{| border="1" cellspacing="1" cellpadding="1" width="750"
{| border="1" cellspacing="1" cellpadding="1" width="750"
|-
|-
| width="150" | '''Code'''  
| width="150" | '''Code'''
| width="300" colspan="2" | '''Description'''  
| width="150" | '''Initial'''  
| width="300" colspan="2" | '''Description'''
| width="150" | '''Initial'''
| width="150" | '''Final'''
| width="150" | '''Final'''
|-
|-
| 000  
| 000
| Do Nothing  
| Do Nothing  
| Do Nothing
| DONE
|
| Do Nothing
|-
| 110
| DONE
| Line (left), top peg
| stop
| DONE  
|
|-
| 120
| Line (left), mid peg
| stop
| DONE
|
|-
| 130
| Line (left), low peg
| stop
| DONE
|  
|  
|-
|-
| 210&nbsp;?
| 110
| Line (right), top peg  
| stop  
| Line (left/right), top peg
| DONE  
| stop
| DONE
|  
|  
|-
|-
| 220&nbsp;?
| 120
| Line (right), mid peg  
| stop  
| Line (left/right), mid peg
| DONE  
| stop
| DONE
|  
|  
|-
|-
| 230&nbsp;?
| 130
| Line (right), low peg  
| stop  
| Line (left/right), low peg
| DONE  
| stop
| DONE
|  
|  
|-
|-
| 310  
| 310
| Fork (left), top peg  
| stop  
| Fork (left), top peg
| stop
|  
|  
|  
|  
|-
|-
| 320  
| 320
| Fork (left), mid peg  
| stop  
| Fork (left), mid peg
| stop
|  
|  
|  
|  
|-
|-
| 330  
| 330
| Fork (left), low peg  
| stop  
| Fork (left), low peg
|
| stop
|  
|  
|-
| 410
| Fork (right), top peg
| stop
| DONE
|  
|  
|-
|-
| 420
| 410
| Fork (right), mid peg  
| stop  
| Fork (right), top peg
| DONE  
| stop
| DONE
|  
|  
|-
|-
| 430
| 420
| Fork (right), low peg  
| stop  
| Fork (right), mid peg
| DONE  
| stop
| DONE
|  
|  
|-
|-
| 510
| 430
| Dead reck (left), top peg normal
| stop  
| Fork (right), low peg
| DONE  
| stop
| DONE
|  
|  
|-
|-
| 520
| 510
| Dead reck (left), mid peg normal  
| stop  
| Dead reck (left/right), top peg normal
| DONE  
| stop
| DONE
|  
|  
|-
|-
| 530
| 520
| Dead reck (left), low peg normal  
| stop  
| Dead reck (left/right), mid peg normal
| DONE  
| stop
| DONE
|  
|  
|-
|-
| 610
| 530
| Dead reck (left), top peg offset
| stop  
| Dead reck (left/right), low peg normal
| DONE  
| stop
| DONE
|  
|  
|-
|-
| 620
| 610
| Dead reck (left), mid peg offest
| stop  
| Dead reck (left/right), top peg offset
| DONE  
| stop
| DONE
|  
|  
|-
|-
| 630
| 620
| Dead reck (left), low peg offset
| stop  
| Dead reck (left/right), mid peg offest
| DONE  
| stop
| DONE
|  
|  
|-
|-
| 710&nbsp;?
| 630
| Dead reck (right), top peg normal
| stop  
| Dead reck (left/right), low peg offset
|  
| stop
| DONE
|  
|  
|-
|-
| 720&nbsp;?
| 111
| Dead reck (right), mid peg normal
| stop
| Line, top peg
| raise arm, no drive, no turn
|  
|  
|  
|  
|-
|-
| 730&nbsp;?
| 112
| Dead reck (right), low peg normal
| stop
| Line, top peg
| raise arm, no drive, turn 180
|  
|  
|  
|  
|-
|-
| 810&nbsp;?
| 113
| Dead reck (right), top peg offset
| stop
| Line, top peg
| raise arm, midfield, no turn
|  
|  
|  
|  
|-
|-
| 820&nbsp;?
| 114
| Dead reck (right), mid peg offest
| stop
| Line, top peg
| raise arm, midfield, turn 180
|  
|  
|  
|  
|-
|-
| 830&nbsp;?
| 311
| Dead reck (right), low peg offset
| stop
| Fork (left), top peg
| raise arm, no drive, no turn
|  
|  
|  
|  
|-
|-
| 111
| 312
| Line, top peg  
| raise arm, no drive, no turn  
| Fork (left), top peg
| raise arm, no drive, turn 180
|  
|  
|  
|  
|-
|-
| 112
| 313
| Line, top peg  
| raise arm, no drive, turn 180
| Fork (left), top peg
| raise arm, midfield, no turn
|  
|  
|  
|  
|-
|-
| 113
| 314
| Line, top peg  
| raise arm, midfield, no turn  
| Fork (left), top peg
| raise arm, midfield, turn 180
|  
|  
|  
|  
|-
|-
| 114
| xxx
| Line, top peg
| raise arm, midfield, turn 180
| encoder broken switch
|
|
|-
| 311
| Fork (left), top peg
| raise arm, no drive, no turn
|
|  
|  
|-
| 312
| Fork (left), top peg
| raise arm, no drive, turn 180
|  
|  
|  
|  
|-
|-
| 313
| xxx
| Fork (left), top peg
| raise arm, midfield, no turn
| delay
|
|  
|  
|-
| 314
| Fork (left), top peg
| raise arm, midfield, turn 180
|  
|  
|  
|  
|}
|}
*Low/Mid: Eject + lower
*high: lower+eject, continue ejecting and backup
*add 12 peg presets for tube straight out + for lowering the arm
*move arm to desired preset on first drive
*remove twist manip from twist state
*add lower arm to ejection state
*move eject to reverse state
*adjust fork drive onto peg distance
**FORK_*_PEG_DRIVE
**STRAIGHT_*_PEG_DRIVE
**DEAD_*_PEG_DRIVE
high drive -= 6
low/mid drive -= 20

Latest revision as of 11:03, 6 January 2012

Code Changes

Description Where Status Tested
fix turn angle for left fork auto code DONE no
do arm pre-match while doing initial drive instead of going to middle peg height auto code DONE no
remove extra ending actions from playbook (remove 5, 6, 7 and 8) driver station coded, not checked in yet no
maybe remove extra starting positions from playbook (remove 2, 7, and 8; remove "left side" text) driver station coded, not checked in yet no
print playbook DONE n/a
Check received auto mode against broken switches at auto start ThunderBot autonomous() DONE no
Check received auto mode for unimplemented/out of range modes ThunderBot autonomous() DONE no
add a "straight-up" arm position auto and arm DONE no





Testing Progress

Code Description Initial Final
000 Do Nothing Do Nothing DONE
110 Line (left/right), top peg stop DONE
120 Line (left/right), mid peg stop DONE
130 Line (left/right), low peg stop DONE
310 Fork (left), top peg stop
320 Fork (left), mid peg stop
330 Fork (left), low peg stop
410 Fork (right), top peg stop DONE
420 Fork (right), mid peg stop DONE
430 Fork (right), low peg stop DONE
510 Dead reck (left/right), top peg normal stop DONE
520 Dead reck (left/right), mid peg normal stop DONE
530 Dead reck (left/right), low peg normal stop DONE
610 Dead reck (left/right), top peg offset stop DONE
620 Dead reck (left/right), mid peg offest stop DONE
630 Dead reck (left/right), low peg offset stop DONE
111 Line, top peg raise arm, no drive, no turn
112 Line, top peg raise arm, no drive, turn 180
113 Line, top peg raise arm, midfield, no turn
114 Line, top peg raise arm, midfield, turn 180
311 Fork (left), top peg raise arm, no drive, no turn
312 Fork (left), top peg raise arm, no drive, turn 180
313 Fork (left), top peg raise arm, midfield, no turn
314 Fork (left), top peg raise arm, midfield, turn 180
xxx encoder broken switch
xxx delay


  • Low/Mid: Eject + lower
  • high: lower+eject, continue ejecting and backup
  • add 12 peg presets for tube straight out + for lowering the arm
  • move arm to desired preset on first drive
  • remove twist manip from twist state
  • add lower arm to ejection state
  • move eject to reverse state
  • adjust fork drive onto peg distance
    • FORK_*_PEG_DRIVE
    • STRAIGHT_*_PEG_DRIVE
    • DEAD_*_PEG_DRIVE

high drive -= 6 low/mid drive -= 20