So when you read the intensity value from the player LaserProxy, there
is no ray that has a value of 1? And you are sure that the laser
scanner is hitting the simple solid, and your are calling Read on the
player server.

As a simple test, you can add a print statement into the
SickLMS200.cc::PutLaserData function. Toward the end of this function
is the place where the intensity value is set. Try printing out this
value, and check for a value of 1.

-nate

On Nov 27, 2007 8:07 AM, Stéphane LAFORET <[EMAIL PROTECTED]> wrote:
> Hi, I'm not succed to use the intensity of the laser.
> In my .world, I use:
>
> <model:SimpleSolid>
>  <xyz>5 3 0.2</xyz>
>  <size>0.50 2 1.20</size>
>  <shape>box</shape>
>  <color>1 1 1</color>
>  <retro>1</retro>
> </model:SimpleSolid>
>
> (...)
>             <model:SickLMS200>
>               <id>laser1</id>
>               <rayCount>181</rayCount>
>               <xyz>1.0 0.0 0.3</xyz>
>             </model:SickLMS200>
> (...)
>
> The values of intensity are between 179 and 228 but
> not in relation of the simplesolid. I tried the
> Configure() method but nothing change if I put true or
> false in the aIntensity field. I checked my LaserProxy
> with the IntensityOn() method... but the result is the
> same when it return 0 or 1. Have someone ever use
> intensity?
>
> Gazebo 0.7.0 and Player 2.0.4
> Bye
>
>
>       
> _____________________________________________________________________________
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to