Hi Tobias,

While the documentation states that the TruthProxy is depricated, it  
is still there and I use it daily. If you are using version 0.7 I  
recommend using it as well. The simulation interface is not  
completely supported in 0.7. Take a look at the source file (base/ 
player/SimulationInterface.cc), you'll see what I mean.

However, the cvs version includes the functionality you require. So  
you can either install the cvs version or use the truth interface.

Nate

On Jul 30, 2007, at 8:54 AM, Tobias Kaupp wrote:

> Hi all,
>
> I would like to get the true position of the robot using a Player  
> client.
> However, the truth interface is deprecated and replaced by the  
> simulation
> interface (ie there is no TruthProxy).
>
> I've tried to access the simulation interface using the  
> SimulationProxy
> without luck. My player cfg file looks like this:
>
> driver
> (
>  name "gazebo"
>  provides ["simulation:0"]
>  plugin "libgazeboplugin"
>  server_id "default"
> )
>
> driver
> (
>  name "gazebo"
>  provides "position2d:0"
>  gz_id "robot1"
> )
>
> I try to do something like this in my code: simProxy->GetPose2d 
> ("robot1", x,
> y, theta) which times out waiting for a player server reply.
>
> Any clues how to do this?
>
> Cheers, Tobias
>
>
> -- 
> --------------------------------------------------------------
> Tobias Kaupp
>
> ARC Centre of Excellence for Autonomous Systems
> (Australian Centre for Field Robotics)
> The Rose St Building, J04
> The University of Sydney, NSW 2006
> Australia
>
> Phone:  +61 2 9351 7154
> Fax:    +61 2 9351 7474
> Email:  [EMAIL PROTECTED]
> Web:    http://www.cas.edu.au/content.php/232.html?personid=45
> --------------------------------------------------------------
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to