Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support image_transport in ros2_examples_bazel_installed #330

Open
adityapande-1995 opened this issue Feb 1, 2024 · 1 comment
Open
Assignees

Comments

@adityapande-1995
Copy link
Collaborator

We have the ros2-humble-image-transport package installed in ros2_examples_bazel installed, but that does not appear as a bazel target, and cannot be used as bazel run //tools:ros2 -- run image_transport list_transports.

@adityapande-1995
Copy link
Collaborator Author

adityapande-1995 commented Feb 2, 2024

Further investigation :
Now that we have ros2 installed from debs, the system and bazel share the same ros distribution.

bazel run //tools:ros2 -- run image_transport list_transports
No executable found

On the system ros2 installtion, I see the following artifacts :

$ cd /opt/ros/humble/ ; find . | grep image_transport

./share/ament_index/resource_index/packages/image_transport
./share/ament_index/resource_index/package_run_dependencies/image_transport
./share/ament_index/resource_index/image_transport__pluginlib__plugin
./share/ament_index/resource_index/image_transport__pluginlib__plugin/image_transport
./share/ament_index/resource_index/parent_prefix_path/image_transport
./lib/libimage_transport_plugins.so
./lib/libimage_transport.so
./lib/x86_64-linux-gnu/libimage_transport.so
./lib/image_transport
./lib/image_transport/list_transports
./lib/image_transport/republish

And in the bazel sandbox I see :

adityapande@dr2:~/.cache/bazel/_bazel_adityapande/2496651f5f25952056a0343f6cd474f5/execroot/ros2_example_bazel_installed/bazel-out/k8-fastbuild/bin/tools/ros2.runfiles/ros2_example_bazel_installed$ find . | grep image_transport
./external/ros2/_opt_ros_humble/share/ament_index/resource_index/packages/image_transport
./external/ros2/_opt_ros_humble/share/ament_index/resource_index/package_run_dependencies/image_transport
./external/ros2/_opt_ros_humble/share/ament_index/resource_index/image_transport__pluginlib__plugin
./external/ros2/_opt_ros_humble/share/ament_index/resource_index/image_transport__pluginlib__plugin/image_transport
./external/ros2/_opt_ros_humble/share/ament_index/resource_index/parent_prefix_path/image_transport

We have the whole lib directory missing things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant