error using robotic system toolbox
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
I am using Matlab 2015a 32 bit on a 64 bit system. I have a simulink file that publishes velocity to the turtlebots. Sometimes everything works fine and I can see the bot moving. But other times i am getting this error.
MATLAB System block 'publishTest/Publish/SinkBlock' error occurred when invoking 'setupImpl' method of 'robotics.slros.internal.block.Publisher'. The error was thrown from '
'C:\Program Files (x86)\MATLAB\R2015a\toolbox\robotics\robotsimulink\robotslros\+robotics\+slros\+internal\+block\Publisher.p' at line 234'.
An error occurred while retrieving the list of network interfaces.
I have no idea why is this happening. When I restart matlab it works and then the next time it doesn't. Please help.
Thank you!
댓글 수: 2
Madhu Govindarajan
2015년 12월 16일
The next time you see the error message try shutting down your ROS subscription from MATLAB using the rosshutdown function. Also clear everything in MATLAB, maybe there is some sort of previously existing connection that gets cleared when you restart MATLAB.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Publishers and Subscribers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!