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 :

Robot Talk Episode 164 – Accelerating robot learning, with Michelle Lu

  02 Oct 2026
In the latest episode of the Robot Talk podcast, Claire chatted to Michelle Lu from Vsim Technology about using simulation and artificial intelligence to teach robots new skills.

Robotics and automation? Informal reflections on familiar terms

IEEE experts reflect on what is meant by the term "robotics and automation".

Small, medium or large, a robotic fish maintains its swimming ability

  28 Sep 2026
Researchers at EPFL and New York University have developed a robotic fish that can be made in various sizes for studying shallow creeks to open water.

Robot Talk Episode 163 – Robots helping people, with Aaron Edsinger

  25 Sep 2026
In the first episode of Robot Talk season 7, Claire chatted to Aaron Edsinger from Hello Robot about their Stretch robots that can help people with mobility issues live more independently.

An open source approach to physical AI from Intrinsic

  25 Sep 2026
Find out more about the capabilities of Intrinsic Core.

What’s coming up at #IROS2026?

  24 Sep 2026
Find out what the International Conference on Intelligent Robots and Systems has in store.

Robotics roadmaps from around the world spotlight of the month: China

China is targeting the next industrial revolution by doubling down on embodied AI and humanoid robotics, building directly on its vast manufacturing infrastructure.

Mars rovers give scientists a ground-level view of the red planet – peek inside their NASA control room

  21 Sep 2026
NASA created Curiosity to search for evidence of ancient habitable environments.


↑


AUAI is supported by:







Subscribe to Robohub newsletter on substack




 















©2026.05 - Association for the Understanding of Artificial Intelligence