필터 지우기
필터 지우기

When subscribe and receive a topic in the ROS toolbox, it is still being processed.

조회 수: 1 (최근 30일)
Hi, I am a student studying using Rosbot.
The robot and MATLAB are connected, and topics can be checked normally.
To get joint_states topic, I saw an example and wrote a code.
When I run this code, the rossubscriber runs normally, but the receive is still processing.
How can we solve this problem?
Thank you.

채택된 답변

Cam Salzberger
Cam Salzberger 2022년 1월 5일
Hello,
This sounds like the topic is visible to introspection, but the subscriber isn't receiving any data. This is probably not specific to the "receive" function - I expect you also won't see any update to the LatestMessage property or any calls to the NewMessageFcn if you assign one.
The reason this occurs is likely due to your environment set up on the side of the publisher. This answer has a good starting point for troubleshooting that.
-Cam

추가 답변 (0개)

카테고리

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

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by