Fork of echopilot_deploy, adding support for spirilink and others.
Go to file
Alice Sedgwick 1f6a41de44 Added more comments 2024-12-06 22:41:35 -05:00
scripts init 2024-10-20 13:23:16 -03:00
ui Added more comments 2024-12-06 22:41:35 -05:00
.gitignore Add logic for pulling & building cockpit-docker 2024-10-31 15:55:20 +00:00
Makefile Now it should be all good to go 2024-10-20 22:13:59 -03:00
README.md update readme 2024-10-29 10:14:35 -03:00
cockpitScript.sh Populate serial device dropdown with ports having FCU symlinks 2024-10-24 17:11:50 +00:00
drone.key Setup spiri-link 2024-10-20 14:17:07 -03:00
ensure-cockpit.sh Add logic for pulling & building cockpit-docker 2024-10-31 15:55:20 +00:00
fpv-camera.service Setup spiri-link 2024-10-20 14:17:07 -03:00
index.html finished adding something for each row of health table, will have to have it reviewed ofc 2024-11-30 20:30:05 -05:00
index.html.1 finished adding something for each row of health table, will have to have it reviewed ofc 2024-11-30 20:30:05 -05:00
main.conf Setup spiri-link 2024-10-20 14:17:07 -03:00
mavlink-router.service init 2024-10-20 13:23:16 -03:00
reload-cockpit.sh Add logic for pulling & building cockpit-docker 2024-10-31 15:55:20 +00:00
serial_number.py init 2024-10-20 13:23:16 -03:00
static-network.sh Reorganize paths for general package 2024-10-23 19:21:25 +00:00
temperature.service init 2024-10-20 13:23:16 -03:00
temperature.sh init 2024-10-20 13:23:16 -03:00
verify_wlan_usb.sh Force naming of spirilink interface, ask for static IP 2024-10-20 17:48:13 -03:00
version.txt init 2024-10-20 13:23:16 -03:00
wifibroadcast.cfg Integrate WFB settings to dashboard 2024-10-20 17:18:42 -03:00

README.md

EchoMAV EchoPilot AI Deploy

This is the stnadard deployment package used on Jetson modules installed on the EchoPilot AI hardware. A makefile is included which will install mavlink-router, cockpit and set the device up with a static ip address.

  • mavlink-router is an open source tool to route mavlink messages across various types of endpoints. On the EchoPilot AI, it is used to accept serial data from the autopilot and act as a client or server using either UDP or TCP for packets.
  • cockpit is web-based graphical user interface, allowing you to manage the system. As configured in this install, a MAVLink-Router configuration page allows you to use a simple to use web user interface to configure mavlink-router. Simply access the system using a web browser at http://IP_ADDRESS.
  • A shell script is included which will configure a unique static IP address for the system based on the network adapter's MAC address.
  • Other helpful applications are installed, including nano, htop and nload.

Steps to install

  1. Given a freshly flashed image, gain console access via USB, e.g. picocom /dev/ttyUSB0 -b 115200 on Linux.
  2. Ensure that one of the EchoPilot AI's network ports is plugged into a router providing a DHCP address and Internet access.
  3. Clone and use make to install the software usage:
git clone https://github.com/echomav/echopilot_deploy.git /tmp/echopilot_deploy && cd /tmp/echopilot_deploy && make

# If you do not want to configure a static IP, then use make no-static
  1. Record and label the device with the static IP address generated by the script, as you will need this to access the device over the network.
  2. Using a host computer on the appropriate subnet (e.g., 10.223), access the webUI at http://IP_ADDRESS. https will also work.
  3. You may also use ssh for terminal acces, e.g. ssh echopilot@IP_ADDRESS

Using the web user interface, you can now configure mavlink-router endpoints. The most common scenario is UDP Client pushing data to the ground control system computer.

cockpit-docker

Source

sudo apt install -y nodejs gettext make
wget https://github.com/chabad360/cockpit-docker/releases/download/16/cockpit-docker-16.tar.xz
tar xvf cockpit-docker-16.tar.xz
cd cockpit-docker
export NODE_ENV=production
sudo make install PREFIX="/usr"
sudo systemctl restart cockpit.{socket,service}