Interfaces
The ROS 2 topics, services and actions you use to control the robot. All of them live in one repo, rammp-interfaces-ros2 , which is compiled into every base image.
| Repo | rammp-org/rammp-interfaces-ros2 |
| Current tag | v2.0.0 |
| Built into | rammp-base 2.0.0-jp6, and therefore rammp-cuda, at the tag named by INTERFACES_REF in the RAMMP-docker Makefile |
| Depends on | builtin_interfaces, the standard message packages, and control_msgs |
The design principle
One repo holds every interface needed to control the whole robot. A module built on a RAMMP base image has all of them and needs nothing else to command the arm or the base.
A message that only your module speaks is yours. It lives in your repo,
builds with your code, and you maintain it. When one of those messages
becomes stable and a second module needs it, it is promoted into
rammp-interfaces-ros2 by pull request. The shared repo grows from what
modules have proven they need, not from what someone guessed they might.
| Shared | Module-specific | |
|---|---|---|
| Lives in | rammp-interfaces-ros2 | Your module repo |
| Built into | The base images | Your module image, in /module_ws |
| Who maintains it | The interfaces repo, by pull request | You |
| Versioned by | The repo tag, pinned in the base image | Your module’s release |
| Becomes shared when | It is stable and a second module depends on it |
The packages
One package per subsystem, plus one for what no subsystem owns.
| Package | Controls | Page |
|---|---|---|
rammp_common_interfaces | The whole robot: the emergency stop, and taking or releasing control of a resource | Common |
rammp_peripheral_interfaces | Add-on devices broadcasting their input for any consumer: the joystick’s stick | Base |
rammp_arm_interfaces | The arm: trajectories, planned moves, streamed setpoints, the gripper | Arm |
rammp_base_interfaces | The wheelchair base: the MIB’s status, drive state requests, velocity and pose setpoints | Base |
rammp_orchestrator_interfaces | The contract between the Orchestrator and any capability engine: registration, object selection, action execution, World State | Repo README |
rammp_perception_interfaces | What perception sees: detected objects with masks, one-shot detection, tracking sessions | Repo README |
rammp_ui_bridge_interfaces | How an active engine asks the UI bridge for user input, without the Orchestrator | Repo README |
A type belongs in rammp_common_interfaces when its contract is complete
without knowing what is being controlled. E-stop is a broadcast about the
whole robot. Arbitration is a token, an owner and a generation, which mean
the same thing for an arm or a base, so each subsystem runs its own
arbitration server speaking one protocol and an operator tool needs one
client.
Some types are shared with the chair’s embedded boards. The MIB publishes and
reads MibStatus, DriveCommand, XYTwist and EStop as raw RTPS under
these type names, with no bridge, and the .msg files mirror the firmware’s
structs in rammp-rtps field for
field. Those files are not the source of truth; the struct is.
Using it in a module
A module built on a base image already has the packages. Do not add them to
requirements.txt or build them yourself.
from rammp_arm_interfaces.msg import JointSetpoint
from rammp_base_interfaces.msg import TwistSetpoint
from rammp_common_interfaces.msg import EStopfind_package(rammp_arm_interfaces REQUIRED)To build against the repo outside a base image, pin an exact tag in your
.repos file:
rammp-interfaces-ros2:
type: git
url: https://github.com/rammp-org/rammp-interfaces-ros2.git
version: v2.0.0Versioning
Semantic versioning. Which bump a change earns depends on where the field goes, not only that one was added.
| Change | Bump |
|---|---|
| New message, service or action | minor |
| New field appended at the end, with a default value | minor |
| Comments, docs, whitespace | patch |
| A field added anywhere but the end, or appended without a default | major |
| A field removed, renamed or retyped | major |
These rules hold only under Cyclone DDS, which is what the base images run. On Humble a subscriber matches a publisher on the type name alone, so two builds of the same type name connect even when their fields differ. Appending is safe because the deserialiser stops at the end of the payload and the trailing field takes its default. Inserting is not: every field after the insertion reads the previous field’s bytes, with no error. Under Fast-DDS a mismatched subscriber does not match at all, so the appended-field minor bump becomes a topic that silently never delivers.
A colcon workspace holds one version of a package, so whether two modules can run together reduces to whether they speak the same major. That is answerable by reading the base image tags they were built from.
These packages depend on nothing, so they release first. Tag here, then each
consumer bumps its pin in an ordinary pull request. Feature pull requests
target dev; main takes only the release pull request from dev.
Releases
| Tag | Date | What changed |
|---|---|---|
| v2.0.0 | 2026-11-03 | Major. The arm’s Cartesian types move to the arm_mount frame and ExecuteJointTrajectory retypes gains; rammp_base_interfaces replaces MibState with MibStatus and adds DriveCommand, TwistSetpoint and PoseSetpoint; EStop mirrors the firmware’s struct (state, pub_seq, clear fields). New packages for the orchestrator, perception and the UI bridge. |
| v1.1.0 | 2026-10-02 | New packages rammp_base_interfaces and rammp_peripheral_interfaces; speed_scale and orientation_hold on the arm’s actions. |
| v1.0.0 | 2026-09-10 | First tag. |
The full list of changes per release, and what a client does about each breaking one, is in the repo README .
Adding or promoting a type
- Check the package pages and the module interface pages for an existing type that fits.
- If only your module speaks it, define it in your module repo and stop here.
- Once it is stable and a second module needs it, open a pull request against
rammp-interfaces-ros2’sdevbranch with the definition and the version bump the table above calls for. - After it is tagged, RAMMP-docker bumps
INTERFACES_REFand cuts a new base image. Modules rebuild against the new tag, and the promoted type is removed from the module repo.