Skip to content

Software

LCM (Lightweight Communications and Marshalling)

By LCM project, from github.com/lcm-proj/lcm (opens in a new tab)

  • Middleware
  • Library
  • LGPL-2.1-only

LCM is a set of libraries and tools for publish/subscribe message passing and automatic data marshalling in real-time, low-latency systems.

Facts

GitHub stars
1,211read on 28 Nov 2026
Last update
1 Nov 2026Newest commit on master
Maintenance
Activea commit in the last 90 days
Difficulty
Intermediate
Hardware it needs, as the project states it
Runs on GNU/Linux (Ubuntu 22.04 and 24.04, Fedora 42), macOS (14 and 15), and Windows (2019 and 2022).

Checked on GitHub on 28 Nov 2026.

Licenses

Code
LGPL-2.1-only (opens in a new tab)

Read by Robotheca from COPYING (opens in a new tab) (LGPL-2.1-only) at commit 7768cb4 (opens in a new tab), on 6 Nov 2026.

Commercial use
Yes

Copyleft: Modified source must be published.

At a glance

What it is
  • Provides a publish/subscribe messaging model with automatic marshalling and unmarshalling code generation.
  • Offers low-latency inter-process communication using efficient UDP multicast broadcast.
  • Uses type-safe message marshalling and includes logging and playback tools.
  • Peers communicate directly, with no central hub, database, or daemons required.
  • Has bindings for C, C++, Java, Lua, MATLAB and Python (3.7 and later), with Go and C#/.NET unmaintained.
  • Supports GNU/Linux (Ubuntu, Fedora), macOS and Windows.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
Used by HighTorque-MiniDog, MiniLoong and NanoLoong Bipedal.
Licence
LGPL-2.1-only. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Active, last commit on 1 Nov 2026.

Works with

3 robots on Robotheca

The robots on Robotheca that use it or can run it, each with how the link was found.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 7768cb4

Robotheca read the repository at two versions: the summary at f56db40 and the facts and the README at 7768cb4 (read on 28 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by LCM project, at commit 7768cb4, under LGPL-2.1-only (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

Lightweight Communications and Marshalling (LCM)

LCM is a set of libraries and tools for message passing and data marshalling, targeted at real-time systems where high-bandwidth and low latency are critical. It provides a publish/subscribe message passing model and automatic marshalling/unmarshalling code generation with bindings for applications in a variety of programming languages.

Roadmap

The LCM project is active again. The current long-term plan is to focus on stability and maintenance patches to fix longstanding issues. Longer term we're open to evolution of LCM to have additional features (as long as backwards compatibility is enforced). We're very open to community feedback and involvement on new features.

Quick Links

Features

  • Low-latency inter-process communication
  • Efficient broadcast mechanism using UDP Multicast
  • Type-safe message marshalling
  • User-friendly logging and playback
  • No centralized "database" or "hub" -- peers communicate directly
  • No daemons
  • Few dependencies
Supported platforms and languages
  • Platforms:
    • GNU/Linux
      • Ubuntu (22.04 and 24.04)
      • Fedora (42)
    • macOS (14 and 15)
    • Windows (2019 and 2022)
  • Languages
    • C
    • C++
    • Java
    • Lua
    • MATLAB
    • Python (3.7 and later)
Unmaintained languages

The following languages are currently unmaintained. PRs for these languages are still welcome and if you are interested in maintaining them please let us know.

  • Go
  • C#/.NET

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.