Quantcast

using the odometry

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

using the odometry

light86
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 ");
printf("%f",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.
Loading...