R2(ASSIGNMENT) #6 - EV3: Stop for an object
- Due Oct 6, 2020 by 11:59pm
- Points 10
Who must do this assignment?
Only in-class students complete this assignment.
You and your partner (if you have one), must complete the following challenge:
1. Your robot must drive forward. When an object is placed in front of the robot, the robot must stop. When the object is moved, the robot should resume driving forward.
2. For this assignment, copy the code from Assignment 5 into VS code and change the code so it works with your actual robot.
HINTS: You should use VSCode for writing your programs. You have already done this assignment in the robot simulator. You could copy the code you did for Assignment 3 from that assignment's Google Doc and paste it into VS Code for this assignment. You will, of course, have to change numbers like wheel power and number of rotations to get everything to work.