diff --git a/fresh_mu_install_v2.sh b/fresh_mu_install_v2.sh index 4727998..39b162b 100644 --- a/fresh_mu_install_v2.sh +++ b/fresh_mu_install_v2.sh @@ -165,6 +165,14 @@ sudo geographiclib-get-magnetic emm2017 sudo apt install -y libglew-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 setTitle "Setting up Background Services" cd Downloads/ @@ -217,12 +225,6 @@ sudo systemctl enable --now apriltag sudo systemctl enable --now camlaunch 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 #sudo sed 's/APT::Periodic::Update-Package-Lists "1";/APT::Periodic::Update-Package-Lists "0";/1' /etc/apt/apt.conf.d/10periodic