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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: David Lu!!
Date:  
To: ros-users
Subject: Re: [ros-users] How to debug the source code in C?
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 <> 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
>
> https://lists.sourceforge.net/lists/listinfo/ros-users
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>