Wednesday, February 14, 2018

WEEK 4 (flowchart and path)

On this week the flowchart and the Path for the Window Cleaning Robot have been made. Figure 3 and 4 show the flowchart and path of the Window Cleaning Robot.

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