GithubHelp home page GithubHelp logo

stargatetrans / uorb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shawnfeng0/uorb

0.0 0.0 0.0 902 KB

C++ inter-thread publish/subscribe middleware ported from PX4 and redesigned based on POSIX

License: MIT License

Shell 0.19% C++ 24.27% Python 69.77% C 0.91% EmberScript 3.02% CMake 1.84%

uorb's Introduction

uORB

Tests

English | δΈ­ζ–‡

The uORB is an asynchronous publish() / subscribe() messaging API used for inter-thread communication. "UORB" is the abbreviation of Micro Object Request Broker.

uORB was originally a messaging middleware in PX4 Autopilot, run on Nuttx rtos or Linux:

The project was re-implemented based on POSIX based on the original API, some redundant software layers were removed, and only most of the core functions were retained. Some of these improvements and fixes have been merged upstream of PX4.

Features

  • Based on POSIX, good compatibility
  • Real-time response mechanism similar to poll() function
  • A flexible and easy-to-use C++ interface, which can operate topics like local structures

Dependencies

Compiling the uorb library requires the support of c++11, and most compilations are currently supported.

We have a message generator that can easily generate message meta-data. These libraries are needed to make it work:

pip3 install -r ${UORB_REPO_PATH}/tools/msg/tools/requirements.txt

Documentation

Examples

uorb-examples

Tools

uorb topic listener

uorb also has a topic listener library. It is responsible for starting a tcp server, which is convenient for developers to monitor uorb topic data in real time outside the process.

Here is an example of using this listener.

uorb's People

Contributors

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