image thumbnail

Webots sample simulation with a MATLAB robot controller

version 1.1.0 (10.3 KB) by Olivier Michel
This package include a Webots simulation where an e-puck2 robot is controlled by a MATLAB program.

267 Downloads

Updated 17 Mar 2020

View License

The included simulation features a toy world in which an e-puck2 robot is moving around.
It demonstrates the possibilities of using a MATLAB controller to control a simulated robot in Webots.
The robot is equipped with sensors, including a RGB camera and distance sensors.
The RGB camera is used by the MATLAB controller program to perform image processing for edge detection and display the result in an interactive MATLAB figure.
The figure also includes the real-time display of the values of the infra-red proximity sensors.
Finally, a supervisor process is communicating the trajectory of the robot to the MATLAB program and this trajectory is plotted on the figure as well.

Cite As

Olivier Michel (2022). Webots sample simulation with a MATLAB robot controller (https://www.mathworks.com/matlabcentral/fileexchange/74368-webots-sample-simulation-with-a-matlab-robot-controller), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with R2015a and later releases
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

webots/matlab/controllers/matlab