(ASSIGNMENT)#7 - Simulator: Remember the colors
- Due Oct 7, 2020 by 11:59pm
- Points 20
- Submitting a text entry box
Please do the following:
1) Click here (Links to an external site.) to open the robot simulator.
2) Download this (Links to an external site.) picture to your computer (do this by clicking the link --> the picture will open in a new browser tab --> use the "download" button near the top of page to save the picture to your computer --> make sure to save the picture in the "downloads" folder of your computer if it doesn't automatically save there).
3) In the robot simulator, click the "upload image" button.
4) Navigate to your "downloads" folder and choose the "EV3 Start Finish" picture.
5) In the robot simulator, change your robot's starting position to X = 300 Y = 571 Angle = 0 and click the "move" button.
To pass this assignment, you must write a program in the robot simulator that gets your robot to:
A) Drive straight across the all the colors.
B) As robot is driving across the colors, it uses the Color Sensor to record each color.
C) Robot avoids crashing into the wall with Ultrasonic Sensor.
D) After robot drives over the last color, it stops. After it stops, it speaks the order that it saw the colors.
D) Robot program must make use of variables to control movement, variables to remember color measurements, variables to remember distance measurements, while loops, and if. . . else. . . statements.
WHEN YOUR ROBOT CAN DO A,B,C, D & E ABOVE. . .
1. Copy (select all the code then use CTL + C) the code from the robot simulator.
2. Open the Google Doc attached to this assignment.
3. Paste (CTL + V) the code onto the Google Doc.
4. Submit this assignment.
5. Raise your hand and let Mr. Conaway know the assignment is ready to be graded.