Obstacle Avoidance using LEGO Mindstorms EV3 and Simulink

This package contains files necessary to build your own robot that can avoid obstacles
1.6K Downloads
Updated 12 Oct 2016

View License

This package shows how to get started with the LEGO Mindstorms EV3 support from Simulink and build an obstacle avoiding rover. This uses the Simulink support package to communicate with the robot and uses Simscape Multibody for the 3-D simulation environment.
This project shows how Simulink helped us - 1) simulate and understand robot behavior before deploying the same code onto the robot and 2) Tune parameters and monitor signals from Simulink while the code is still running on the robot without having to recompile. The project also shows basics of Control System Design - data acquisition, parameter estimation and motor controller design.
https://www.youtube.com/watch?v=eFm_Rg_JlII

Cite As

Madhu Govindarajan (2024). Obstacle Avoidance using LEGO Mindstorms EV3 and Simulink (https://www.mathworks.com/matlabcentral/fileexchange/56293-obstacle-avoidance-using-lego-mindstorms-ev3-and-simulink), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Communities

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Obstacle_Avoidance/

Obstacle_Avoidance/MATLABFiles/

Obstacle_Avoidance/SimulinkModels/1_DataAcquisitionAndEstimation/

Obstacle_Avoidance/SimulinkModels/2_MotorModelingAndControl/

Obstacle_Avoidance/SimulinkModels/3_CollisionAvoidanceSimulations/

Obstacle_Avoidance/SimulinkModels/4_RobotControl/

Version Published Release Notes
1.0.1.0

Fixed couple of warning messages on the startupDemo script by deleting two unnecessary lines of code.

1.0.0.1

Updated license
Adding the YouTube link to the description

1.0.0.0

Updated the ReadMe text file