diff --git a/scripts/install.sh b/scripts/install.sh index e769bea5c..1af687dee 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -215,10 +215,10 @@ $(color "$Pur")Installing ROS2 Foxy and dependencies... $(hash_header)$(color "$Res") EOF -sudo apt install software-properties-common +mil_system_install software-properties-common sudo add-apt-repository universe -sudo apt update && sudo apt install curl -y +sudo apt update && mil_system_install curl sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list >/dev/null @@ -226,9 +226,11 @@ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-a sudo apt update sudo apt upgrade -sudo apt install ros-foxy-desktop python3-argcomplete +mil_system_install ros-foxy-desktop python3-argcomplete -sudo apt install ros-dev-tools +mil_system_install ros-dev-tools + +mil_system_install ros-foxy-ros1-bridge # Restore path cd ~/catkin_ws/src/mil/