Skip to content
/ ecal Public
forked from eclipse-ecal/ecal

πŸ“¦ eCAL - enhanced Communication Abstraction Layer. A high performance publish-subscribe, client-server cross-plattform middleware.

License

Notifications You must be signed in to change notification settings

GJYang/ecal

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

eCAL - enhanced Communication Abstraction Layer

Build Windows Server 2019 Build Ubuntu 20.04 Build Ubuntu 22.04 Build macOS

License

The enhanced Communication Abstraction Layer (eCAL) is a middleware that enables scalable, high performance interprocess communication on a single computer node or between different nodes in a computer network. eCAL provides publish - subscribe and server - client pattern to connect different nodes in the network with almost no configuration required.

eCAL automatically chooses the best available data transport mechanism for each link, it supports:

  • Shared memory for local communication (incredibly fast!)
  • UDP and TCP for network communication

Visit the eCAL Documentation at 🌐 https://ecal.io for more information.

Architecture

eCAL Architecture

Facts about eCAL

  • eCAL is fast (1 - 20 GB/s, depends on payload size. Check the measured performance here)

  • eCAL provides both publish-subscribe and server-client patterns

  • eCAL is brokerless

  • eCAL provides a C++ and C interface for easy integration into other languages (like python, csharp or rust)

  • eCAL can be used in conjunction with Matlab Simulink as eCAL Simulink Toolbox for simulation and prototyping

  • eCAL has powerful tools for recording, replay and monitoring all your data flows - decentralized

  • eCAL is simple and zero-conf. No complex configuration for communication details and QOS settings are needed

  • eCAL is message protocol agnostic. You choose the message protocol that fits to your needs like Google Protobuf, CapnProto, Flatbuffers...

  • eCAL uses the standardized recording format HDF5

  • eCAL integrates gently into your ROS2 environment with the eCAL RMW

  • eCAL supports Intel and arm platforms

  • eCAL runs on a wide variety of operating systems:

    • Windows (stable)
    • Linux (stable)
    • QNX (experimental)
    • MacOS (experimental)
    • FreeBSD (experimental)

Installation

We provide binary installers for Windows and Ubuntu. If you need further help installing and configuring eCAL, please refer to the documentation.

Windows

Download the latest eCAL Installer and follow the Setup Wizard

eCAL Setup

We only support 64bit Windows 7 / 10

Ubuntu

Install eCAL from our PPA:

sudo add-apt-repository ppa:ecal/ecal-latest
sudo apt-get update
sudo apt-get install ecal

This PPA will always upgrade you to the latest eCAL Release (-> Rolling Release PPA). If you intend to stay on an specific release, check out other PPAs here.

Ubuntu 18.04, 20.04, 22.04, 23.04, 23.10 for CPU architectures (i386), x64, armhf, arm64 are supported at the time of writing.

Example

Using eCAL in your project to exchange data is simple. After you have downloaded eCAL and installed CMake, you are good to go.

Check out the Hello World example from the eCAL documentation for further details.

#include <ecal/ecal.h>
#include <ecal/msg/string/publisher.h>

#include <thread>

int main(int argc, char** argv)
{
  // Initialize eCAL. The name of our process will be "Hello World Publisher"
  eCAL::Initialize(argc, argv, "Hello World Publisher");

  // Create a String Publisher that publishes on the topic "hello_world_topic"
  eCAL::string::CPublisher<std::string> publisher("hello_world_topic");

  // Infinite loop
  while (eCAL::Ok())
  {
    // Publish a "Hello World" message
    publisher.Send("Hello World");

    std::this_thread::sleep_for(std::chrono::milliseconds(500));
  }

  // finalize eCAL API
  eCAL::Finalize();
}

Tools from the eCAL ecosystem

eCAL comes with a set of read-to-use tools that will help you with developing, testing and debugging your software. Command line interface versions and easy to use GUI applications are available.

  • The eCAL Monitor to visualize the data flow and inspect messages sent between publishers and subscribers

  • The eCAL Recorder to record the data sent between your eCAL nodes

  • The eCAL Player to replay the eCAL recordings later on

  • eCAL Sys to define your system configuration and monitor your applications

eCAL Mon

eCAL eco system tools / utilities / interfaces

eCAL & Foxglove

eCAL & ROS

Other projects related to eCAL

  • fineftp-server - FTP functionality to collect distributed measurement artifacts over network
  • tcp_pubsub - Additional TCP transport layer for higher reliability for publication/subscription over network
  • udpcap - Npcap based UDP-socket emulation to increase the eCAL performance on MS Windows
  • docker-ecal - Inoffical dockerfiles for eCAL
  • golang-ecal - eCAL go language binding
  • ecal-rs - eCAL rust language binding
  • nodejs-ecal - eCAL wrapped for Nodejs
  • trellis - General purpose middleware framework for distributed applications
  • ADMA2eCAL - Software gateway for connection to ADMA hardware from GeneSys Elekronik GmbH

License

eCAL is licensed under Apache License 2.0. You are free to

  • Use eCAL commercially
  • Modify eCAL
  • Distribute eCAL

eCAL is provided on an β€œas is” basis without warranties or conditions of any kind.

Contributors

About

πŸ“¦ eCAL - enhanced Communication Abstraction Layer. A high performance publish-subscribe, client-server cross-plattform middleware.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.7%
  • CMake 3.8%
  • C 3.0%
  • Python 0.9%
  • Shell 0.3%
  • C# 0.1%
  • Other 0.2%