Skip to Content
InterfacesOverview

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.

Reporammp-org/rammp-interfaces-ros2 
Current tagv2.0.0
Built intorammp-base 2.0.0-jp6, and therefore rammp-cuda, at the tag named by INTERFACES_REF in the RAMMP-docker Makefile
Depends onbuiltin_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.

SharedModule-specific
Lives inrammp-interfaces-ros2Your module repo
Built intoThe base imagesYour module image, in /module_ws
Who maintains itThe interfaces repo, by pull requestYou
Versioned byThe repo tag, pinned in the base imageYour module’s release
Becomes shared whenIt is stable and a second module depends on it

The packages

One package per subsystem, plus one for what no subsystem owns.

PackageControlsPage
rammp_common_interfacesThe whole robot: the emergency stop, and taking or releasing control of a resourceCommon
rammp_peripheral_interfacesAdd-on devices broadcasting their input for any consumer: the joystick’s stickBase
rammp_arm_interfacesThe arm: trajectories, planned moves, streamed setpoints, the gripperArm
rammp_base_interfacesThe wheelchair base: the MIB’s status, drive state requests, velocity and pose setpointsBase
rammp_orchestrator_interfacesThe contract between the Orchestrator and any capability engine: registration, object selection, action execution, World StateRepo README 
rammp_perception_interfacesWhat perception sees: detected objects with masks, one-shot detection, tracking sessionsRepo README 
rammp_ui_bridge_interfacesHow an active engine asks the UI bridge for user input, without the OrchestratorRepo 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 EStop
find_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.0

Versioning

Semantic versioning. Which bump a change earns depends on where the field goes, not only that one was added.

ChangeBump
New message, service or actionminor
New field appended at the end, with a default valueminor
Comments, docs, whitespacepatch
A field added anywhere but the end, or appended without a defaultmajor
A field removed, renamed or retypedmajor

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

TagDateWhat changed
v2.0.02026-11-03Major. 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.02026-10-02New packages rammp_base_interfaces and rammp_peripheral_interfaces; speed_scale and orientation_hold on the arm’s actions.
v1.0.02026-09-10First 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

  1. Check the package pages and the module interface pages for an existing type that fits.
  2. If only your module speaks it, define it in your module repo and stop here.
  3. Once it is stable and a second module needs it, open a pull request against rammp-interfaces-ros2’s dev branch with the definition and the version bump the table above calls for.
  4. After it is tagged, RAMMP-docker bumps INTERFACES_REF and cuts a new base image. Modules rebuild against the new tag, and the promoted type is removed from the module repo.

Edit this page on GitHub

Last updated on