Question: (10pts) Revise the program below so that the robot moves forward when there is no obstacle but turn right when an obstable is detected. when

(10pts) Revise the program below so that the robot moves forward when there is no obstacle but turn right when an obstable is detected. when object detected in front left-motor-power 100 right-motor-power 100 : when object not detected in front left-motor-power--50// left motor backwards right-motor-power 50// Right motor forwards
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
