Re: [ros-users] How to debug the ros distributed program

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Wim Meeussen
Dato:  
Til: ros-users
CC: ros-users
Emne: Re: [ros-users] How to debug the ros distributed program
> But I need to debug the program of Checking collisions for a given robot
> state, which is using python and c++ together and is a distributed program.
> I used gdb to debug......but failed.
>
> Who can give me some advices? Thank you.


To debug an individual binary gdb can indeed be useful. But I assume
you want introspection in the interaction between your different ROS
nodes. ROS has many tools that will help you with debugging (e.g.
rostopic, rviz, ...). The wiki <http://www.ros.org/wiki> has lots of
useful documentation. As a starting point, I'd recommend going through
the tutorials <http://www.ros.org/wiki/ROS/Tutorials>.

Good luck!

Wim

--
--
Wim Meeussen
Willow Garage Inc.
<http://www.willowgarage.com)