Contenu principal

ROS Node Generation and Deployment

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

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

Note

As of May 31, 2025, ROS 1 has reached end of life and is no longer officially supported. Migrating to ROS 2 is recommended to access the latest features and updates. For more information on equivalent ROS Toolbox features supporting node generation and deployment, see ROS 2 Node Generation and Deployment.

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

Topics

Generate and Deploy ROS Nodes from MATLAB

Generate and Deploy ROS Nodes from Simulink

Featured Examples