From 1a2d0b9fa0f0b59a690a02b4a8cf82f138977e25 Mon Sep 17 00:00:00 2001 From: dominikn Date: Thu, 25 Jul 2024 11:41:02 +0200 Subject: [PATCH] fix configure hook --- snap/local/local-ros/configure_hook_ros.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/snap/local/local-ros/configure_hook_ros.sh b/snap/local/local-ros/configure_hook_ros.sh index 7483d15..9104b2b 100755 --- a/snap/local/local-ros/configure_hook_ros.sh +++ b/snap/local/local-ros/configure_hook_ros.sh @@ -87,14 +87,14 @@ if [ "$TRANSPORT_SETTING" = "rmw_fastrtps_cpp" ] || [ "$TRANSPORT_SETTING" = "sh fi fi -# Make sure ros-humble-ros-base is connected -ROS_PLUG="ros-humble-ros-base" - -if ! snapctl is-connected ${ROS_PLUG}; then - log_and_echo "Plug '${ROS_PLUG}' isn't connected. Please run:" - log_and_echo "snap connect ${SNAP_NAME}:${ROS_PLUG} ${ROS_PLUG}:${ROS_PLUG}" - exit 1 -fi +# # Make sure ros-humble-ros-base is connected +# ROS_PLUG="ros-humble-ros-base" + +# if ! snapctl is-connected ${ROS_PLUG}; then +# log_and_echo "Plug '${ROS_PLUG}' isn't connected. Please run:" +# log_and_echo "snap connect ${SNAP_NAME}:${ROS_PLUG} ${ROS_PLUG}:${ROS_PLUG}" +# exit 1 +# fi # Create the ${SNAP_COMMON}/ros.env file and export variables (for bash session running ROS2) ROS_ENV_FILE="${SNAP_COMMON}/ros.env"