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