Robohub.org
 

MATLAB Robotics System Toolbox and ROS


by
26 March 2015



share this:
Capture

By Ilia Baranov

Recently, Mathworks released a new toolbox for Matlab. This is exciting for a number of reasons: it includes everything from data analysis to coordination of multiple robots. In today’s post, we explore using this Robotics System Toolbox to connect to both real and virtual Jackal robots.

The toolbox has made a number of improvements since the “beta” version that we wrote a tutorial on a while ago. Matlab now supports services, parameters, analyzing rosbag data, and has a very robust series of tutorials. They even support generating code in Matlab Simulink, and then having it run on a ROS robot, with no extra downloads needed. This should make development of control algorithms faster for robots, and enable fairly detailed testing outside of ROS.

The following video looks at running a Jackal in circles, in both real and virtual space. It also compares a simple obstacle avoidance program, using lidar, that wanders around the environment.

https://youtu.be/K8_wjMCHQMw

To run the obstacle avoidance sample on a Jackal, ensure that the Matlab Robotics System Toolbox is installed, and download this file: Jackal_New.m

Change the first IP address to your Jackal (real or simulated) and the second to your own computer (the one running Matlab).

If you are ready to try analyzing bag data, download our sample file from the run shown in the video, and plot the laser data.

laserAvoid_Real.bag , scan_plot.m

Link to the toolbox:

http://www.mathworks.com/products/robotics/

Looking for other Clearpath tutorials? Check these out.



tags: , ,


Clearpath Robotics Clearpath Robotics is dedicated to automating the world's dullest, dirtiest and deadliest jobs through mobile robotic solutions.
Clearpath Robotics Clearpath Robotics is dedicated to automating the world's dullest, dirtiest and deadliest jobs through mobile robotic solutions.

            AUAI is supported by:



Subscribe to Robohub newsletter on substack



Related posts :

AI agents create virtual playgrounds to help robots get crucial training data

  07 Aug 2026
“SceneSmith” system uses collaborative AI agents to create realistic 3D environments of places like kitchens, hotels, and living rooms, where robots can simulate everyday chores.

Robots in society, business and culture: July 2026

A round up of robotics stories in a new monthly series from IEEE RAS.

Simulated zebrafish and a vision-equipped robotic fish reveal how the body shapes brain circuits

Researchers look to the fish brain to create a robotic zebrafish that can autonomously swim upstream.

Researchers develop modular nanorobot

  31 Jul 2026
A team at the University of Basel has developed a versatile nanorobot with propulsion and payload modules.

Surviving the paper deluge: a one-year study in learning from demonstration

With the explosion of robotics research, staying current in fields like Learning from Demonstration is a monumental challenge.

Soft robotic heart offers new way to study disease and test life-saving devices

Researchers have developed a soft robotic model of the human heart that can mimic disease and provide a realistic environment for testing the next generation of cardiac devices.

A mini robot to simplify dental treatment

  24 Jul 2026
Researchers have developed a miniature dental robot that could one day automatically prepare teeth for crowns.

Pressure-free growing robots for soft medical robotics

A Q&A with the best paper award winner at RoboSoft.



AUAI is supported by:







Subscribe to Robohub newsletter on substack




 















©2026.05 - Association for the Understanding of Artificial Intelligence