File Exchange

image thumbnail

Obstacle Avoidance using LEGO Mindstorms EV3 and Simulink

version 1.0.1.0 (6.09 MB) by Madhu Govindarajan
This package contains files necessary to build your own robot that can avoid obstacles

24 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

Comments and Ratings (11)

Very good! Thanks!

The simulink Estimation program reports:

Error executing callback 'ClickFcn'
Undefined function 'speload' for input arguments of type 'char'.

Please consider adding the missing folder 'scripts'.

Excellent topics for mechatronics.

Great concepts for connecting the real world with Mathematical simulations.

Shiva Teja

Updates

1.0.1.0

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

1.0.0.1

Adding the YouTube link to the description

1.0.0.1

Updated license

1.0.0.0

Updated the ReadMe text file

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

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor

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/