Skip to content

Software

rqt_lifecycle_manager

From github.com/ajtudela/rqt_lifecycle_manager (opens in a new tab)

  • Middleware
  • Tool
  • Apache-2.0

An rqt plugin for inspecting and controlling ROS 2 lifecycle nodes from a graphical interface.

Facts

GitHub stars
8read on 22 Nov 2026
Last update
7 Sept 2026Newest commit on rolling
Maintenance
Activea commit in the last 90 days
Difficulty
Beginner

Checked on GitHub on 22 Nov 2026.

Licenses

Code
Apache-2.0 (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit 4261587 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Auto-discovers lifecycle nodes on the ROS 2 graph and lists them.
  • Shows the current state of the selected node, color-coded.
  • Generates buttons only for the transitions valid from the current state.
  • Issues all service calls asynchronously so the window stays responsive.
  • Updates the state label automatically, even when a node is changed by another tool.
  • Runs inside the generic rqt container or as a standalone window.

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

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
Apache-2.0. 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 7 Sept 2026.

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 4261587

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 @ajtudela, at commit 4261587, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

rqt_lifecycle_manager

(opens in a new tab) (opens in a new tab)

Overview

rqt_lifecycle_manager is an rqt (opens in a new tab) plugin to inspect and control ROS 2 lifecycle nodes from a graphical interface. It lets you:

  • List all lifecycle nodes currently present on the graph (auto-discovered).
  • See the current state of the selected node, color-coded.
  • Change to any available state through dynamically generated buttons (only valid transitions for the current state are shown).

The interface never blocks: every ROS 2 service call is issued asynchronously and its result is delivered back to the Qt GUI thread through signals, so the window stays responsive even if a node is slow to transition or does not answer at all.

Lifecycle Manager interface

Keywords: ROS2, rqt, lifecycle, lifecycle_msgs, state machine, GUI

**Author: Alberto Tudela **

The package has been tested under ROS2 (opens in a new tab) Rolling on Ubuntu (opens in a new tab) 24.04. This is research code, expect that it changes often and any fitness for a particular purpose is disclaimed.

How it works

ROS 2 lifecycle nodes expose their managed state machine (opens in a new tab) through three services: ~/get_state, ~/get_available_transitions and ~/change_state. This plugin:

  1. Discovers lifecycle nodes with a fast, local graph query (get_service_names_and_types), filtering for nodes that offer a ~/get_state service of type lifecycle_msgs/srv/GetState.
  2. Queries the selected node's state and available transitions.
  3. Requests a transition when you press a button.

All service calls use call_async. The plugin reuses the ROS 2 node that rqt_gui_py already spins in a background executor thread, so responses are processed off the GUI thread and marshaled back with Qt signals. The result is a non-blocking UI by design.

Installation
Building from Source
Dependencies
Building

To build from source, clone the latest version from this repository into your colcon workspace and compile the package using:

cd colcon_workspace/src
git clone https://github.com/ajtudela/rqt_lifecycle_manager.git
cd ../
rosdep install -i --from-path src --rosdistro rolling -y
colcon build --symlink-install
Usage

Source your workspace, then launch it in one of two ways.

Inside the generic rqt container (Plugins → Lifecycle → Lifecycle Manager):

rqt

Or as a standalone window:

ros2 run rqt_lifecycle_manager rqt_lifecycle_manager
Trying it out

Bring up any lifecycle node, for example the demo talker:

ros2 run lifecycle_py lifecycle_talker   # or any of your lifecycle nodes

It will appear in the node list. Select it, and use the transition buttons (configure, activate, deactivate, cleanup, shutdown, …) to move it through its states. The state label updates automatically, even when the node is transitioned from another tool.

Nodes

This package does not provide a runtime node; it provides an rqt plugin. The plugin acts as a client of the standard lifecycle services of every managed node:

Services called (per managed node)
  • <node>/get_state (lifecycle_msgs/srv/GetState) Reads the current lifecycle state.

  • <node>/get_available_transitions (lifecycle_msgs/srv/GetAvailableTransitions) Lists the transitions valid from the current state.

  • <node>/change_state (lifecycle_msgs/srv/ChangeState) Triggers a lifecycle transition.

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