Main Content

ROS 2 Node Generation and Deployment

Generate C/C++ and CUDA code for ROS 2 nodes and deploy to local and remote hardware

ROS Toolbox enables you to generate C++ and CUDA® code for ROS 2 nodes, and deploy them to local or remote device targets. For MATLAB® code that contains ROS 2 interfaces, you can generate C++ code and deploy them as ROS 2 nodes using MATLAB Coder™. For Simulink® models, you can generate C++ code using Simulink Coder. You can also generate optimized CUDA code using GPU Coder™, and deploy them as ROS 2 nodes.

This table illustrates the type of ROS 2 nodes you can generate and deploy from MATLAB and Simulink with a reference example for each supported workflow:

For more information about generating and deploying the different types of ROS 2 nodes, see the categories below.

Note

Deployment of ROS 2 nodes requires transfer of files to the target ROS 2 device through an SSH connection. Ensure that OpenSSH is installed on the target ROS 2 device before deployment.

Categories

Featured Examples