Question: 1 . Consider a walking robot that has two legs and two arms. The robot walks towards a screen that has three buttons ( red

1. Consider a walking robot that has two legs and two arms. The robot walks towards a screen that has three buttons (red, yellow, and green). On the path towards the screen, a block and a chair block the robot. The robot observes the block and makes a right turn of 55 degree, walk 10 cm and make left turn of 14 degree walk forward (to the screen). Once observes the chair, after 30 cm travels, an adjustment of 127 degree to the right is needed. After 35 cm, robot makes left turn of 110 degree towards the screen and finally reaches the target. The robot lifts left arm and uses color sensor to detect the color on the screen, put down the left arm and lift right arm to press button based on the detected color of the button. Prepare a state diagram of the above scenario using correct UML notations. Please use correct UML notations!!!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!