Why this error is occuring while deploying in ROS2?

5 次查看(过去 30 天)
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