Gazebo | Ignition | Community
Ask Your Question
1

Libgazebo_player - Can't connect Player with Gazebo

asked 2014-09-13 23:06:31 -0600

lidice gravatar image

updated 2014-09-18 00:08:20 -0600

Hi, I installed Gazebo 4.0 a couple of days ago and I've been trying to connect it with player. I have player/stage working already on my computer, so I don't have any idea what does this error message means (also "gzserver" doesn't respond). I will really appreciate it if someone could give me some guidance. Thank you in advance :)


Registering driver
Player v.3.0.2

* Part of the Player/Stage/Gazebo Project [http://playerstage.sourceforge.net].
* Copyright (C) 2000 - 2009 Brian Gerkey, Richard Vaughan, Andrew Howard,
* Nate Koenig, and contributors. Released under the GNU General Public License.
* Player comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
* are welcome to redistribute it under certain conditions; see COPYING
* for details.

invoking player_driver_init()...
error   : failed to resolve player_driver_init: /usr/local/lib/libgazebo_player.so: undefined symbol: player_driver_init

error   : failed to initialise plugin: libgazebo_player
error   : failed to parse config file position.cfg driver blocks

.world

 <?xml version="1.0"?>
<gazebo version="1.0">
  <world name="default">
    <!-- Ground -->
    <include>
      <uri>model://ground_plane</uri>
    </include>

    <!-- Pioneer2dx model -->
    <include>
      <uri>model://pioneer2dx</uri>
    </include>

    <!-- A global light source -->
    <include>
      <uri>model://sun</uri>
    </include>
  </world>
</gazebo>

.cfg

driver
(
  name "gazebo"
  provides ["simulation:0"]
  plugin "libgazebo_player"

  #server_id "default"
  # The name of a runnign Gazebo world, specified in a .world file
  world_name "default"

)

driver
(
  name "gazebo"
  provides ["position2d:0"]

  # This name must match the name of a model in the "default" world
  model_name "pioneer2dx"

)

I've just installed the latest svn version of player (3.1) and I'm still having the same error. I'm thinking maybe both aren't compatible somehow. Does anybody have player/gazebo-4.0 actually working?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-12-04 15:32:36 -0600

rmattes gravatar image

See https://bitbucket.org/osrf/gazebo/pull-request/1276/fix-playerdriverinit-visibility/diff for the fix to this issue.

However, the Player interfaces in Gazebo are a little outdated. They require https://bitbucket.org/osrf/gazebo/pull-request/1324/update-to-player-interfaces/diff to be applied before they'll work.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-09-13 23:06:31 -0600

Seen: 419 times

Last updated: Dec 04 '14