Designing Obstacle Detection Algorithms | Student Competition: Mobile Robotics Training, Part 4
From the series: Student Competition: Mobile Robotics Training
Learn how to design obstacle detection and avoidance algorithms for a mobile robot.
You will start with understanding ultrasonic or optical ranger finders work in detecting the distance to an obstacle in front of them, and some characteristics specific to the sensor, like sensor operating range and resolution, that you might be using. You will then learn to design On-Off and PID-based algorithms in Simulink to perform obstacle detection tasks such as robot coming to a full halt at a specified distance from the obstacle.
In this video, you will use the Simulink Map Generator App to create an obstacle location map from an actual image of the game field or course. You will learn how to use the generated map for simulating and testing your algorithms within Simulink.
A VEX EDR robot is used to demonstrate the performance of the obstable detection algorithms on the microcontroller and to observe the difference in the results between the On-Off and PID algorithms.
Additional Resources:
Recorded: 27 Jun 2017
Download Code and Files
Related Products
Learn More
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)