ros 2 node generation and deployment -凯发k8网页登录
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 nodes using matlab coder™ (see ). for simulink® models, you can generate c code using simulink coder (see ) or optimized cuda code using gpu coder™, and deploy them as ros 2 nodes.
note
deployment of ros nodes requires transfer of files to the target ros device through an ssh connection. ensure that openssh is installed on the target ros device before deployment.
functions
blocks
topics
deploy ros 2 nodes from matlab
this example shows how to generate c code for a standalone ros 2 node from a matlab® function.
configure matlab coder configuration object for customizing ros 2 node generation.
deploy cuda optimized ros 2 nodes from matlab
generate and build cuda ros and cuda ros 2 nodes from a matlabfunction.
deploy ros 2 nodes from simulink
generate and build a standalone ros 2 node from a simulink model.
generate c code from a simulink model to deploy as a standalone ros 2 node.
deploy cuda optimized ros 2 nodes from simulink
configure simulink coder to generate and build a cuda ros 2 node from a simulink model.
applications
automated parking valet with ros 2 in simulink.
- step 1:
- step 2: