Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tjcanro committed Oct 14, 2024
1 parent 0488883 commit 02a9bba
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -215,20 +215,22 @@ $(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

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/
Expand Down

0 comments on commit 02a9bba

Please sign in to comment.