From 4277d3399809bfe12de935710aea51aa6b56e59e Mon Sep 17 00:00:00 2001 From: Mathew Ngan Date: Wed, 4 Jan 2023 07:02:37 -0800 Subject: [PATCH] Update 'fresh_mu_install_v2.sh' --- fresh_mu_install_v2.sh | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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