Look up online how to use printf(). 



Sent from a mobile gadget


On Mon, Apr 29, 2013 at 12:42 AM, light86 <lem.adel@gmail.com> wrote:

hi every body i'm trying to get the position of my robot using the odometry
this my code
x=p2dProxy.GetXPos () ;
printf("position x ");

it show my zero
this my configue world
define bigbob position
(
# actual size
size [1.25 1 1]

# Bigbob's centre of rotation is offset from its centre of area
# origin [0.125 0 0 0]

# the shape of Bigbob

block
(

)
# differential steering model
drive "diff"
localization "odom"
localization_origin [-5 -6 0 45]

Please can you help me
Thank you.





--
View this message in context: http://player-stage-gazebo.10965.n7.nabble.com/get-a-position-of-a-robot-tp18756.html
Sent from the playerstage-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users