Skip to content

backward_ros

  • Software
  • Middleware
  • Library

A ROS 2 wrapper that adds the backward-cpp library to packages so crashing programs print readable stack traces.

Made by PAL Robotics S.L..

Source on GitHub: github.com/pal-robotics/backward_ros (opens in a new tab). Facts read at commit 346ed87 (opens in a new tab).

Licenses

Code
MIT (opens in a new tab)

Read by Robotheca from LICENSE.txt (opens in a new tab) (MIT) at commit 346ed87 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

What it does

  • Integrates backward-cpp into ROS 2 packages with minimal setup.
  • Added by declaring a dependency in package.xml and finding the package in CMakeLists.txt.
  • Once integrated, executables automatically print a stack trace when they crash.
  • Line numbers and more detail appear only when built with debug information enabled.
  • Debug information is enabled with CMAKE_BUILD_TYPE set to Debug or RelWithDebInfo.

Written by Robotheca from the project's README (opens in a new tab) at commit 346ed87.

Getting started

Difficulty
Beginner

Maintenance

Status
Active: a commit in the last 90 days
Newest commit
8 Oct 2026 on foxy-devel
Latest release
None published on GitHub

Checked on GitHub on 16 Oct 2026.

Robots on Robotheca that use it

No robot on Robotheca is linked to it yet. Links come from a robot's robot.yaml, from its dependency files read as text, or from Robotheca's editors.

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