From: Nate K. <nk...@us...> - 2008-01-16 19:03:24
|
Hello, I just put back a fix to SVN gazebo that should fix this problem. -nate On Jan 14, 2008 7:53 AM, Robotik <ro...@gm...> wrote: > > Hello and thanks for your response. > > But my config-files has exactly the same IDs and Names as yours. > So this is not the solution for my problem.... > My Problem exists also, when I use example-files from the Gazebo-Dir. > > Subscribing the laser-device in playerv works fine, if I use Player/Stage. > When I use Player/Gazebo, Player crashes every time > (in the same moment when I subsribe the laser). > > -MaD- > > > > > Nate Koenig-4 wrote: > > > > Hello, > > > > The name of the interface in your laser gazebo world file must match > > the name of the driver in the player config file. > > > > For example, my laser.model file has this: > > > > <controller:sicklms200_laser name="laser_controller_1"> > > <interface:laser name="laser_iface_0"/> > > </controller:sicklms200_laser> > > > > The player config file has this: > > > > driver > > ( > > name "gazebo" > > provides ["laser:0"] > > gz_id "laser_iface_0" > > ) > > > > -nate > > > > On Jan 13, 2008 1:04 PM, Robotik <ro...@gm...> wrote: > >> > >> Hello, > >> > >> I try the new Gazebo, but I can't access the Laser! Every time I try to > >> subscribe to the Laser, my Player produces an Segmentation fault. > >> Position2d > >> works fine. This Problem stay sinc gazebo v0.8 (svn revision 202) with > >> Player 2.1.0rc1 ans Stage 2.1.0rc2 is installed. I've tried several > >> Gazebo > >> revisions from svn. > >> > >> Has anyone any idea? > >> -MaD- > >> > >> --my config: > >> Gazebo v0.8 (svn revision 224 from today) > >> Player 2.1.0rc1 > >> Stage 2.1.0rc1 > >> > >> ----------------------------------- > >> --my logs: playerv--- > >> ----------------------------------- > >> PlayerViewer 2.1.0rc1 > >> Connecting to [localhost:6665] > >> Available devices: localhost:6665 > >> simulation:0 gazebo unsupported > >> position2d:0 gazebo ready > >> laser:0 gazebo ready > >> playerc error : socket disconnected > >> warning : failed to reconnect > >> playerc warning : warning : no socket to write to > >> ----------------------------------- > >> --my logs: player--- > >> ----------------------------------- > >> Registering driver > >> Player v.2.1.0rc1 > >> [...] > >> trying to load /home/mad/./libgazeboplugin... > >> trying to load /usr/local/lib/libgazeboplugin... > >> success > >> invoking player_driver_init()... > >> [...] > >> success > >> Gazebo Plugin driver creating 1 device > >> 6665.31.0 is a simulation interface. > >> opening /tmp/gazebo-mad-0 > >> opening /tmp/gazebo-mad-0/simulation.default 112 688 > >> Gazebo Plugin driver creating 1 device > >> 6665.4.0 is a position2d interface. > >> Gazebo Plugin driver creating 1 device > >> 6665.6.0 is a laser interface. > >> listening on 6665 > >> Listening on ports: 6665 > >> accepted TCP client 0 on port 6665, fd 7 > >> opening /tmp/gazebo-mad-0/position.position_iface_0 +112 220 > >> opening /tmp/gazebo-mad-0/laser.laser_iface_0 +112 12428 > >> Segmentation fault (core dumped) > >> ----------------------------------- > >> --my logs: gazebo > >> ------------------------------------ > >> Gazebo multi-robot simulator, version 0.8-pre1 > >> [...] > >> Gazebo Path[/usr/local/share/gazebo] > >> Ogre Path[/usr/local/lib/OGRE] > >> Ogre Path[/usr/lib/OGRE] > >> [server/Simulator.cc:332] > >> Creating GUI: > >> Type[fltk] Pos[0 0] Size[1024 768] > >> creating /tmp/gazebo-mad-0 > >> creating /tmp/gazebo-mad-0/simulation.default 112 688 > >> Terrain Image[terrain.png] Size[1000 1000 0.1] > >> [server/sensors/Sensor.cc:94] > >> cam2_sensor sensor has no controller. > >> creating /tmp/gazebo-mad-0/position.position_iface_0 112 220 > >> creating /tmp/gazebo-mad-0/laser.laser_iface_0 112 12428 > >> > >> > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Player-crashes%2C-when-accessing-Laser-%28Gazebo-v0.8-svn%29-tp14791105p14791105.html > >> Sent from the playerstage-gazebo mailing list archive at Nabble.com. > >> > >> > >> ------------------------------------------------------------------------- > >> Check out the new SourceForge.net Marketplace. > >> It's the best place to buy or sell services for > >> just about anything Open Source. > >> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > >> _______________________________________________ > >> Playerstage-gazebo mailing list > >> Pla...@li... > >> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > >> > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > > _______________________________________________ > > Playerstage-gazebo mailing list > > Pla...@li... > > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > > > > > > -- > View this message in context: http://www.nabble.com/Player-crashes%2C-when-accessing-Laser-%28Gazebo-v0.8-svn%29-tp14791105p14804468.html > > Sent from the playerstage-gazebo mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Playerstage-gazebo mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > |