Webots sample simulation with a MATLAB robot controller
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 (2024). 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
Platform Compatibility
Windows macOS LinuxCategories
- Robotics and Autonomous Systems > ROS Toolbox >
- Engineering > Electrical and Computer Engineering > Robotics >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
webots/matlab/controllers/matlab
Version | Published | Release Notes | |
---|---|---|---|
1.1.0 | Changed the license from Apache 2 to Simplified BSD. |