Is ROS/ROS2 communication supported with Speedgoat and Simulink Real-Time?
조회 수: 13 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2024년 8월 7일
편집: MathWorks Support Team
2024년 8월 7일
Do Speedgoat targets support ROS?
When I try to add ROS/ROS2 Publisher or Subscriber blocks to my Simulink Real-Time (SLRT) model, I get the following build error:
slros_initialize.h: No such file or directory
slros2_initialize.h: No such file or directory
채택된 답변
MathWorks Support Team
2024년 8월 7일
It is not possible to deploy standalone ROS nodes to a Speedgoat machine, because the operating system shipping with Simulink Real-Time (SLRT) does not support ROS.
However, there is an unofficial ROS interface that can be used with SLRT and Speedgoat hardware. The De-/Serializer Blockset for SLRT is available on File Exchange and enables basic integration into ROS and ROS2 networks using UDP or Serial communication:
https://www.mathworks.com/matlabcentral/fileexchange/105815-message-de-serializer-for-ros
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!