Update 'fresh_mu_install_v2.sh'
This commit is contained in:
parent
197104922d
commit
4277d33998
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue