This is configuration file I am using for having position2d, camera and ptz:
driver
(
  name "gazebo"
  provides ["simulation:0"]
  plugin "libgazeboplugin"
  server_id "default"
)

driver
(
  name "gazebo"
  provides ["position2d:0"]
  gz_id "pioneer2dx_model1::position_iface_0"
)

driver
(
  name "gazebo"
  provides ["camera:0"]
  gz_id "pioneer2dx_model1::sonyvid30_model::camera_iface_0"
#  alwayson 1
#  save 0
)
driver
(
  name "gazebo"
  provides ["ptz:0"]
  gz_id "pioneer2dx_model1::sonyvid30_model::ptz_iface_1"
)

(from previous post:)
Unfortunately, ptz interface is not working right. Also I discovered that 'stall' field of position2d interface is not set, so it is not possible to quickly determine if collision occured.

Paul


On Wed, 28 Apr 2010, Scott Biddlestone wrote:

 Sorry, I guess the attachment didn't go through. It is very short so I
 will just inline it:

 Index: server/World.cc
 ===================================================================
 --- server/World.cc    (revision 8631)
 +++ server/World.cc    (working copy)
 @@ -287,6 +287,8 @@

   this->factory->Init();
   this->saveStateTimer.Start();
 +
 +  SensorManager::Instance()->Init();
 }

 
////////////////////////////////////////////////////////////////////////////////

 -Scott

 On Wed, Apr 28, 2010 at 5:07 PM, Paul Osmialowski <[email protected]>
 wrote:
>  I am sorry, I can't find attached patch, where is it?
> > Paul > > On Wed, 28 Apr 2010, Scott Biddlestone wrote: > > > The attached patch fixes the segfault ( it just calls
> >  SensorManager::Instance()->Init() ) in World::Init().  This patch is
> >  against the SVN head.
> > > > The color order is still reversed as previously described. ( BGR vs. > > RGB ) > > > > Let me know if it works for you as well. I tested this with Ogre 1.6.5
> >  Ode 0.11.1 and SVN versions of gazebo and player.
> > > > -Scott > > > > > > > > On Wed, Apr 28, 2010 at 6:42 AM, Valentino <[email protected]> > > wrote:
> > >  I'm trying unsuccessfully to work with the sonyvid30 in gazebo svn,
> > >  but when I subscribe the device (using playerV), gazebo ends in
> > >  segfault. Am I the only one who has problems with this device? If
> > > someone is using it successfully can you please tell me which > > > version
> > >  of Gazebo, Ogre, Ode, and Player are using?
> > >  thanks
> > > > > > ------------------------------------------------------------------------------
> > >  _______________________________________________
> > >  Playerstage-gazebo mailing list
> > >  [email protected]
> > >  https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> > > > > > > ------------------------------------------------------------------------------
>  _______________________________________________
>  Playerstage-gazebo mailing list
>  [email protected]
>  https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
 ------------------------------------------------------------------------------
 _______________________________________________
 Playerstage-gazebo mailing list
 [email protected]
 https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

------------------------------------------------------------------------------
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to