フィルターのクリア

Why do I get an error when trying to create a ROS2 node on Windows 7?

2 ビュー (過去 30 日間)
I am trying to create a ROS2 node on a Windows 7 computer, but I get the following error for my model containing a ROS2 Subscribe block
MATLAB System block <path to Source Block> error occurred when invoking 'setupImpl' method of 'ros.slros2.internal.block.Subscriber'.
Caused by:
Unable to launch Simple server: Unable to launch
<matlabroot>\toolbox\ros\bin|win64\libmwros2server.exe
because: Unable to launch Simple server: Unable to launch server: initialization failed
I have used a similar model for ROS1 and I am able to build and run the resulting code within a ROS1 environment.

採用された回答

MathWorks Support Team
MathWorks Support Team 2024 年 2 月 29 日
編集済み: MathWorks Support Team 2024 年 2 月 29 日
Windows 10 is the only Windows-based compatible platform for ROS 2, as you can see in the following web page:
As this is a ROS2 requirement, the only option is to upgrade your operating system to a more recent one. You can also consider using a Linux / Mac-based platform or a virtual machine.
If you encounter the above error message on Windows 10, please see the following MATLAB Answers Post:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeROS 2 Network Access in Simulink についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by