Giter Club home page Giter Club logo

mavbridge's Introduction

MAVBridge

MAVBridge is stand-alone ESP8266 based serial MAVLink <-> wireless bridge. It is compatible with MAVLink v1.0 specification and

Compatibility has been tested with:

  • Pixhawk hardware (PX4 and ArduPilot flight stacks)
  • APMPlanner
  • MissionPlanner
  • DroidTower
  • qGroundcontrol
  • MAVProxy

Device has built-in web interface for configuration and status.

At the moment, only UDP transport layer is supported. TCP support is work-in-progress (functionality is there, but ESP runs out of RAM and crashes when transmitting a lot of data).

As for performance- UDP has been successfully tested at 921600 baud rate and almost 70 KiB/s data rate without packet-loss (depends on number of WiFi networks around device , of course).

Configuration interface

Index/status page: Screenshot of index page

Settings: Screenshot of settings page

Building firmware

Prerequisites for building:

Assuming the requirements above are satisfied, building is as simple as:

cd firmware
make

Hardware

Hardware is designed using Kicad and the design is available in hardware folder.

Testing

Python scripts that automatically test performance and stability of the MAVBridge are available in throughput-test/. Tests require pymavlink.

mavbridge's People

Contributors

festlv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mavbridge's Issues

sequential number becomes discrete

I checked a sequential number of received MAVLINK - MESSAGE.
A sequential number becomes discrete.

Receive Seq# D
Receive Seq# F
Receive Seq# E
.
Receive Seq# 20
Receive Seq# 22
Receive Seq# 21

I expect that the following cord is the cause.

memcpy(transmit_buf + transmit_buf_size, msg.buf, msg.buf_len); 
transmit_buf_size += msg.buf_len;
transmit_buf_packets++;

if (msg.msgid == 0)
    broadcast_packet(msg);

sending que(Seq#C) ----> Receive C
sending que(Seq#D) ----> Receive D
queing Seq#E
queing Seq#F
sending Seq#F(msg.msgid=0) ----> Receive F
sending que(Seq#E) ----> Receive E
sending que(Seq#F)

Thank you for useful package.

ESP-32 Support?

Hi.

Thanks for the great project. I tried to flash the MavBridge project to a ESP8266 and it works really fine. However, I need to run it on a ESP32. I tried it too and flashing the ESP32 does not output any errors, but it also does not open an AP like on the ESP8266.

Any chance that you will support ESP32 in the near future? If not, some tips how to achieve would be highly appreciated : )

Best regards,
Nicolas

Can I use 8266 on the ground?

This project looks really good. My ground control station only has a serial port. Can I use 8266 on the ground? How to configure it? Thanks a lot

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.