Hi Qun,

You can add the <alwaysActive> flag to a sensor to force them on. Then
they will produce correct results even when a controller is not
connected to them.

-nate

On Thu, Jun 24, 2010 at 6:18 AM, zhangqun <zhangq....@gmail.com> wrote:
>
> Hi nate, thanks. Does that mean if i do not connect with any controller, the
> sensors (e.g. laser beams) would not display correct in gui? May I ask, can
> we just make the laser beams look normal, say obstructed by obstacles in
> gazebo gui without a controller, as in the old gazebo versions?
>
> -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-tp28934167p28982398.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
>

------------------------------------------------------------------------------
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

Reply via email to