June 2018
Intermediate to advanced
484 pages
11h 36m
English
First, we are going to create each example program in the ROS package in our workspace individually. Alternatively, we could copy the chapter4_tutorials package from GitHub at https://github.com/kbipin/Robot-Operating-System-Cookbook.
We can debug a ROS C/C++ node with the gdb debugger by using the location of the node executable and running the node executable inside gdb with the following command:
$ cd devel/lib/chapter4_tutorials $ gdb program1