Hi Nate, I use yet the configure method as your example but it's strange because in my version of Player, Configure take only 5 arguments (the last is the intensity and not the scanning frequency(compiling error if I try to put 6 arguments)).
I use Gazebo 0.7.0 (but It display that it's 0.6.1 version when I launch) and I use Player 2.0.4. The other thing that is strange is the range resolution parameter. As our sick have a range about 80 meter, I put 10 at range resolution but the max range given by player is always 8.212000!!! Is someone see something wrong? Bye --- Nate Koenig <[EMAIL PROTECTED]> a écrit : > Hello, > > I think you might need to call Configure on the > laser proxy: > > laserProxy->Configure(minAngle, > maxAngle,scanResolution,rangeResolution, > intensityOn, scanningFreq) > or > laserProxy->Configure(-pi/2, pi/2, 50, 1, true, 0); > > -nate > > On Nov 29, 2007 3:22 AM, Stéphane LAFORET > <[EMAIL PROTECTED]> wrote: > > Hi, thanks for your help Nate! > > Indeed, intensity vary between 0 or 1 in > accordance > > with a Simple solid in the ray of the sick. In the > > other hand, Yes, I do a read because I read > correctly > > the range and fiducial of my sick. The problem is > only > > about the intensity. I think the problem is in > Player > > but I don't know where? > > > > Kind regards > > Stephane > > > > --- Nate Koenig <[EMAIL PROTECTED]> a écrit : > > > > > > > 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 > > > > [email protected] > > > > > > > > > > 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 > > > [email protected] > > > > > > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > > > > > > > > > > > > _____________________________________________________________________________ > > Ne gardez plus qu'une seule adresse mail ! Copiez > vos mails vers Yahoo! Mail > > > > > ------------------------------------------------------------------------- > > 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 > > [email protected] > > > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo > _____________________________________________________________________________ Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
