From: Richard V. <va...@cs...> - 2008-04-11 16:09:05
|
On 11-Apr-08, at 8:25 AM, qpjsu wrote: > > Thank you for your help! > I set LD_LIBRARY_PATH to /usr/local/bin, where the stage libs locate. > They're probably in /usr/local/lib, not bin Richard/ > Then I run: > [qpang@c-did10 ~]$ echo $LD_LIBRARY_PATH > /usr/local/lib: > [qpang@c-did10 ~]$ cd /usr/local/share/stage/worlds > [qpang@c-did10 worlds]$ player -d9 test.cfg > > and get the following: > trying to load /usr/local/share/stage/worlds/./libstageplugin... > failed (/usr/local/share/stage/worlds/./libstageplugin.so: cannot open > shared object file: No such file or directory) > > trying to load /usr/local/lib/libstageplugin... > success > invoking player_driver_init()... > Stage driver plugin init > > ** Stage plugin v2.0.4 ** > * Part of the Player/Stage Project [http:// > playerstage.sourceforge.net] > * Copyright 2000-2006 Richard Vaughan, Andrew Howard, Brian Gerkey > * and contributors. Released under the GNU General Public License v2. > success > Stage driver creating 1 device > 6665.31.0 is a Stage world [Loading ./test.world][Include > pioneer.inc][Include map.inc] > > Stage driver creating 3 devices > test.cfg:19 error: unknown interface: [position] > error : Initialization failed for driver "stage" > error : failed to parse config file test.cfg > > > > > Toby Collett-3 wrote: >> >> you may need to set LD_LIBRARY_PATH to the location the stage libs >> ended >> up >> in, or run ldconfig >> >> player -d 9 <config file> will give more detail about the plugin >> loading >> from memory. >> >> Toby >> >> On 11/04/2008, qpjsu <qin...@gm...> wrote: >>> >>> >>> I installed player and stage and according to the manual, I tried >>> $ player /usr/local/share/stage/worlds/simple.cfg >>> and got the map and red robot showing up fine. >>> >>> But when I tried other .cfg files, some of them doesn't work, >>> including >>> 'test.cfg'. >>> >>> Bellow is the error I got, it saids unknown interface: [position] >>> >>> Did I miss anything during the installation? Please help. >>> >>> $ player /usr/local/share/stage/worlds/test.cfg >>> Player v.2.0.5 >>> >>> * 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 /usr/local/share/stage/worlds/libstageplugin... >>> trying to load /usr/local/lib/libstageplugin... >>> success >>> invoking player_driver_init()... >>> Stage driver plugin init >>> >>> ** Stage plugin v2.0.4 ** >>> * Part of the Player/Stage Project [http://playerstage.sourceforge.net >>> ] >>> * Copyright 2000-2006 Richard Vaughan, Andrew Howard, Brian Gerkey >>> * and contributors. Released under the GNU General Public License >>> v2. >>> success >>> Stage driver creating 1 device >>> 6665.31.0 is a Stage world [Loading >>> /usr/local/share/stage/worlds/test.world][Include pioneer.inc] >>> [Include >>> map.inc] >>> >>> Stage driver creating 3 devices >>> /usr/local/share/stage/worlds/test.cfg:19 error: unknown interface: >>> [position] >>> error : Initialization failed for driver "stage" >>> error : failed to parse config file >>> /usr/local/share/stage/worlds/test.cfg >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/stage-example-.cfg-error---unknown-interface%3A--position--tp16619820p16619820.html >>> Sent from the playerstage-users mailing list archive at Nabble.com. >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >>> Don't miss this year's exciting event. There's still time to save >>> $100. >>> Use priority code J8TL2D2. >>> >>> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >>> _______________________________________________ >>> Playerstage-users mailing list >>> Pla...@li... >>> https://lists.sourceforge.net/lists/listinfo/playerstage-users >>> >> >> >> >> -- >> This email is intended for the addressee only and may contain >> privileged >> and/or confidential information >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference >> Don't miss this year's exciting event. There's still time to save >> $100. >> Use priority code J8TL2D2. >> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone >> _______________________________________________ >> Playerstage-users mailing list >> Pla...@li... >> https://lists.sourceforge.net/lists/listinfo/playerstage-users >> >> > > -- > View this message in context: http://www.nabble.com/stage-example-.cfg-error---unknown-interface%3A--position--tp16619820p16627874.html > Sent from the playerstage-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save > $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users |