Software
backward_ros
By PAL Robotics S.L., from github.com/pal-robotics/backward_ros (opens in a new tab)
- Middleware
- Library
- MIT
A ROS 2 wrapper that adds the backward-cpp library to packages so crashing programs print readable stack traces.
Facts
- GitHub stars
- 244read on 27 Nov 2026
- Last update
- 8 Oct 2026Newest commit on foxy-devel
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Beginner
Checked on GitHub on 27 Nov 2026.
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
At a glance
- What it is
- 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.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- MIT. 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 8 Oct 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
- Repository on GitHubgithub.com/pal-robotics/backward_ros (opens in a new tab)
- The version Robotheca read346ed87 (opens in a new tab)
- Latest releaseNone published on GitHub
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 PAL Robotics S.L., at commit 346ed87, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
Backward ROS
For info about the backward-cpp project check https://github.com/bombela/backward-cpp (opens in a new tab)
This wrapper should make it very easy to integrate backward_cpp into your ROS2 packages.
Integration of backward_ros
Add backward_ros to your package.xml <depend>backward_ros</depend>
Add backward_ros to your CMakeLists.txt find_package(backward_ros REQUIRED)
You're done, it should automatically add a library to your executables, when they crash, they should print a nice stacktrace like this:

To get line numbers and more details, you need to build with debug information enabled (CMAKE_BUILD_TYPE = Debug or RelWithDebInfo)
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.