Coder Social home page Coder Social logo

ecal-mqtt-bridge's Introduction

eCAL <-> MQTT Bridge

A generic transparent bridge between eCAL and MQTT.

Principle

ecal-mqtt-bridge provides a functionality to bidirectionally bridge between eCAL and MQTT. This fully configurable bridge is able to manage the message transmission from eCAL to MQTT and vice versa using a yaml configuration file.

There are 3 types of messages that can be routed:

  • message that contains the payload that needs to be shifted
  • message that contains the type information of the payload1
  • message that contains the descriptor string

1 By using static_ecal_type_name parameter, the type information for the eCAL protobuf message is not received via mqtt_ecal_type_name, but via this setting.

Current state of development

Due to the lack of thread support of the mosquitto library on Windows, we decided to keep only Linux support until it is fixed.

Build instructions for Linux

  • Install at least version 5.11.0 of eCAL
  • Add the mosquitto-dev PPA to your sources list :
sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa 
sudo apt-get update
  • Install mosquitto, libmosquittopp-dev, libmosquitto-dev using: apt-get install mosquitto, libmosquittopp-dev, libmosquitto-dev

1. Clone the repository to a folder on your local machine

2. Change current directory to build_scripts and run make_all.sh

Usage

Simply run the MqttEcalBridge application. Parameters:

  • -h, --help Display help
  • -c=PATH, --config=PATH Use the path to a yaml file to load the configuration, otherwise place the settings.yaml file next to the executable
  • -v, --verbose Print all logging information from MQTT

Note: If the MqttEcalBridge is provided as a .deb file, make sure you have installed mosquitto, libmosquittopp-dev, libmosquitto-dev at least version 2.0 .

ecal-mqtt-bridge's People

Contributors

adriana-chirila avatar florianreimold avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

adriana-chirila

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.