Hi, nate, pls see the world files and sicklms200.model attached. I also
attached the sample world pioneer2dx.world comes with gazebo0.10.0 where the
laser beams of the two robots got the same problem.

Thanks so much for your help.

best regards,
-qun

On Thu, Jun 24, 2010 at 6:55 AM, Nate Koenig <natekoe...@gmail.com> wrote:

> Hello,
>
> Can you send me your world file?
>
> -nate
>
> On Thu, Jun 24, 2010 at 6:30 AM, zhangqun <zhangq....@gmail.com> wrote:
> >
> > Hi, nate, thanks. I add the tag <alwaysActive> into the sicklms200.model
> like
> > below, but seems not work. The laser beams still look passing through the
> > objects in gazebo gui. Does that mean i have to write a controller to
> > request the data in such a way that the laser beams would display
> correct?
> >
> >    <sensor:ray name="laser_1">
> >      <rayCount>180</rayCount>
> >      <rangeCount>361</rangeCount>
> >      <origin>0.05 0.0 0</origin>
> >
> >      <minAngle>-90</minAngle>
> >      <maxAngle>90</maxAngle>
> >
> >      <minRange>0.1</minRange>
> >      <maxRange>8</maxRange>
> >      <displayRays>fan</displayRays>
> >
> >      <resRange>1</resRange>
> >
> >      <alwaysActive>true</alwaysActive>
> >
> >      <controller:sicklms200_laser name="laser_controller_1">
> >        <interface:laser name="laser_iface_0"/>
> >        <interface:fiducial name="fiducial_iface_0"/>
> >      </controller:sicklms200_laser>
> >    </sensor:ray>
> >
> > -qun
> >
> >
> >
> > The problem may also be related to a "feature" that has been added to
> > gazebo.
> >
> > Sensors will not generate data unless an external program requests
> > data. So, if you run gazebo without connecting to the laser via shared
> > memory, Player, or through ROS then the laser will not generate data
> > and it will seem to pass through objects.
> >
> > You can also add the <alwaysActive> tag to a sensor:
> >
> > <sensor:ray>
> >  <alwaysActive>true</alwaysActive>
> > </sensor:ray>
> >
> > Which will force the sensor on.
> >
> > -nate
> >
> >
> > --
> > View this message in context:
> http://old.nabble.com/Laser-beams-passing-through-objects-tp28934167p28982529.html
> > Sent from the playerstage-gazebo mailing list archive at Nabble.com.
> >
> >
> >
> ------------------------------------------------------------------------------
> > ThinkGeek and WIRED's GeekDad team up for the Ultimate
> > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> > lucky parental unit.  See the prize list and enter to win:
> > http://p.sf.net/sfu/thinkgeek-promo
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > Playerstage-gazebo@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to