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 :

#AAMAS2026 blue sky award winner: Foundation world models for agents in changing environments

and   21 Aug 2026
Hear from the AAMAS 2026 Best Blue Sky Paper Award winner.

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

Robots have been a prolific theme in Japanese pop culture and media since the 1950s

Intermittent swimming promotes the energy efficiency of fish-like robot movements

How zebrafish-inspired robots save energy by swimming in bursts.

What does it take for a robot to hold a conversation with a room, not just a person?

and   14 Aug 2026
Find out about a summer school held at Imperial College London.

Robotics roadmaps from around the world

We embark on a tour into some of the recent and prominent robotics roadmaps from around the world.

A ‘5-in-1’ seed-sized surgical robot

Mini robot can move, cut tissue, release drugs, grip and store samples, and generate heat wirelessly

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.



AUAI is supported by:







Subscribe to Robohub newsletter on substack




 















©2026.05 - Association for the Understanding of Artificial Intelligence