Skip to content

Commit a79101d

Browse files
committed
Remove mavlink-router build
1 parent b08d21e commit a79101d

9 files changed

+8
-37
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "modules/mavlink-router"]
2-
path = modules/mavlink-router
3-
url = https://github.com/mavlink-router/mavlink-router

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ https://www.xmodulo.com/change-usb-device-permission-linux.html
124124

125125
## Building and Running in development mode
126126

127+
The mavlink-router (https://github.com/mavlink/mavlink-router) software is used for backend routing and is required to be installed.
128+
129+
Follow the scripts in the ``/deploy`` folder for your selected platform to set up the
130+
development environment.
131+
127132
Running in development mode allows for any code changes to trigger a restart of Rpanion-server.
128133

129134
Rpanion-server consists of a node.js server running on port 3001 and a React frontend application

deploy/RasPi-ubuntu-deploy.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ if [[ "$(lsb_release -rs)" =~ ^2[2-9]\. ]]; then
6464
sudo netplan apply
6565
fi
6666

67-
## mavlink-router
68-
./build_mavlinkrouter.sh
69-
7067
## and build Rpanion dev
7168
# If less than 520Mb RAM, need to tell NodeJS to reduce memory usage during build
7269
if [ $(free -m | awk '/^Mem:/{print $2}') -le 520 ]; then

deploy/RasPi3-4-5-deploy.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ sudo apt install -y nodejs
4747
## Configure nmcli to not need sudo
4848
sudo sed -i.bak -e '/^\[main\]/aauth-polkit=false' /etc/NetworkManager/NetworkManager.conf
4949

50-
## mavlink-router
51-
./build_mavlinkrouter.sh
52-
5350
## and build Rpanion dev
5451
# If less than 520Mb RAM, need to tell NodeJS to reduce memory usage during build
5552
if [ $(free -m | awk '/^Mem:/{print $2}') -le 520 ]; then

deploy/build_mavlinkrouter.sh

Lines changed: 0 additions & 17 deletions
This file was deleted.

deploy/install_common_libraries.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sudo apt update
88
sudo apt upgrade -y
99
sudo apt install -y libunwind-dev
1010
sudo apt install -y gstreamer1.0-plugins-good libgstrtspserver-1.0-dev gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad
11-
sudo apt install -y network-manager python3 python3-dev python3-gst-1.0 python3-pip dnsmasq git ninja-build jq
11+
sudo apt install -y network-manager python3 python3-dev python3-gst-1.0 python3-pip dnsmasq git jq
1212

1313
## Pymavlink
1414
sudo apt install -y libxml2-dev libxslt1-dev python3-lxml python3-numpy python3-future
@@ -24,12 +24,11 @@ source ~/.profile
2424
# Also need gstreamer1.0-libcamera, as the libcamerasrc gst element has moved
2525
source /etc/os-release
2626
if [[ "$ID" == "debian" || "$ID" == "raspbian" ]] && [ "$VERSION_CODENAME" == "bookworm" ]; then
27-
sudo apt install -y meson python3-netifaces gstreamer1.0-libcamera
27+
sudo apt install -y python3-netifaces gstreamer1.0-libcamera
2828
elif [ "$ID" == "ubuntu" ] && [ "$VERSION_CODENAME" == "noble" ]; then
29-
sudo apt install -y meson python3-netifaces
29+
sudo apt install -y python3-netifaces
3030
else
3131
sudo python3 -m pip install --upgrade pip
32-
sudo pip3 install meson
3332
pip3 install netifaces --user
3433
fi
3534

deploy/jetson-deploy.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ if systemctl list-units --full -all | grep -Fq 'NetworkManager.service'; then
4343
sudo service NetworkManager restart
4444
fi
4545

46-
## mavlink-router
47-
./build_mavlinkrouter.sh
48-
4946
## and build Rpanion dev
5047
# If less than 520Mb RAM, need to tell NodeJS to reduce memory usage during build
5148
if [ $(free -m | awk '/^Mem:/{print $2}') -le 520 ]; then

deploy/x86-ubuntu20-deploy.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ echo "[keyfile]" | sudo tee -a /etc/NetworkManager/conf.d/10-globally-managed-de
3636
echo "unmanaged-devices=*,except:type:wifi,except:type:gsm,except:type:cdma,except:type:wwan,except:type:ethernet,type:vlan" | sudo tee -a /etc/NetworkManager/conf.d/10-globally-managed-devices.conf >/dev/null
3737
sudo service network-manager restart
3838

39-
## mavlink-router
40-
./build_mavlinkrouter.sh
41-
4239
## and build Rpanion dev
4340
# If less than 520Mb RAM, need to tell NodeJS to reduce memory usage during build
4441
if [ $(free -m | awk '/^Mem:/{print $2}') -le 520 ]; then

modules/mavlink-router

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)