Simulink migration from ros to ros 2

조회 수: 1 (최근 30일)
Julio
Julio 2024년 6월 19일
편집: Jagadeesh Konakalla 2024년 11월 18일
Hi all,
I have a simulink project that generated a code for ROS.
Due to migration to ROS 2, this code is no longer adequate and I would like to obtaine the ROS 2 generated code.
Any orientation as to where to find an answer for this would be more than welcome.
Thanks in advance.

답변 (1개)

Umar
Umar 2024년 6월 21일
편집: Jagadeesh Konakalla 2024년 11월 18일
Hi Julio, To obtain ROS 2 generated code in Simulink, you can follow these steps:
Update your Simulink model to use ROS 2 blocks and configurations.
Generate code from the updated model to obtain ROS 2 compatible code.
Make any necessary adjustments based on ROS 2 requirements.
Compile and run the code in your ROS 2 environment.
By following these steps and leveraging the capabilities of Simulink with ROS 2 support, you can efficiently transition your project to ROS 2 and obtain the required generated code.

카테고리

Help CenterFile Exchange에서 ROS Network Access in Simulink에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by