Question: Computer science Question 2. Draw the finite state machine' for a robot that has the following behavior: a) b) c) Initially, when the robot is
Question 2. Draw the finite state machine' for a robot that has the following behavior: a) b) c) Initially, when the robot is stopped, it takes a measurement m from the laser sensor to check the distance of the wall directly in front of the robot. The robot moves forward, until the robot traveled half of the m (in other words, the wall is distant m/2), and then stops. The robot rotates 90 degrees, and when the rotation is done, it starts again from 1, if it traveled less than 4 edges; otherwise it stops
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
