Hi Hemant,

Hemant Agrawal wrote:
> Hello list!!
> 
> I am using player-gazebo to simulate the working of a pioneer 2at
> model. In the class Position2dProxy the functions GetXPos() and
> GetYPos() return very different values as the coordinates seen from
> the camera or world.
> A sample output of GetXPos() and GetYPos() is as follows (according to
> the world robot is standing at 1,1 ):
>  0.0929119   -0.246348
> Am I interpreting the values correctly or i need to apply any
> transform to arrive at regular values??

  As far as I remember Position2D will return values with respect to the 
starting position of the robot (so if the robot is starting at 1,1 in 
the world co-ordinate system then 0,0 from position will be equivelant 
to 1,1 in the world).

  I think what you really want to be using is either the truth interface 
(which I think might now be deprecated) or the simulation interface to 
find the real position of the robot in the world co-ordinate system.

Cheers,
  Mike.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to