Railway Patroller | Maqueen Mechanic Getting Started Guide Lesson 5
5-1. Project Introduction
If the Maqueen car detected that there is an obstacle on the way when patrolling, it uses the gripper to clamp and place it at a designated position. In this project, the line patrolling map and the assembled Maqueen Mechanic-Beetle need to be modified.
5-2. Hardware Preparation
Note: the color of electrical tape can be selected freely except black.
5-3. Modification Steps
5-4. Scene after Assembly
Note: the direction that the Maqueen car should be placed is shown in the graph.
5-5. Flowchart
Here we use a flowchart to analyze what functions the entire program needs to realize.
These are several situations the Maqueen will encounter when patrolling:
5-8. Effect Display
When the Maqueen car detects obstacles in front of it during line-tracking, the gripper closes. Then it will transport the obstacle to the designated place and drop it, and continue driving along the line to detect if there are obstacles ahead.