So I have managed to ensure libgazeboplugin is built now. But I still have problems finding it. Iv stopped using SVN versions of player and am now using the release version 3.0.0. It seems to work fine with stage. Gazebo is still that latest SVN version.
First I run gazebo with the pioneer2dx.world file. This loads fine. I then try to start player and get the following player /usr/local/share/player/config/gazebo.cfg Registering driver Player v.3.0.0-rc3 * 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. error : Failed to load plugin libgazeboplugin. error : libtool reports error: file not found error : plugin search path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/share/stage/worlds:/home/ben:/usr/local/share/player/config:/usr/local/lib/ error : failed to load plugin: libgazeboplugin error : failed to parse config file /usr/local/share/player/config/gazebo.cfg driver blocks the pioneer2dx.world looks like so... <?xml version="1.0"?> <gazebo:world xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:gazebo="http://playerstage.sourceforge.net/gazebo/xmlschema/#gz" xmlns:model="http://playerstage.sourceforge.net/gazebo/xmlschema/#model" xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor" xmlns:window="http://playerstage.sourceforge.net/gazebo/xmlschema/#window" xmlns:param="http://playerstage.sourceforge.net/gazebo/xmlschema/#param" xmlns:body="http://playerstage.sourceforge.net/gazebo/xmlschema/#body" xmlns:geom="http://playerstage.sourceforge.net/gazebo/xmlschema/#geom" xmlns:joint="http://playerstage.sourceforge.net/gazebo/xmlschema/#joint" xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface" xmlns:ui="http://playerstage.sourceforge.net/gazebo/xmlschema/#ui" xmlns:rendering="http://playerstage.sourceforge.net/gazebo/xmlschema/#rendering" xmlns:controller="http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" xmlns:physics="http://playerstage.sourceforge.net/gazebo/xmlschema/#physics" > <verbosity>5</verbosity> <physics:ode> <stepTime>0.03</stepTime> <gravity>0 0 -9.8</gravity> <cfm>10e-5</cfm> <erp>0.3</erp> <!-- updateRate: <0 == throttle simTime to match realTime. 0 == No throttling >0 == Frequency at which to throttle the sim --> <updateRate>-1</updateRate> </physics:ode> <rendering:gui> <type>fltk</type> <size>800 600</size> <pos>0 0</pos> <xyz>0 0 0</xyz> <rpy>0 0 0</rpy> </rendering:gui> <rendering:ogre> <ambient>0.2 0.2 0.2 0.2</ambient> <sky> <material>Gazebo/CloudySky</material> </sky> <fog> <color>1.0 1.0 1.0</color> <linearStart>10</linearStart> <linearEnd>100</linearEnd> </fog> <grid>false</grid> <shadowTechnique>stencilModulative</shadowTechnique> </rendering:ogre> <!-- Ground Plane --> <model:physical name="plane1_model"> <xyz>0 0 0</xyz> <rpy>0 0 0</rpy> <static>true</static> <body:plane name="plane1_body"> <geom:plane name="plane1_geom"> <normal>0 0 1</normal> <size>2000 2000</size> <segments>10 10</segments> <uvTile>2000 2000</uvTile> <material>Gazebo/GrayGrid</material> </geom:plane> </body:plane> </model:physical> <model:physical name="sphere1_model"> <xyz>2.15 -1.68 .3</xyz> <rpy>0.0 0.0 0.0</rpy> <static>false</static> <laserFiducialId>1</laserFiducialId> <laserRetro>0.5</laserRetro> <body:sphere name="sphere1_body"> <geom:sphere name="sphere1_geom"> <size>0.1</size> <visual> <scale>0.1 0.1 0.1</scale> <mesh>unit_sphere</mesh> <material>Gazebo/Rocky</material> </visual> </geom:sphere> </body:sphere> </model:physical> <!-- Include the complete model described in the .model file This assumes the root node is a <model:...> --> <!-- <include embedded="false"> <xi:include href="pioneer2dx.model" /> </include> --> <model:physical name="pioneer2dx_model1"> <xyz>0 0 .145</xyz> <rpy>0.0 0.0 90.0</rpy> <collide>all</collide> <model:physical name="laser"> <xyz>0.15 0 0.18</xyz> <attach> <parentBody>chassis_body</parentBody> <myBody>laser_body</myBody> </attach> <include embedded="true"> <xi:include href="models/sicklms200.model" /> </include> </model:physical> <include embedded="true"> <xi:include href="models/pioneer2dx.model" /> </include> </model:physical> <model:physical name="pioneer2dx_model2"> <xyz>0 -1 .145</xyz> <rpy>0.0 0.0 -90.0</rpy> <collide>all</collide> <model:physical name="laser"> <xyz>0.15 0 0.18</xyz> <attach> <parentBody>chassis_body</parentBody> <myBody>laser_body</myBody> </attach> <include embedded="true"> <xi:include href="models/sicklms200.model" /> </include> </model:physical> <include embedded="true"> <xi:include href="models/pioneer2dx.model" /> </include> </model:physical> <model:physical name="box1_model"> <xyz>1 1.5 0.5</xyz> <canonicalBody>box1_body</canonicalBody> <static>true</static> <laserFiducialId>2</laserFiducialId> <laserRetro>0.5</laserRetro> <body:box name="box1_body"> <geom:box name="box1_geom"> <size>1 1 1</size> <mass>0.1</mass> <visual> <size>1 1 1</size> <mesh>unit_box</mesh> <material>Gazebo/SmileyHappy</material> </visual> </geom:box> </body:box> </model:physical> <!-- Directional light --> <model:renderable name="directional_white"> <enableGravity>false</enableGravity> <light> <type>directional</type> <direction>0 0 -1</direction> <diffuseColor>0.4 0.4 0.4</diffuseColor> <specularColor>0.1 0.1 0.1</specularColor> <range>40</range> <!-- Constant(0-1) Linear(0-1) Quadratic --> <attenuation>0 0 0</attenuation> </light> </model:renderable> <!-- White Point light --> <model:renderable name="point_white"> <xyz>0 3 5</xyz> <enableGravity>false</enableGravity> <light> <type>point</type> <diffuseColor>0.8 0.8 0.8</diffuseColor> <specularColor>0.1 0.1 0.1</specularColor> <range>20</range> <!-- Constant(0-1) Linear(0-1) Quadratic --> <attenuation>0.3 0.01 0</attenuation> </light> </model:renderable> </gazebo:world> and the gazebo.cfg # Desc: Player sample configuration file for controlling Gazebo devices # Date: 18 Apr 2003 # CVS: $Id: gazebo.cfg,v 1.4.2.1 2006/12/16 22:43:23 natepak Exp $ driver ( name "gazebo" provides ["simulation:0"] plugin "libgazeboplugin" server_id "default" ) driver ( name "gazebo" provides ["position2d:0"] gz_id "position_iface_0" ) driver ( name "gazebo" provides ["laser:0"] gz_id "laser_iface_0" ) driver ( name "vfh" provides ["position2d:1"] requires ["position2d:0" "laser:0"] cell_size 0.1 window_diameter 61 sector_angle 1 safety_dist_0ms 0.2 safety_dist_1ms 0.4 max_speed 0.3 max_turnrate_0ms 75 max_turnrate_1ms 50 weight_desired_dir 5.0 weight_current_dir 3.0 ) driver ( name "gazebo" provides ["fiducial:0"] gz_id "fiducial_iface_0" ) #driver #( # name "gazebo" # provides ["camera:0"] # gz_id "camera_iface_1" # alwayson 1 # save 0 #) #driver #( # name "gazebo" # provides ["power:0"] # gz_id "robot1" #) # # #driver #( # name "gazebo" # provides ["sonar:0"] # gz_id "robot1" #) # #driver #( # name "gazebo" # provides ["ptz:0"] # gz_id "camera1" #) # # #driver #( # name "gazebo" # provides ["gripper:0"] # gz_id "gripper1" #) # #driver #( # name "gazebo" # provides ["truth:0"] # gz_id "truth1" #) # #driver #( # name "gazebo" # provides ["left_disparity::camera:1"] # gz_id "stereo1" #) Any obvious mistakes? BenW2 wrote: > > Hi, > > Ive been trying to get gazebo and player working together. I have gazebo > installed and able to open some of the example files, but cannot get > player to connect with gazebo due to it not finding libgazeboplugin. On > investigation it seems that gazebo does not generate this file when it > compiles. I select the option in the config to do so, but nothing happens. > Could anyone tell me how I can ensure that I am creating libgazeboplugin > please? or perhaps a reason why it might not be made. > > Thanks > > :) > -- View this message in context: http://www.nabble.com/libgazeboplugin-tp25149145p25330849.html Sent from the playerstage-gazebo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Playerstage-gazebo mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
