Figure 3: Flowchart of Window Cleaning Robot.
The flowchart begins with a start and then move forward. After that, the ultrasonic sensor will decide if there is have an obstacle which means yes the robot will turn 180-degree right if there is no obstacle the robot will stay move forward. Next, after the robot makes a turn 180-degree right the robot will move forward again until the sensor detect the next obstacle then make a turn 180-degree left. Then the robot will repeat the same move regarding to the path shown in figure 4 until the robot detects sensor the stop line using Infrared and the robot will stop immediately.
Figure 4: Path of Window Cleaning Robot.
No comments:
Post a Comment