Why this error is occuring while deploying in ROS2?

조회 수: 5 (최근 30일)
Ahmed
Ahmed 2025년 3월 21일
편집: Ahmed 2025년 4월 22일
Hey all, I am trying to deploy in a ROS2 device from Simulink. I keep facing this error. FYI, the device being deployed in is Intel Nuc. It is being deployed through Wi-Fi. I also deployed in another ROS2 machine without any error therefore the Simulink model has no error by design. Please don't hesitate to ask for further information. Glad to provide to solve the issue.
  댓글 수: 11
Ahmed
Ahmed 2025년 3월 28일
Hi there, I've tried as instructed. I changed the port number to 65535. Verbose was also enabled. It works on the laptop but the error still persists on the Nuc even after providing a different value in the 'Port' field. Here's the detailed error log. Is that what you were talking about or is it a different thing?
As for the root priveleges, during connection test in the diagnostics, it showed that user has administrative privileges. Is it not indicative of that?
Ahmed
Ahmed 2025년 4월 2일
Hi, I tried the way you suggested for the root access. I followed the steps showed on the link you shared. However, the problem that is occurring is during the testing connection it cannot connect due to wrong name or password as it shows on the diagnostics. Also, I think simulink can't find ROS workspace.

댓글을 달려면 로그인하십시오.

채택된 답변

Ahmed
Ahmed 2025년 4월 5일
편집: Ahmed 2025년 4월 22일
The issue has been solved. The problem was the firewall. It was activated in the Nuc therefore causing hamper in communication between the Nuc and Simulink therefore causing hindrance in external mod. In my opinion, if firewall could cause such a hindrance in external mode then it should have been discerned during the connection testing phase, during which no such an issue was discovered. I hope developers will keep that under consideration for future versions.

추가 답변 (0개)

카테고리

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

태그

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by