Question regarding printing to terminal e.g. variable values etc.

Lana Eliason <[email protected]>
Newsgroups gmane.science.robotics.playerstage
Message-ID <[email protected]>
Hi all,

I'm very new to the player/stage environment and am currently having a
few issues. I am using stage 3.2.2 in Fedora 12.

I'm trying to code some c++ for making one robot follow the other
which is doing some odd things, hence I am trying to track what is
going on. My initial thought is to get the code to print out the
values of variables it is using, however the standard printf command
e.g. printf("test"); ...which I have been recommended to use doesn't
output anything. It seems it just skips over this line entirely. Can
anybody please tell me why this might be and/or how else to output
values?

Also, is there any more newbie-friendly way of coding for
player/stage? Currently i'm just using emacs and compiling it in the
terminal - its not exactly as convenient to do as coding in say,
Visual Studio which i'm used to... The lack of any form of debugging
is proving a bit of a pain.

Any advice would really be very much appreciated.

Thank you :)

Lana

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.