Update 'fresh_mu_install_v2.sh'

This commit is contained in:
Mathew Ngan 2023-01-04 07:02:37 -08:00
parent 197104922d
commit 4277d33998
1 changed files with 8 additions and 6 deletions

View File

@ -165,6 +165,14 @@ sudo geographiclib-get-magnetic emm2017
sudo apt install -y libglew-dev sudo apt install -y libglew-dev
sudo apt install -y ffmpeg libavcodec-dev libavutil-dev libavformat-dev libswscale-dev libavdevice-dev sudo apt install -y ffmpeg libavcodec-dev libavutil-dev libavformat-dev libswscale-dev libavdevice-dev
# Installing mavros
setTitle "installing mavros"
cd ~/Downloads
git clone https://git.spirirobotics.com/Spiri/mavros.git
cd /opt/ros/melodic/share/mavros/launch
sudo cp ~/Downloads/mavros/mavros/launch/* .
sudo usermod -a -G dialout $USER
# Background services # Background services
setTitle "Setting up Background Services" setTitle "Setting up Background Services"
cd Downloads/ cd Downloads/
@ -217,12 +225,6 @@ sudo systemctl enable --now apriltag
sudo systemctl enable --now camlaunch sudo systemctl enable --now camlaunch
sudo systemctl enable --now gpudisplaunch sudo systemctl enable --now gpudisplaunch
setTitle "installing mavros"
cd ~/Downloads
git clone https://git.spirirobotics.com/Spiri/mavros.git
roscd mavros/launch
sudo cp ~/Downloads/mavros/mavros/launch/* .
# Disable Auto Updates # Disable Auto Updates
#sudo sed 's/APT::Periodic::Update-Package-Lists "1";/APT::Periodic::Update-Package-Lists "0";/1' /etc/apt/apt.conf.d/10periodic #sudo sed 's/APT::Periodic::Update-Package-Lists "1";/APT::Periodic::Update-Package-Lists "0";/1' /etc/apt/apt.conf.d/10periodic