Question: In this challenge, you will use a LOOP block to program your robot to move freely inside a black boundary. The color sensor has to
In this challenge, you will use a LOOP block to program your robot to move freely inside a black boundary. The color sensor has to be used to tell the robot to back up, turn, and then start going straight again. At no time can the robot cross the black line. Make sure your solution contains a loop. Begin by analysing the problem. Talk about your solution. What needs to be done repeatedly in this program? How can the robot "notice" the black line? What does it need to do once black line is sensed by the color sensor? Write pseudocode for the robot staying within the black boundary. What adjustments did you have to make from your original pseudocode? Do not modify it, but tell me what you changed, if anything. How would you test your program? Does it matter what position you start the robot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
