MATLAB Answers

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

3 views (last 30 days)
I am trying to generate a standalone ROS2 node on a Windows 7 computer but when I try to build it it comes up with an error:
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 24 Jan 2020
Windows 10 is the only Windows based compatible platform as you can see in the following web page: https://index.ros.org/doc/ros2/Releases/Release-Bouncy-Bolson/#id1
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.

  0 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.


Translated by