Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

[Playerstage-users] LaserBar Fiducial Device Driver

 [Playerstage-users] LaserBar Fiducial Device Driver From: #TAN LIANG PING# - 2005-01-24 07:47:33 ```Hi all, =20 Juz hoping to get some clarification regarding the LaserBar Fiducial = device driver for Player 1.4rc2. =20 With regards to the LaserBar Constructor it uses the following set of = default values. My guess is that the tol is the tolerance value allowed = and the rest of the qns is based on it. (pls correct me if im wrong. = =3D>) =20 In LaserBar Constructor =3D=3D> // Default reflector properties. this->reflector_width =3D cf->ReadLength(section, "width", 0.08); this->reflector_tol =3D cf->ReadLength(section, "tol", 0.50); =20 1) What units are the value for the width for? 2) Am i correct to say the tolerance is 0.5 and so it should return true = for a beacon of 0.12units if im using the default width of 0.08units? = cos it seems that the tolerance given is very generous. =20 In TestMoments =3D=3D> if (mn < 2.0) return false; =20 // These are tests for a cylindrical reflector. dr =3D (1 + this->reflector_tol) * this->reflector_width / 2; db =3D (1 + this->reflector_tol) * atan2(this->reflector_width / 2, mr); =20 if (mrr > dr * dr) return false; if (mbb > db * db) return false; =20 3) I dont quite catch the logic behind the test for the bearing = Appreciate it very much if someone can point me in the correct = direction. 4) The first if statement checks that at least 2 laser readings are = recorded from a beacon. I is therefore not advisable to reduce the = comparision value to say 1.0 to try and improve the range at which the = driver can identify the fiducial object. cos if it is reduced then the = test below will always return true irregardless of whether the beacon = detected is of the required width. ```

 [Playerstage-users] LaserBar Fiducial Device Driver From: #TAN LIANG PING# - 2005-01-24 07:47:33 ```Hi all, =20 Juz hoping to get some clarification regarding the LaserBar Fiducial = device driver for Player 1.4rc2. =20 With regards to the LaserBar Constructor it uses the following set of = default values. My guess is that the tol is the tolerance value allowed = and the rest of the qns is based on it. (pls correct me if im wrong. = =3D>) =20 In LaserBar Constructor =3D=3D> // Default reflector properties. this->reflector_width =3D cf->ReadLength(section, "width", 0.08); this->reflector_tol =3D cf->ReadLength(section, "tol", 0.50); =20 1) What units are the value for the width for? 2) Am i correct to say the tolerance is 0.5 and so it should return true = for a beacon of 0.12units if im using the default width of 0.08units? = cos it seems that the tolerance given is very generous. =20 In TestMoments =3D=3D> if (mn < 2.0) return false; =20 // These are tests for a cylindrical reflector. dr =3D (1 + this->reflector_tol) * this->reflector_width / 2; db =3D (1 + this->reflector_tol) * atan2(this->reflector_width / 2, mr); =20 if (mrr > dr * dr) return false; if (mbb > db * db) return false; =20 3) I dont quite catch the logic behind the test for the bearing = Appreciate it very much if someone can point me in the correct = direction. 4) The first if statement checks that at least 2 laser readings are = recorded from a beacon. I is therefore not advisable to reduce the = comparision value to say 1.0 to try and improve the range at which the = driver can identify the fiducial object. cos if it is reduced then the = test below will always return true irregardless of whether the beacon = detected is of the required width. ```
 [Playerstage-users] Running player From: ringo - 2005-01-28 02:37:21 ```I have player 1.6 and stage 1.6. When I try to run Player I get the following: ringo@...:/usr/local/share/stage/worlds> player simple.cfg ** Player v1.6 ** [TCP] Parsing configuration file "simple.cfg" trying to load /usr/local/share/stage/worlds/./libstage...failed (/usr/local/share/stage/worlds/./libstage.so: cannot open shared object file: No such file or directory) error : error loading plugin: (null) Player got a SIGSEGV! (that ain't good...) When I look at the files under worlds/ I see ringo@...:/usr/local/share/stage/worlds> ls -a . beacons.inc everything.cfg map.inc simple.cfg .. bitmaps everything.world pioneer.inc simple.world are there libstage files missing, or are they somewhere else? Am I doing something wrong? Ringo ```
 Re: [Playerstage-users] Running player From: Richard Vaughan - 2005-01-28 06:27:58 ```\On Jan 27, 2005, at 6:37 PM, ringo wrote: > I have player 1.6 and stage 1.6. > When I try to run Player I get the following: > > ringo@...:/usr/local/share/stage/worlds> player simple.cfg > ** Player v1.6 ** [TCP] > > Parsing configuration file "simple.cfg" > trying to load /usr/local/share/stage/worlds/./libstage...failed > (/usr/local/share/stage/worlds/./libstage.so: cannot open shared object > file: No such file or directory) > error : error loading plugin: (null) > Player got a SIGSEGV! (that ain't good...) libstage.so is installed in /lib. Player doesn't look there by default: I see some code in /server/main.cc that would check /lib automatically, but it is apparently not robust to different versions of autoconf, and is commented out. I'll take a look at this sometime. So for now you need to set up the PLAYERPATH environment variable: (in BASH) \$ export PLAYERPATH=/lib Where is the installation prefix you configured Player with, or (usually) /usr/local by default. Richard. > When I look at the files under worlds/ I see > > ringo@...:/usr/local/share/stage/worlds> ls -a > . beacons.inc everything.cfg map.inc simple.cfg > .. bitmaps everything.world pioneer.inc simple.world > > are there libstage files missing, or are they somewhere else? > > Am I doing something wrong? > Ringo > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Playerstage-users mailing list > Playerstage-users@... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > -- Richard Vaughan School of Computing Science / Simon Fraser University ```
 RE: [Playerstage-users] Running player From: ringo - 2005-01-28 22:20:54 ```I have the following in my .bashrc export PATH=/usr/local/bin:\$PATH export CPATH=/usr/local/include:\$CPATH export LIBRARY_PATH=/usr/local/lib:\$LIBRARY_PATH # The first line sets the executable path; the second sets the path for C and C++ header files; the third line # sets the library search path. You will also need to set two more paths: #export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:\$PKG_CONFIG_PATH #export PYTHONPATH=/usr/local/lib/python2.3/site-packages:\$PYTHONPATH and I checked and libstage.so is located under usr/local/lib. What else could be wrong? Ringo -----Original Message----- From: playerstage-users-admin@... [mailto:playerstage-users-admin@...] On Behalf Of Richard Vaughan Sent: Friday, January 28, 2005 1:28 AM To: playerstage-users@... Subject: Re: [Playerstage-users] Running player \On Jan 27, 2005, at 6:37 PM, ringo wrote: > I have player 1.6 and stage 1.6. > When I try to run Player I get the following: > > ringo@...:/usr/local/share/stage/worlds> player simple.cfg > ** Player v1.6 ** [TCP] > > Parsing configuration file "simple.cfg" > trying to load /usr/local/share/stage/worlds/./libstage...failed > (/usr/local/share/stage/worlds/./libstage.so: cannot open shared object > file: No such file or directory) > error : error loading plugin: (null) > Player got a SIGSEGV! (that ain't good...) libstage.so is installed in /lib. Player doesn't look there by default: I see some code in /server/main.cc that would check /lib automatically, but it is apparently not robust to different versions of autoconf, and is commented out. I'll take a look at this sometime. So for now you need to set up the PLAYERPATH environment variable: (in BASH) \$ export PLAYERPATH=/lib Where is the installation prefix you configured Player with, or (usually) /usr/local by default. Richard. > When I look at the files under worlds/ I see > > ringo@...:/usr/local/share/stage/worlds> ls -a > . beacons.inc everything.cfg map.inc simple.cfg > .. bitmaps everything.world pioneer.inc simple.world > > are there libstage files missing, or are they somewhere else? > > Am I doing something wrong? > Ringo > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Playerstage-users mailing list > Playerstage-users@... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > -- Richard Vaughan School of Computing Science / Simon Fraser University ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Playerstage-users mailing list Playerstage-users@... https://lists.sourceforge.net/lists/listinfo/playerstage-users ```
 Re: [Playerstage-users] Running player From: Richard Vaughan - 2005-01-29 15:39:04 ```On Jan 28, 2005, at 9:22 AM, ringo wrote: > I have the following in my .bashrc > > export PATH=/usr/local/bin:\$PATH > export CPATH=/usr/local/include:\$CPATH > export LIBRARY_PATH=/usr/local/lib:\$LIBRARY_PATH > > # The first line sets the executable path; the second sets the path for > C and C++ header files; the third line > # sets the library search path. You will also need to set two more > paths: > > #export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:\$PKG_CONFIG_PATH > #export PYTHONPATH=/usr/local/lib/python2.3/site-packages:\$PYTHONPATH > > and I checked and libstage.so is located under usr/local/lib. > What else could be wrong? I'll just copy part of my previous message here - please read it carefully: > So for now you need to set up the PLAYERPATH environment variable: > > \$ export PLAYERPATH=/lib > > Where is the installation prefix you configured Player with, > or (usually) /usr/local by default. that variable is PLAYERPATH Player doesn't (and shouldn't) use LIBRARY_PATH. Richard. > Ringo > > > -----Original Message----- > From: playerstage-users-admin@... > [mailto:playerstage-users-admin@...] On Behalf Of > Richard Vaughan > Sent: Friday, January 28, 2005 1:28 AM > To: playerstage-users@... > Subject: Re: [Playerstage-users] Running player > > > > \On Jan 27, 2005, at 6:37 PM, ringo wrote: > >> I have player 1.6 and stage 1.6. >> When I try to run Player I get the following: >> >> ringo@...:/usr/local/share/stage/worlds> player simple.cfg >> ** Player v1.6 ** [TCP] >> >> Parsing configuration file "simple.cfg" >> trying to load /usr/local/share/stage/worlds/./libstage...failed >> (/usr/local/share/stage/worlds/./libstage.so: cannot open shared > object >> file: No such file or directory) >> error : error loading plugin: (null) >> Player got a SIGSEGV! (that ain't good...) > > libstage.so is installed in /lib. Player doesn't look there by > default: I see some code in /server/main.cc that would check > /lib automatically, but it is apparently not robust to > different versions of autoconf, and is commented out. I'll take a look > at this sometime. > > So for now you need to set up the PLAYERPATH environment variable: > > (in BASH) > > \$ export PLAYERPATH=/lib > > Where is the installation prefix you configured Player with, > or (usually) /usr/local by default. > > Richard. > >> When I look at the files under worlds/ I see >> >> ringo@...:/usr/local/share/stage/worlds> ls -a >> . beacons.inc everything.cfg map.inc simple.cfg >> .. bitmaps everything.world pioneer.inc simple.world >> >> are there libstage files missing, or are they somewhere else? >> >> Am I doing something wrong? > >> Ringo >> >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive > Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Playerstage-users mailing list >> Playerstage-users@... >> https://lists.sourceforge.net/lists/listinfo/playerstage-users >> > -- > Richard Vaughan > School of Computing Science / Simon Fraser University > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Playerstage-users mailing list > Playerstage-users@... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Playerstage-users mailing list > Playerstage-users@... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > -- Richard Vaughan School of Computing Science / Simon Fraser University ```
 RE: [Playerstage-users] Running player From: ringo - 2005-01-29 17:01:04 ```DUH!! Sorry about that, it's the whole "reading" thing. Ringo -----Original Message----- From: playerstage-users-admin@... [mailto:playerstage-users-admin@...] On Behalf Of Richard Vaughan Sent: Saturday, January 29, 2005 10:39 AM To: playerstage-users@... Subject: Re: [Playerstage-users] Running player On Jan 28, 2005, at 9:22 AM, ringo wrote: > I have the following in my .bashrc > > export PATH=/usr/local/bin:\$PATH > export CPATH=/usr/local/include:\$CPATH > export LIBRARY_PATH=/usr/local/lib:\$LIBRARY_PATH > > # The first line sets the executable path; the second sets the path for > C and C++ header files; the third line > # sets the library search path. You will also need to set two more > paths: > > #export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:\$PKG_CONFIG_PATH > #export PYTHONPATH=/usr/local/lib/python2.3/site-packages:\$PYTHONPATH > > and I checked and libstage.so is located under usr/local/lib. > What else could be wrong? I'll just copy part of my previous message here - please read it carefully: > So for now you need to set up the PLAYERPATH environment variable: > > \$ export PLAYERPATH=/lib > > Where is the installation prefix you configured Player with, > or (usually) /usr/local by default. that variable is PLAYERPATH Player doesn't (and shouldn't) use LIBRARY_PATH. Richard. > Ringo > > > -----Original Message----- > From: playerstage-users-admin@... > [mailto:playerstage-users-admin@...] On Behalf Of > Richard Vaughan > Sent: Friday, January 28, 2005 1:28 AM > To: playerstage-users@... > Subject: Re: [Playerstage-users] Running player > > > > \On Jan 27, 2005, at 6:37 PM, ringo wrote: > >> I have player 1.6 and stage 1.6. >> When I try to run Player I get the following: >> >> ringo@...:/usr/local/share/stage/worlds> player simple.cfg >> ** Player v1.6 ** [TCP] >> >> Parsing configuration file "simple.cfg" >> trying to load /usr/local/share/stage/worlds/./libstage...failed >> (/usr/local/share/stage/worlds/./libstage.so: cannot open shared > object >> file: No such file or directory) >> error : error loading plugin: (null) >> Player got a SIGSEGV! (that ain't good...) > > libstage.so is installed in /lib. Player doesn't look there by > default: I see some code in /server/main.cc that would check > /lib automatically, but it is apparently not robust to > different versions of autoconf, and is commented out. I'll take a look > at this sometime. > > So for now you need to set up the PLAYERPATH environment variable: > > (in BASH) > > \$ export PLAYERPATH=/lib > > Where is the installation prefix you configured Player with, > or (usually) /usr/local by default. > > Richard. > >> When I look at the files under worlds/ I see >> >> ringo@...:/usr/local/share/stage/worlds> ls -a >> . beacons.inc everything.cfg map.inc simple.cfg >> .. bitmaps everything.world pioneer.inc simple.world >> >> are there libstage files missing, or are they somewhere else? >> >> Am I doing something wrong? > >> Ringo >> >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive > Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Playerstage-users mailing list >> Playerstage-users@... >> https://lists.sourceforge.net/lists/listinfo/playerstage-users >> > -- > Richard Vaughan > School of Computing Science / Simon Fraser University > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Playerstage-users mailing list > Playerstage-users@... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Playerstage-users mailing list > Playerstage-users@... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > -- Richard Vaughan School of Computing Science / Simon Fraser University ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Playerstage-users mailing list Playerstage-users@... https://lists.sourceforge.net/lists/listinfo/playerstage-users ```