Robot Operating System (ROS) Support from Robotics System Toolbox

Create ROS nodes in MATLAB and Simulink, exchange messages with other nodes on the ROS network, import ROS log files into MATLAB, and generate C++ code for a standalone ROS node.

Robotics System Toolbox™ provides an interface between MATLAB® and Simulink® and the Robot Operating System (ROS) that enables you to communicate with a ROS network, interactively explore robot capabilities, and visualize sensor data. You can develop, test, and verify your robotics algorithms and applications on ROS-enabled robots and robot simulators such as Gazebo and V-REP. You can also create a self-contained ROS network directly in MATLAB and Simulink, and import ROS log files (rosbags) to visualize, analyze, and post-process logged data. These features allow you to develop your robotics algorithms in MATLAB and Simulink, while giving you the ability to exchange messages with other nodes on the ROS network. With Embedded Coder®, you can generate C++ code from a Simulink model for a standalone ROS application that can run on any Linux® platform that has ROS installed.

Key features allow you to:

  • Communicate with a ROS network, interactively explore robot capabilities, and visualize sensor data
  • Create ROS nodes, publishers, and subscribers directly from MATLAB and Simulink
  • Create and send ROS messages from MATLAB and Simulink
  • Create and send ROS Custom Messages from MATLAB and Simulink
  • Call and provide ROS services
  • Import ROS log files (rosbags) to visualize, analyze, and post-process logged data
  • Use ROS functionality on any platform (Windows®, Linux, Mac)
  • Use MATLAB as an ROS master
  • Test and verify applications on ROS-enabled robots and robot simulators such as Gazebo and V-REP
  • Create Simulink models that work with a ROS network
  • Generate a standalone ROS C++ node from a Simulink model