[ros-users] How to debug the source code in C?

Dan Lazewatsky lazewatskyd at cse.wustl.edu
Wed Aug 18 18:55:36 UTC 2010


There's also a wiki page about using valgrind and gdb with roslaunch:
http://www.ros.org/wiki/roslaunch/Tutorials/Roslaunch%20Nodes%20in%20Valgrind%20or%20GDB

-Dan

On Wed, Aug 18, 2010 at 1:48 PM, David Lu!! <davidvlu at gmail.com> wrote:

> Have you tried using the Joy package? http://www.ros.org/wiki/joy It
> works automatically with a lot of different joysticks.
>
> Also, you can debug the code using gdb (from the Terminal) like any
> other C/C++ program.
>
> -David
>
> On Wed, Aug 18, 2010 at 9:02 AM, chris_li <gang.li at okstate.edu> wrote:
> >
> > Hi there,
> >
> > I am new to ROS and I am trying to create a package to control a
> joystick.
> > I have gone through the tutorial in http://www.ros.org/wiki.  I realize
> I
> > have to mimic some of the example C code. I am writing the code in gedit.
> Is
> > it the right way to do it? If it is the right the way, I do not know how
> to
> > debug the C code in gedit? Could anyone advise please~
> >
> > Sincerely,
> > Chris
> > --
> > View this message in context:
> http://ros-users.122217.n3.nabble.com/How-to-debug-the-source-code-in-C-tp1208900p1208900.html
> > Sent from the ROS-Users mailing list archive at Nabble.com.
> >
> >
> ------------------------------------------------------------------------------
> > This SF.net email is sponsored by
> >
> > Make an app they can't live without
> > Enter the BlackBerry Developer Challenge
> > http://p.sf.net/sfu/RIM-dev2dev
> > _______________________________________________
> > ros-users mailing list
> > ros-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ros-users
> > _______________________________________________
> > ros-users mailing list
> > ros-users at code.ros.org
> > https://code.ros.org/mailman/listinfo/ros-users
> >
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100818/e2478ab4/attachment-0003.html>


More information about the ros-users mailing list