libgazebo_player failed to initialise.
I just installed Gazebo 4.0 but when I tried to start player configuration file I get this output:
$ player position.cfg
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
I'm following the instructions from the tutorials site of gazebo -> Connect to Player.
My Player vesion is 3.0.2 and this is the content of my position.cfg file:
driver
(
name "gazebo"
provides ["simulation:0"]
plugin "libgazebo_player"
# 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"
)
Asked by Serjfrog on 2014-09-13 13:30:30 UTC
Answers
This issue was solved in https://bitbucket.org/osrf/gazebo/pull-request/1276/fix-player_driver_init-visibility/diff
The Player interface in gazebo is out of date though, you'll also need https://bitbucket.org/osrf/gazebo/pull-request/1324/update-to-player-interfaces/diff to fix it.
Asked by rmattes on 2014-12-04 16:34:13 UTC
Comments