Deploying Standalone ROS Nodes from Simulink
From the series: Implementation
Sebastian Castro and Pulkit Kapur discuss how to deploy algorithms from MATLAB® and Simulink® to be used standalone in the Robot Operating System (ROS).
First, Sebastian and Pulkit introduce two workflows for deploying algorithms as standalone ROS nodes. The first approach involves generating C/C++ code from files and manually writing C++ code that is compatible with ROS. The second approach combines code generation tools with Robotics System Toolbox™ to automatically generate and run executable ROS nodes.
This video will focus on the second approach listed above. Find out how you can use MATLAB and Simulink to automate the deployment process, as well as how to interact with generated code from MATLAB and Simulink to test algorithms, tune parameters, view data, and more.
Finally, you will see a demonstration of the concepts above through an autonomous object tracking example. This example covers several steps of the deployment workflow, as well as highlights the modularity of MATLAB and ROS by showing the deployed algorithm using real and simulated TurtleBot® robotic platforms.
- Download all template and example files on the MATLAB Central File Exchange
- Find out more about programming robots in MATLAB and Simulink
Published: 14 Nov 2017