Hello,

Look at the gazebo.cfg file in gazebo/player/ directory. All the
"gz_*" in you player config file should be "gazebo".

-nate

On Fri, Jul 11, 2008 at 2:02 AM, d'chu <[EMAIL PROTECTED]> wrote:
>
> I followed the instruction on <http://www.irobotics.org/gazebo08.f8.html>, my
> linux is Fedora 9 though.
>
> with "svn co
> https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/player/trunk
> player"
> for Player
>
> and with "svn co
> https://playerstage.svn.sourceforge.net/svnroot/playerstage/code/gazebo/trunk
> gazebo"
> for Gazebo
>
> I start with Gazebo and it runs smoothly (I installed on locally)
>
> [EMAIL PROTECTED] ~]$ gazebo local/share/gazebo/worlds/test.world
> Gazebo multi-robot simulator, version 0.8-pre2
>
> Part of the Player/Stage Project [http://playerstage.sourceforge.net].
> Copyright (C) 2003 Nate Koenig, Andrew Howard, and contributors.
> Released under the GNU General Public License.
>
> [server/GazeboConfig.cc:68]
>  Gazebo Path[/home/imager/local/share/gazebo]
> [server/GazeboConfig.cc:76]
>  Ogre Path[/usr/local/lib/OGRE]
> [server/Simulator.cc:151]
>  Creating GUI:
>        Type[fltk] Pos[0 0] Size[800 600]
> creating /tmp/gazebo-imager-0
> creating /tmp/gazebo-imager-0/simulation.default 112 704
> creating /tmp/gazebo-imager-0/position.position_iface_0 112 224
> creating /tmp/gazebo-imager-0/laser.laser_iface_0 112 12440
> creating /tmp/gazebo-imager-0/fiducial.fiducial_iface_0 112 20928
>
> after that I try with Player
>
> [EMAIL PROTECTED] ~]$ player local/share/player/config/gazebo.cfg
> Registering driver
> Player v.2.2.0
>
> * Part of the Player/Stage/Gazebo Project
> [http://playerstage.sourceforge.net].
> * Copyright (C) 2000 - 2006 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.
>
> trying to load /home/imager/local/share/player/config/libgazeboplugin...
> success
> invoking player_driver_init()...
>
>  * 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 Plugin driver creating 1 device
>    6665.31.0 is  a simulation interface.
> opening /tmp/gazebo-imager-0
> opening /tmp/gazebo-imager-0/simulation.default 112 704
> error   : Couldn't find driver "gz_sim"
> error   : failed to parse config file local/share/player/config/gazebo.cfg
> driver blocks
>
>
> my "gazebo.cfg" file is like this
>
> # Desc: Player sample configuration file for controlling Gazebo devices
> # Date: 18 Apr 2003
> # CVS: $Id: gazebo.cfg 2773 2005-04-15 18:08:24Z gerkey $
>
> driver
> (
>  name "gazebo"
>  provides ["simulation:0"]
>  plugin "libgazeboplugin"
>  server_id "default"
> )
>
> driver
> (
>  name "gz_sim"
>  provides ["simulation:0"]
>  alwayson 1
> )
>
> driver
> (
>  name "gz_position"
>  provides ["position:0"]
>  gz_id "robot1"
> )
>
> driver
> (
>  name "gz_laser"
>  provides ["laser:0"]
>  gz_id "laser1"
> )
>
> driver
> (
>  name "gz_sonar"
>  provides ["sonar:0"]
>  gz_id "sonar1"
> )
>
> driver
> (
>  name "gz_gripper"
>  provides ["gripper:0"]
>  gz_id "gripper1"
> )
>
> driver
> (
>  name "gz_camera"
>  provides ["camera:0"]
>  gz_id "camera1"
> )
>
> #driver
> #(
> #  name "gz_stereo"
> #  provides ["left_disparity::camera:1"]
> #  gz_id "stereo1"
> #)
>
>
> and that's it. Any comment will be helpful...
> and thanks for the reply
>
>
>
>
>
> Nate Koenig-4 wrote:
>>
>> Hello,
>>
>> You should really use the SVN version of gazebo.
>>
>> Also, what does you player config file look like?
>>
>> -nate
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/%22gz_sim%22-missing-tp17512772p18399610.html
> Sent from the playerstage-gazebo mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to