Skip to Content
Robot Operating System Cookbook
book

Robot Operating System Cookbook

by Kumar Bipin
June 2018
Intermediate to advanced
484 pages
11h 36m
English
Packt Publishing
Content preview from Robot Operating System Cookbook

Debugging and profiling ROS nodes

ROS nodes can be debugged in a similar way to conventional programs since they run as a process with the associated pid in the Linux runtime environment. Therefore, we can debug them using standard tools, such as gdb, check for memory leaks with memcheck, and profile for performance using valgrind or both.

In the following sections, we will learn how to configure these tools in the ROS framework. Next, we will look into how to add logging messages to the source code of programs in order to make them observable so that we can diagnose basic problems in runtime without the need to debug the executable binaries. Later, we will discuss ROS introspection tools, which help in easily detecting broken connections ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mobile Intelligent Autonomous Systems

Mobile Intelligent Autonomous Systems

Jitendra R. Raol, Ajith K. Gopal
Wheeled Mobile Robotics

Wheeled Mobile Robotics

Gregor Klancar, Andrej Zdesar, Saso Blazic, Igor Skrjanc

Publisher Resources

ISBN: 9781783987443Supplemental Content