Created
January 10, 2014 03:21
-
-
Save dheaney/8346471 to your computer and use it in GitHub Desktop.
Autonomous
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Pseudocode for Autonomous Period | |
| Start with block in arm. Position robot. | |
| 0. Start timer. | |
| 1. Travel forward until IR beacon is in section 5. | |
| 2. Stop timer. Save value as n. | |
| 2. Rotate 90 degrees. | |
| 3. Travel forward until distance is less than ___. | |
| 4. Raise arm. | |
| 5. Travel forward until distance is less than ___. | |
| 6. Release block. | |
| 7. Rotate 90 degrees. | |
| 8. Travel forward for n amount of seconds. | |
| 9. Rotate -90 degrees. | |
| 10. Travel forward until color sensor senses blue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment