Case 15 - [Land Raider] Obstacle Avoidance
Part 1 Objective
After you upload the program, Land Raider goes straight forward. When it encounters an obstacle, it turns left or right randomly. After it runs away from the obstacle, it continues to go forward.

Part 2 Preparation
-
Assembled Land Raider x 1
-
USB cable x 1
-
Computer with network access x 1
-
Connect the ultrasonic sensor to the 6th connector of Auriga
Connect Auriga to the computer by using the USB cable, open mBlock 5 (PC client, web version, or mobile app), connect CyberPi, select the Upload mode, and press the red button to turn on Auriga.



Part 3 Programming
Part 4 Practice
With the ultrasonic sensor and track, Land Raider can run away from obstacles. What can you do with the RGB LEDs in obstacle avoidance?
Comments
Please sign in to leave a comment.