Giter Site home page Giter Site logo

pxpi's Introduction

LTE datalink drone project

Pixhawk + Raspberry Pi + LTE(4G) network drone development
It is the source code of the Raspberry Pi files.

Tested on Hardwares/Components

  • Body: Custom Multirotor
  • FC: PixRacer R15
  • Onboard computer: Raspberry Pi Zero
  • Network: HUAWEI E3372 / HUAWEI E3370 (3G/4G)

Support Firmware

  • Firmware: PX4 1.11.0

Features

  • Connect Pixhawk and Raspberry Pi using mavlink-router and pymavlink
  • Raspberry Pi send mavlink data to ground station through UDP;
  • Raspberry Pi read mavlink GPS data and submit the drone position to glympse through glympse API in real-time;
  • Raspberry Pi camera send video streaming to ground station;
  • The pilot can use radio control to switch on/off the video streaming;

Source Files in /home/pi/

files in descriptions
glympse/glympse.py Send drone's GPS position to Glympse
mavlink-router-service/mavlink-router.sh Routing mavlink from FC to GCS
jpeg-stream/sender2.py Sending low bandwidth, low latency video stream
jpeg-stream/receiver2.py Receiving and playback the stream video (run on groundstation)
jpeg-stream/control2.py Use remote control to start, stop, recording video
offboard/rtl-altitude.py Adjust RTL altitude based on the max elevation on the RTL path

The enabled system services, in case you need to restart it

sudo systemctl restart mavlink-router
sudo systemctl restart jpeg-sender
sudo systemctl restart wvdial

Check mavlink-router service log

sudo journalctl -u mavlink-router

Convert h264 to mp4

The sender2.py will record video on .h264 format. You need MP4Box to convert it to mp4 format

/usr/bin/MP4Box -add test.h264 test.mp4 -flat

Notes

For more information of the project, please read here

Demo flight

Demo flight youtube video

pxpi's People

Contributors

rc-bellergy avatar bellergy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.