From 18251593a755a5b7e81f44fb9b303552d2d9a238 Mon Sep 17 00:00:00 2001 From: Eric Cousineau <eric.cousineau@tri.global> Date: Mon, 13 May 2024 16:45:16 -0400 Subject: [PATCH] [wip] rviz_default_plugins breaks on some systems --- .../ros2/resources/ros2bzl/templates.py | 1 + ros2_example_bazel_installed/WORKSPACE | 19 ++----------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/bazel_ros2_rules/ros2/resources/ros2bzl/templates.py b/bazel_ros2_rules/ros2/resources/ros2bzl/templates.py index 115530e1..1a80f8b7 100644 --- a/bazel_ros2_rules/ros2/resources/ros2bzl/templates.py +++ b/bazel_ros2_rules/ros2/resources/ros2bzl/templates.py @@ -104,6 +104,7 @@ def configure_package_cc_library( data.append(share_label(name, metadata)) # Add in plugins, if any if 'plugin_libraries' in metadata: + print(name) data.extend( sandbox(find_library_path(library)) for library in metadata['plugin_libraries'] diff --git a/ros2_example_bazel_installed/WORKSPACE b/ros2_example_bazel_installed/WORKSPACE index 83ea9b93..3923e901 100644 --- a/ros2_example_bazel_installed/WORKSPACE +++ b/ros2_example_bazel_installed/WORKSPACE @@ -65,24 +65,9 @@ load( "ROS2_DISTRO_PREFIX", ) -# Please keep this list sorted +# HACK ROS2_PACKAGES = [ - "action_msgs", - "builtin_interfaces", - "console_bridge_vendor", - "rclcpp", - "rclcpp_action", - "rclpy", - "ros2cli", - "ros2cli_common_extensions", - "rosbag2", - "rosidl_default_generators", - "tf2_py", -] + [ - # These are possible RMW implementations. Uncomment one and only one to - # change implementations - "rmw_cyclonedds_cpp", - # "rmw_fastrtps_cpp", + "rviz_default_plugins", ] RESOLVED_PREFIX = (