From 7a4fa2cb7aa9147ce0c32c84c8fe37ec563f6240 Mon Sep 17 00:00:00 2001 From: dominikn Date: Fri, 7 Jun 2024 15:44:50 +0000 Subject: [PATCH] don't check ros plug is connected --- snap/local/ros_common/configure_hook_ros.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/snap/local/ros_common/configure_hook_ros.sh b/snap/local/ros_common/configure_hook_ros.sh index 6c396b4..15b60ee 100755 --- a/snap/local/ros_common/configure_hook_ros.sh +++ b/snap/local/ros_common/configure_hook_ros.sh @@ -66,11 +66,11 @@ if [ "$TRANSPORT_SETTING" = "builtin" ] || [ "$TRANSPORT_SETTING" = "shm" ]; the fi fi -# Make sure ros-humble-ros-base is connected -ROS_PLUG="ros-humble-ros-base" +# # 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 +# 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