0

I am new to ROS. I try to build demo_nodes_cpp example. I use colcon build, source install/setup.bash to setup and ros2 run demo_nodes_cpp talker to run. All works fine.

Now I want to copy all the binary files into another machine and run it. Then I find many built files use absolute symlink that link to my host PC. How can I just use the built files without depending on my building host environemnt?

Josh Chiu
  • 832
  • 2
  • 7
  • 14
  • Did you try to copy the files to the ROS2 system space? For example, `rsync -av ROSWS/install/YOURPACKAGE/* /opt/ros/humble/` should work for ROS2 humble in Ubuntu 22.04. It's not a clean way to install software, but it should work as a first start. – J.P.S. May 06 '23 at 11:12

0 Answers0