Player version 2.0.2
Gazebo version 0.6.0 (0.6.1?)

I'm interested in using Gazebo to simulate GPS data and provide it
through player.  From the previous thread related to this subject (GPS
device for player) I got the Gazebo GpsInterface.cc/hh.  These I
installed in gazebo/player, and now I can see the GPS coordinates in
Gazebo.
In order to get gazebo to add the new interface, I added GpsInterface
to what looked like the obvious places in the gazebo-0.6.0/player
Makefile (and in the .deps subdirectory).

My problem is that when i configure player to provide the gps data
from gazebo, I get the error:

===========
trying to load /projects/ugc/src/trunk/share/player/config/libgazeboplugin...
trying to load /projects/ugc/src/trunk/lib/libgazeboplugin...
success invoking player_driver_init()...

 ** Gazebo plugin v0.6.0 **
 * Part of the Player/Stage Project [http://playerstage.sourceforge.net]
 * Copyright 2000-2006 Richard Vaughan, Andrew Howard, Brian Gerkey,
Nathan Koenig
 * and contributors. Released under the GNU General Public License v2.
success
  Gazebo driver creating 1 device
   6665.31.0 is gz_client.c:122 opening /tmp/gazebo-wooden-0
gz_iface.c:214 opening /tmp/gazebo-wooden-0/sim.default 060 180
  Gazebo driver creating 1 device
   6665.4.0 is   Gazebo driver creating 1 device
   6665.13.0 is error: Gazebo driver doesn't support interface type 13
error   : Initialization failed for driver "gazebo"
error   : failed to parse config file share/player/config/ugc.cfg
===========

So, player things that gps (device 13) is unknown.  My player config
looks like this:

===========
driver
(
  name "gazebo"
  provides ["simulation:0"]
  plugin "libgazeboplugin"
  server_id "default"
)

driver
(
  name "gazebo"
  provides ["position2d:0"]
  gz_id "car1"
)

driver
(
  name "gazebo"
  provides ["gps:0"]
  gz_id "gps1"
)
===========

After I saw that gazebo was displaying the GPS info correctly, I
reinstalled player 2.0.2 from a fresh build, but got the same error.
I can't find anywhere in the player source to specify the devices that
gazebo should know about.

Any ideas on how I can get player to provde the GPS data?

-dave wooden

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to