Lesson 6: Pseudocode and debugging
- rainbowsandalex
- Apr 6, 2016
- 1 min read
The Goal of this Challenge/Lesson is to make our ev3 drive in a figure 8 and arrive back its original position. We were instructed to write a pseudocode for this challenge. The way we would go about executing the code would be something like:
Make the robot drive forwards X rotations Make right the robot turn Y degrees Drive forwards again for Z rotations
Turn right Y degrees
Drive forwards X rotations
turn left Y degrees
Drive forwards Z rotations
This is how the code looked in the end




Comments