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 interfaces, you can generate C++ code and deploy them as ROS 2 nodes using MATLAB Coder™ (See Generate a Standalone ROS 2 Node). For Simulink® models, you can generate C++ code using Simulink Coder (See Generate a Standalone ROS 2 Node from Simulink) or optimized CUDA code using GPU Coder™, and deploy them as ROS 2 nodes.

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.

Topics

Generate and Deploy ROS 2 Nodes from MATLAB

Generate and Deploy ROS 2 Nodes from Simulink

Featured Examples