Robotics StackExchange | Archived questions

Windows 10 Rosserial failed to publish topics to ROS Melodic on Windows 10.

I have installed ROS Melodic Morenia latest version (as on Feb 2020) on windows 10 Home. I tried to run ROS Melodic and rosserial windows on the same Windows 10 machine by following this guide [http://wiki.ros.org/rosserial_windows/Tutorials/Hello%20World]. But the rosserialhelloworld project in visual studio failed to publish the topic into ROS Melodic which installed in the same windows 10 machine with rosserialserver socketnode running. The rosserialserver and rosserialwindows source packages that I used were from [https://github.com/ros-drivers/rosserial].

I both tried that the socketnode port settings with 11311 and 11411 corresponds in the rosserialhelloworld project's "rosmaster" settings. And the IP address that I assigned to "rosmaster" in the rosserialhello_world project is the IP address of the ROS Melodic (which is the same IP address of my windows machine since ROS Melodic is running on the same windows 10 machine).

When running with the port 11411 settings, the rosserialhelloworld VS application seems to somehow successfully establish communication with ROS Melodic (rosserialserver socketnode) running on the same windows 10 machine but still failed to publish the ROS topics into ROS Melodic. The following error was shown.

Socket asio error, closing socket: system:1236

Is there any suggestion to resolve this issue? Similar procedure was tried with rosserialhelloworld VS application (on windows 10 machine) publishing topic to ROS kinetic(on another ubuntu Mate 16.04 machine) via same rosserialserver package's socketnode and it works just fine.

Asked by Steven94 on 2020-02-18 20:21:47 UTC

Comments

Answers