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

CupcakeMuffin's profile - activity

2018-08-08 01:32:50 -0500 marked best answer How to source binary packages from different places?

Dear ROS Enthusiasts,

I have a problem sourcing binary packages from multiple install directories. These are the source commands I want to work with:

  1. source /opt/ros/kinetic/setup.bash
  2. source /opt/ros/other/setup.bash
  3. source /home/my_user/install_dir/setup.bash
  4. source /home/my_user/catkin_ws/devel/setup.bash

In /opt/ros/other I have the usb_cam package installed, which is still not available for kinetic. In /home/my_user/install_dir I have installed a binary version of a package, I programed myself. For some reasons, I don't want to provide the source of this package. The nodes of the package in the catkin workspace require the output of the binary package in /home/my_user/install_dir published in certain topics.

As long as I don't source my binary package in /home/my_user/install_dir, everything works well. Means, the source commands 1, 2, and 4 don't interfere each other and work well in combination. I have access to packets of the ROS installation and the usb_cam packet in my catkin workspace at the same time.

Unfortunately, the source commands 3 and 4 interfere with each other. Only the last of these two source commands is effective. As a result, I can't call all nodes in a single launch file and even worse I don't have access to the data types of my binary package in my catkin workspace.

Since source commands 1, 2, and 4 are working well together, sourcing binary packages from multiple places is possible. Since source command 3 does not source a workspace, I should not have an effect based on cascading workspaces, right? However, I don't see any differences between the usb_cam package and my binary package, which may result in the different behavior of source commands 2 and 3.

Thank you very much for your help.

2018-06-26 13:27:25 -0500 received badge  Famous Question (source)
2018-06-26 13:27:25 -0500 received badge  Notable Question (source)
2017-06-08 07:08:03 -0500 received badge  Popular Question (source)
2017-05-28 19:47:59 -0500 asked a question How to source binary packages from different places?

How to source binary packages from different places? Dear ROS Enthusiasts, I have a problem sourcing binary packages fr