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

David Lu!! davidvlu at gmail.com
Wed Aug 18 18:48:36 UTC 2010


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
>



More information about the ros-users mailing list