필터 지우기
필터 지우기

Can I create a ROS2 service server in Simulink?

조회 수: 2 (최근 30일)
MathWorks Support Team
MathWorks Support Team 2023년 5월 29일
답변: MathWorks Support Team 2023년 5월 29일
I found the 'ros2svcserver' function in MATLAB, but couldn't find an equivalent Simulink block.
Is there any way to create a ROS service server in Simulink? (R2023a)

채택된 답변

MathWorks Support Team
MathWorks Support Team 2023년 5월 29일
Currently, we are providing only Service Client block, not a Service Server block for ROS2 in Simulink.
https://www.mathworks.com/help/ros/ref/callserviceros2.html
As workarounds, you can use 'ros2svcserver' in MATLAB, or implement similar behavior by using ROS publisher/subscriber and its 'isNew' port.

추가 답변 (0개)

카테고리

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

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by