ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Debug with gdb a ROS plugins for Gazebo

asked 2014-04-03 12:28:42 -0500

Ste gravatar image

updated 2016-10-24 09:10:49 -0500

ngrennan gravatar image

Hi, i have ROS Hydro, Gazebo 1.9 on Ubuntu 13.04. I would debut ROS plugins wrote by me for Gazebo with gdb. I would insert breakpoints and step through a Gazebo plugin. How can i do this ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-04-04 00:37:15 -0500

demmeln gravatar image

There is a debug script in the gazebo_ros package which you can use in place of gzserevre to start gazebo with gdb. Now how you use gdb is outside the scope of this forum. I suggest googling. There is a ton of documentation on using gdb out there.

edit flag offensive delete link more

Comments

Several of the standard launch files support launching with the argument debug:=true to launch gazebo in gdb.

tfoote gravatar image tfoote  ( 2016-10-31 16:01:47 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-04-03 12:28:42 -0500

Seen: 1,067 times

Last updated: Apr 04 '14