ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

f.stojanovic's profile - activity

2021-07-27 06:45:35 -0500 received badge  Famous Question (source)
2021-01-12 17:28:16 -0500 received badge  Famous Question (source)
2020-12-14 01:05:51 -0500 received badge  Notable Question (source)
2020-12-03 00:00:04 -0500 received badge  Popular Question (source)
2020-12-02 08:39:26 -0500 marked best answer ROS2 compiled node release executable crashes when launched from a different computer
  • OS : Windows 10 x64 PRO
    • ROS 2 distribution : Foxy Fitzroy (precompiled)

Issue :

  • On the PC my node is developed on, the .EXE from build/Release runs perfectly. I don't need to source ROS2, just launching the node works.
  • On the second PC I want to deploy the node, I have the ros2 Foxy binaries set up at the same exact location, and Path set up properly. However, when I run the node in the same way on this PC, the node crashes instantly, shutting down as soon as it is launched.

I can confirm that the shared ros2 libraries (rclcpp.dll, rcl.dll and such) are found at the Path, as when I remove ros2-foxy/bin from it, I get this error message.


Note : sourcing ROS2 is not an option for me. It must work without this step. Edit : even if I source ROS2 on my second PC, it still crashes.

Therefore the question is : how to make it run on the second PC as it runs on the first?

Thank you very much, any help is greatly appreciated.

2020-12-02 08:39:26 -0500 received badge  Scholar (source)
2020-12-02 08:39:16 -0500 received badge  Rapid Responder (source)
2020-12-02 08:39:16 -0500 answered a question ROS2 compiled node release executable crashes when launched from a different computer

I found the solution : the target (second) PC only had the binary distribution installed. This is not sufficient to run

2020-12-02 05:16:33 -0500 edited question ROS2 compiled node release executable crashes when launched from a different computer

ROS2 compiled node release executable crashes when launched from a different computer OS : Windows 10 x64 PRO ROS 2 di

2020-12-02 05:15:15 -0500 commented question ROS2 compiled node release executable crashes when launched from a different computer

@gvdhoorn, thank you for your answer. Yes, that error message is not important as it is controlled, only arises when I i

2020-12-02 03:51:24 -0500 asked a question ROS2 compiled node release executable crashes when launched from a different computer

ROS2 compiled node release executable crashes when launched from a different computer OS : Windows 10 x64 PRO ROS 2 dis

2020-10-19 18:44:44 -0500 received badge  Notable Question (source)
2020-09-16 10:55:06 -0500 commented question Distributing ROS2 executables

@lukicdarkoo thank you very much for your answer. Indeed, that was my thought at first, so I was surprised when it didn'

2020-09-14 03:06:47 -0500 received badge  Popular Question (source)
2020-09-10 11:55:59 -0500 asked a question Distributing ROS2 executables

Distributing ROS2 executables I am running ROS2 Foxy on Windows 10. I can colcon build my C++ source code just fine, an