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 imagetfoote ( 2016-10-31 16:01:47 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 566 times

Last updated: Apr 04 '14