Question: There is a robot that can turn left and right using two binary sensors ( leftTurn and rightTurn ) , and it has three infrared
There is a robot that can turn left and right using two binary sensors leftTurn and rightTurn and it has three infrared IR sensors labeled R L and centerDesign the following:a Write a control program to allow the robot to:Move forward for seconds if the center sensor is high readIRMove backward for seconds if leftTurn is high turnLeftStop if rightTurn is high turnRightAssume that the binary code of the infrared sensor is as follows:L center R Design a GRAFCET diagram to control the robots movementsWrite the corresponding VHDL code for the GRAFCET diagram designed in a
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
