Giter Site home page Giter Site logo

cglusky / octanis1-field-station Goto Github PK

View Code? Open in Web Editor NEW

This project forked from octanis1/octanis1-field-station

0.0 1.0 0.0 38 KB

Software that runs on the Raspberry Pi in the field. Acts as a LoRa tranceiver and MAVLink protocol handler. Must accept and relay MAVLink commands from APM Planner / QGcontrol.

Python 91.50% Shell 8.50%

octanis1-field-station's Introduction

Octanis1-Field-Station

Software that runs on the Raspberry Pi in the field. Acts as a LoRa tranceiver and MAVLink protocol handler. Must accept and relay MAVLink commands from APM Planner / QGcontrol.

Software running on the field station but not in this repository.

UDP <-> MQTT bridge

The goal of the bridge

The goal of this script is to receive MQTT messages from 'A' and to transform them into UDP messages that are sent to 'B' and to receive UDP messages from 'B' and to transform them into MQTT that are sent to 'A'.

Configuration of the bridge

At the beginning of the Python scripts, you can change the IP and the port of the differents actors.

Test the bridge

To test the bridge, you can use the scripts send_mqtt.sh and send_udp.sh. You just need to change the parameters at the begin of each script. To listen : mosquitto_sub -t topic -q 1 and nc -l -u -p 43000

status_reporter script

Sends RADIO_STATUS message to the UDP endpoint (APM Planner) which includes last RSSI from TX MQTT topic. It also sends a HEARTBEAT with sysid 24.

Halt button script

Listens to a rising edge on GPIO pin 16 (hardware pin, not BCM) and halts the operating system if risen.

octanis1-field-station's People

Contributors

jajoe avatar bitmorse avatar traffael avatar

Watchers

Coby 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.