Reed Hedges scribed:
> I have a question about stage: clicking a robot in the XS window and
> moving it to a new location should change the position in the player, so
> my client will get new values in PositionProxy::xpos and
> PositionProxy::ypos when I do PlayerCleint::Read(), right? My client
> just gets zeroes.
no, you won't get new position data, because we try to make the simulator
behave like the real robots. when you pick up a robot and put it down
somewhere else, the robot generally can't sense the move, and it's odometry
will be unchanged. if i remember correctly, you can tell that you've been
picked up because the 'stall' bit in the Position data is set (simulating that
you're stuck somehow). the odometry info should not change; i don't know why
you get zeroes, unless that's what you started with before picking up the
robot (simulated odometry is always intialized to (0,0,0), like many
if you want true global position information, you should attach a "gpsdevice"
to your robot; the pose returned by gps should always be correct. by the way,
you can attach a gpsdevice to anything, such as boxes and pucks; this is a
convenient way to to data logging.
> Also, is stage 1.2 going to appear anytime soon? Or will the CVS version
hard to tell on version 1.2. we're planning for this month (we originally
planned this week sometime), but we've been pretty busy with other things
lately. as for CVS, i think it does work and you can give it a try, but with
several of us hacking concurrently, it's always in flux.
> Thanks for the help, P/S looks like it's going to work well for my
glad to hear it. good luck.