This repository has been archived by the owner on Apr 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Algorithms.txt
53 lines (44 loc) · 1.64 KB
/
Algorithms.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Sandstorm
0) Starting Position:
- On 3" mat
- Camera pointing away from drivers
- Color sensor pointing down
- Robot sides parallel to edges of mat
1) Get off the mat - Vikrant
- Keep going forward
- Camera view will tilt down, then become straight again
- Go another half second or so to get the bumper clear of the Hab Line
2) Attach panel to cargo ship - Ankith
- Drive to general area of hatch using camera
- Get color sensor to be above white tape
- Align robot w/ tape - zigzag algo (see tape go left, else go right)
- attach panel w/ robot arm (release suction cups)
General
1) Pick up hatch panel - Aditi
- Drive w/ eyes & camera to access port
- Align w/ color sensor
- Grab panel from access port
- Use suction cups & robot arm
2) Place hatch panel - Same code from Sandstorm #2
- Use camera & eyes to go to general area of hatch
- Get color sensor to be above white tape
- Align robot w/ tape - zigzag algo (see tape go left, else go right)
- Attach panel w/ robot arm (release suction cups)
3) Place hatch panel on rocket ship higher level - Ankith
- Same as Algorithm #2 but use elevator control w/ rest of assembly
4) Pick up ball - Ishan
- Drive w/ eyes & camera to access port
- Align w/ color sensor
*Ball rolled onto "support bars"*
- Close upper support onto ball
5) Drop ball - Wilson
- Drive w/ eyes & camera to general area of drop
- Align w/ color sensor
- Open upper support
- Push ball out w/ piston
6) Drop ball in rocket ship higher level - Wilson
- Same as Algorithm #5, but use elevator control w/ rest of assembly
End
1) Go back to habitat - Vikrant
- Drive towards hab (use eyes & camera)
- Use eyes & camera to get back onto level 1 mat