Guten Tag,
=20
Virus found in this message, please delete it without futher reading=20
=20
=20
=09He nodded. Keep quite quiet, though, and don't to expand
into that territory to the north and here?' 'no murder ever
took place here,' said.

On Dec 11, 2007, at 11:18 AM, Stefan Ericson wrote:
> But the big problem still is, I can't use my namespace. I changed
> to just
> modify the exampledriver with these likes:
>
> namespace Myplayername {
> #include <libplayercore/playercore.h>
> }
> using namespace Myplayername;
>
> Then the output becomes:
> trying to load /home/eris/exampledriver/../libexampledriver...
> failed (/home/eris/exampledriver/../libexampledriver.so: undefined
> symbol:
> _ZN12Myplayername6Driver11StartThreadEv)
I would guess that the problem is that libplayercore was compiled
outside of any namespace, but you're including its headers inside a
namespace. The linker then expects the symbols named in the headers
to be declared within that namespace in libplayercore. And of course
they're not. I suppose you could re-compile libplayercore, putting
everything inside your namespace....
brian.

I forgot to mention that before I run player, the light on the laser is
green, and once it starts trying to connect the light on the laser turns
red. I then have to restart the laser manually before any new attempts to
connect to it.
AASS wrote:
>
> I am trying to connect to a sicklms 200 laser and I am getting the
> following response:
>
> $ player -d 9 test.cfg
>
> Player v.2.1.0
>
> * Part of the Player/Stage/Gazebo Project
> [http://playerstage.sourceforge.net].
> * Copyright (C) 2000 - 2006 Brian Gerkey, Richard Vaughan, Andrew Howard,
> * Nate Koenig, and contributors. Released under the GNU General Public
> License.
> * Player comes with ABSOLUTELY NO WARRANTY. This is free software, and
> you
> * are welcome to redistribute it under certain conditions; see COPYING
> * for details.
>
> Laser initialising (/dev/ttyS2)
> connecting at 9600
> sending configuration mode request to laser
> waiting for acknowledge
> laser operating at 9600; changing to 38400
> error : timeout on read (4)
> warning : timeout
> error : timeout on read (4)
> warning : timeout
> SICK laser type [LMS200;301063;V02.02 ] at [/dev/ttyS2:38400]
> error : timeout on read (4)
> warning : timeout
> error : timeout on read (4)
> warning : timeout
> error : timeout on read (4)
> warning : timeout
> error : initial subscription failed for device laser:0
> error : failed to start alwayson drivers
> alfred@...:~/Desktop/Example_Code$
>
> The cfg file I am using looks like this:
>
> driver
> (
> name "sicklms200"
> provides ["laser:0"]
> port "/dev/ttyS2"
> resolution 100
> range_res 10
> alwayson 1
> )
>
> I get the same result whether I have the "alwayson" option ro whether I am
> trying to connect to the laser through playerv, playerprint etc...
>
> I am using an approximately 1 month old version of player from the cvs. It
> used to be possible to connect like this when I was running player 2.0.4.
>
> Any suggestions to what could be the cause?
>
--
View this message in context: http://www.nabble.com/Unable-to-get-laser-readings-from-SickLMS200-tp14281736p14283128.html
Sent from the playerstage-users mailing list archive at Nabble.com.

I am trying to connect to a sicklms 200 laser and I am getting the following
response:
$ player -d 9 test.cfg
Player v.2.1.0
* Part of the Player/Stage/Gazebo Project
[http://playerstage.sourceforge.net].
* Copyright (C) 2000 - 2006 Brian Gerkey, Richard Vaughan, Andrew Howard,
* Nate Koenig, and contributors. Released under the GNU General Public
License.
* Player comes with ABSOLUTELY NO WARRANTY. This is free software, and you
* are welcome to redistribute it under certain conditions; see COPYING
* for details.
Laser initialising (/dev/ttyS2)
connecting at 9600
sending configuration mode request to laser
waiting for acknowledge
laser operating at 9600; changing to 38400
error : timeout on read (4)
warning : timeout
error : timeout on read (4)
warning : timeout
SICK laser type [LMS200;301063;V02.02 ] at [/dev/ttyS2:38400]
error : timeout on read (4)
warning : timeout
error : timeout on read (4)
warning : timeout
error : timeout on read (4)
warning : timeout
error : initial subscription failed for device laser:0
error : failed to start alwayson drivers
alfred@...:~/Desktop/Example_Code$
The cfg file I am using looks like this:
driver
(
name "sicklms200"
provides ["laser:0"]
port "/dev/ttyS2"
resolution 100
range_res 10
alwayson 1
)
I get the same result whether I have the "alwayson" option ro whether I am
trying to connect to the laser through playerv, playerprint etc...
I am using an approximately 1 month old version of player from the cvs. It
used to be possible to connect like this when I was running player 2.0.4.
Any suggestions to what could be the cause?
--
View this message in context: http://www.nabble.com/Unable-to-get-laser-readings-from-SickLMS200-tp14281736p14281736.html
Sent from the playerstage-users mailing list archive at Nabble.com.

On Dec 9, 2007, at 6:02 PM, farshaad wrote:
>
> Is there any way to use create driver with player 2.0.4?
No. The create driver was added only in the 2.1 development line. I
may look into backporting it to 2.0.x for the forthcoming 2.0.5
release. In the meantime, the roomba driver in 2.0.4 can probably be
modified to control the create.
brian.

Does ND eventually give up, with a warning like, "ran out of time
trying to get to goal"?
brian.
On Dec 11, 2007, at 3:21 AM, Joseph Baxter wrote:
> Hi,
>
> I also have this issue. As I am loath to change the ND algorithm
> itself.
> I override the commands to the output position2d interface to when I
> detect "bad" situations such as oscillations.
>
> It does not look pretty by any means but I simply give the robot a
> nudge
> in the right direction until the ND algorithm starts to behave
> "properly" again.
>
> Joe
>
> AASS wrote:
>
>> ---------------------------------------------------------------------
>> -
>>
>> Message: 1
>> Date: Mon, 10 Dec 2007 11:58:13 -0800 (PST)
>> From: AASS <jakjan84@...>
>> Subject: [Playerstage-users] ND Driver
>> To: playerstage-users@...
>> Message-ID: <14260403.post@...>
>> Content-Type: text/plain; charset=us-ascii
>>
>>
>> Hello,
>>
>> I am trying to use the ND driver for local obstacle avoidance. The
>> problem I
>> am running into is the fact that when the robot is in a corner, it
>> seems to
>> stay there as it turns one way, then the other, then the previous,
>> and then
>> the other, etc, etc. Logic would state that it does so because
>> there is more
>> open space on the other end and thus the rotation keeps on
>> changing. My
>> question is thus as follows. Has anyone overcome this problem and
>> made it
>> turn only one way instead of looking for most open space? If so,
>> your help
>> would be greatly appreciated. The robot knows where it's going
>> (destination
>> cell and angle)
>>
>> Thanks,
>>
>
> This message has been checked for viruses but the contents of an
> attachment
> may still contain software viruses, which could damage your
> computer system:
> you are advised to perform your own checks. Email communications
> with the
> University of Nottingham may be monitored as permitted by UK
> legislation.
>
>
> ----------------------------------------------------------------------
> ---
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users

Jordi wrote:
>
>
> You have to include the proper headers path in your gcc command.
> add -I /usr/include/glib-2.0/ to your gcc command line.
Or use `pkg-config --cflags gtk+-2.0`
Or in a Makefile:
GLIB_CFLAGS=$(shell pkg-config --cflags gtk+-2.0)
then use $GLIB_CFLAGS variable in the build rule.
Note that you need the full GTK+ development kit to build Stage, not just Glib,
so you should install the gtk-2.0-dev or libgtk2.0-dev package if you don't
already have it.
Reed

Hi,
I also have this issue. As I am loath to change the ND algorithm itself.
I override the commands to the output position2d interface to when I
detect "bad" situations such as oscillations.
It does not look pretty by any means but I simply give the robot a nudge
in the right direction until the ND algorithm starts to behave
"properly" again.
Joe
AASS wrote:
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 10 Dec 2007 11:58:13 -0800 (PST)
> From: AASS <jakjan84@...>
> Subject: [Playerstage-users] ND Driver
> To: playerstage-users@...
> Message-ID: <14260403.post@...>
> Content-Type: text/plain; charset=us-ascii
>
>
> Hello,
>
> I am trying to use the ND driver for local obstacle avoidance. The problem I
> am running into is the fact that when the robot is in a corner, it seems to
> stay there as it turns one way, then the other, then the previous, and then
> the other, etc, etc. Logic would state that it does so because there is more
> open space on the other end and thus the rotation keeps on changing. My
> question is thus as follows. Has anyone overcome this problem and made it
> turn only one way instead of looking for most open space? If so, your help
> would be greatly appreciated. The robot knows where it's going (destination
> cell and angle)
>
> Thanks,
>
This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

Hi !
Well i just made my first few experiences with player ...
So basically everything is working. Except the GUI for AMCL
I only added the following line to my configuration file
"enable_gui 1"
so the section for the AMCL looks now like this:
driver
(
name "amcl"
provides ["6665:localize:0" "6665:position2d:2"]
requires ["odometry::6665:position2d:0" "6665:laser:0"
"laser::6665:map:0"]
enable_gui 1
)
When i start "playerv" and try to subscribe to the
"position2d:2(amcl)"-device the program crashes with the following
error. Nevertheless i can see the amcl-gui for a short moment ;)
So here's the output of playerv:
PlayerViewer 2.0.4
Connecting to [localhost:6665]
calling connect
done
Available devices: localhost:6665
simulation:0 stage unsupported
map:0 stage ready
ptz:0 stage ready
gripper:0 stage ready
position2d:0 stage ready
laser:0 stage ready
blobfinder:0 stage ready
sonar:0 stage ready
graphics2d:0 stage unsupported
localize:0 amcl unsupported
position2d:2 amcl ready
position2d:1 vfh ready
unknown:0 wavefront unsupported
and when i try to subscribe ... the following lines appear
playerc error : recv failed with error [Die Ressource ist zur Zeit
nicht verfügbar]
warning : failed to reconnect
playerc warning : warning : no socket to write to
playerc error : close failed with error [Ungültiger Dateideskriptor]
playerv : error in playerv.c
close failed with error [Ungültiger Dateideskriptor]
Where [Die Ressource ist zur Zeit nicht verfügbar]
could be translated to [the ressource is not available at moment]
and [Ungültiger Dateideskriptor]
could be translated to [bad filedescriptor] or [invalid filedescriptor]
Stage crashes every time with different error messages ... weird ?!
So, has anybody an idea what's wrong ?
Rather a configuration problem ?
or has it something to do with the compiled executables ?
Maybe these informations are necessary ... i'm running
Player-2.0.4 & Stage-2.0.3 on ArchLinux.
If you need any other info for helping me, please let me know ;)
kind regards,
funki
P.S.
by the way ...
I was just wondering why stage "sounds all the time" when no client is
connected.
Well, for me it seems like the harddisk spins until a client-programm or
playerv is connected to stage.
It's not a bad thing ... it's just a little bit annoying when i write my
client program and this sound yells to my ears ;) because i have stage
still runnning ...
Is this a phenomenon that only i have to face ? Or is this standard ?

Ok, that got it working but when I try to run the libplayerc_py example
or the simpleclient.c example I get this error:
calling connect
done
playerc error : connect call on [localhost:6665] failed with error
[111:Connection refused]
error: connect call on [localhost:6665] failed with error
[111:Connection refused]
any ideas?
nick
Chad George wrote:
> try apt-get install python-dev
>
> On Dec 9, 2007 10:30 PM, Nick Johnson <joh02110@...> wrote:
>
>> checking for pkg-config... yes
>> checking for swig... yes
>> checking for python... yes
>> checking python/Python.h usability... no
>> checking python/Python.h presence... no
>> checking for python/Python.h... no
>> no; Python extensions will not be built
>>
>> Python bindings to libplayerc will not be built -- could not find python
>> distutils
>>
>> this is from the output of ./configure, guess its not making the python
>> client. How do i make it do this?
>>
>> nick
>>
>>
>>
>> Chad George wrote:
>>
>>> Did you verify that the ./configure script said it would make the python client?
>>> It should definitely say one way or the other.
>>>
>>> Also you should see the SWIG utility being called by the player build system.
>>> On my system the files ended up at /usr/local/lib/python2.5/site-packages
>>>
>>> Chad
>>>
>>>
>>> -------------------------------------------------------------------------
>>> SF.Net email is sponsored by:
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://sourceforge.net/services/buy/index.php
>>> _______________________________________________
>>> Playerstage-users mailing list
>>> Playerstage-users@...
>>> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>>>
>>>
>> -------------------------------------------------------------------------
>> SF.Net email is sponsored by:
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> Playerstage-users mailing list
>> Playerstage-users@...
>> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>>
>>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>

Thanks.
Brian Gerkey wrote:
>
>
> On Dec 9, 2007, at 4:47 PM, syt wrote:
>
>> That is I know in stage we can save a screenshot in certain interval.
>> However, I want to save a period of screen video. Does anyone know
>> how to do
>> it? Thanks.
>
>
> Stage only saves still shots. You can assemble these stills into a
> movie using a variety of tools (e.g., mencoder, QuickTime Pro).
>
> brian.
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>
>
--
View this message in context: http://www.nabble.com/Video-record-in-stage-tp14245534p14267651.html
Sent from the playerstage-users mailing list archive at Nabble.com.

On Dec 10, 2007, at 5:11 AM, Marcelo Salazar wrote:
> I've been working with Player and P3-DX robot, and I have a problem =20=
> at reading speeds.
>
> Linear Speed =3D 0.0
>
> Angular Speed =3D 0.9 (This is my problem!, It sould be 1.0 =20
> approximately)
>
> When I measure with an oscilloscope in the motor=92s encoder, and I =20=
> do the calculations, I obtain 1.0 approximately.
>
> When I use ARIA's lib, I haven't any problem.
>
That's interesting. Perhaps there's a bug in Player's p2os driver. =20
I'd recommend looking at player/server/drivers/mixed/p2os/sip.cc. =20
The packets from the robot are parsed in SIP::Parse, and the Player =20
data structures are filled in SIP::Fill.
brian.

On Dec 7, 2007, at 10:10 PM, Ian Han wrote:
>
> May I know how can I refer from the LMS200 driver, as I couldnt
> find the raw
> drivers of other devices stored in Player/Stage?
All driver sources are in player/server/drivers. The sicklms200
driver is in player/server/drivers/laser/sicklms200.cc.
brian.

On Dec 9, 2007, at 4:47 PM, syt wrote:
> That is I know in stage we can save a screenshot in certain interval.
> However, I want to save a period of screen video. Does anyone know
> how to do
> it? Thanks.
Stage only saves still shots. You can assemble these stills into a
movie using a variety of tools (e.g., mencoder, QuickTime Pro).
brian.

I did try that, I used the Makefile.example to compile using the 'make'
command. It did compile and create the .o and .so files, but when i tried to
run it by using player ./example.cfg or player -d 9 ./example.cfg,
it gives me the following errors,
trying to load
/afs/ex.auckland.ac.nz/users/s/m/smuk012/unixhome/summer_project/plugindriver/./libexampledriver...
failed
(/afs/ec.auckland.ac.nz/users/s/smuk012/unixhome/lib/libexampledriver.so.0:
cannot open shared object file : No such file or directory)
error : error loading plugin : libexampledriver
error : failed to load plugin: libexampledriver
error : failed to parse config file ./eample.cfg
And for the previous one I was running the exampledriver from withing player
'playerstage/player-2.1uoa/examples/plugin/plugindriver'
Rishi
Toby Collett-3 wrote:
>
> Hi,
> When building outside the player source tree you should use the
> Makefile.example instead of the Makefile player produces with automake.
>
> Toby
>
> On 11/12/2007, smuk012 <smuk012@...> wrote:
>>
>>
>> Hi I am trying to write a plugin driver for a speechrecognition software
>> HTK.
>> I am presently trying to run the example plugin driver. It runs fine when
>> I
>> run in from the examples/plugin folder found in player and stage. But
>> after
>> I copy the files into another folder and change the path it gives me
>> errors,
>> does not even compile.
>> It gives me the following error:
>> Makefile:692: .deps/exampledriver.Plo: No such file or directory
>> make: *** No rule to make target '.deps/exampledriver.Plo'.
>>
>> I have never written drivers before, so trying to figure out how does it
>> work, a little help would be much appreciated.
>>
>> Rishi
>> --
>> View this message in context:
>> http://www.nabble.com/writing-a-speechrecognition-plugin-driver-for-player-tp14265524p14265524.html
>> Sent from the playerstage-users mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> SF.Net email is sponsored by:
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> Playerstage-users mailing list
>> Playerstage-users@...
>> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>>
>
>
>
> --
> This email is intended for the addressee only and may contain privileged
> and/or confidential information
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>
>
--
View this message in context: http://www.nabble.com/writing-a-speechrecognition-plugin-driver-for-player-tp14265524p14265979.html
Sent from the playerstage-users mailing list archive at Nabble.com.

Attached is the Makefile I normally use for my drivers, it has the
advantage of working on either Mac OS X or Linux, whereas the
Makefile.example only works on Linux and the Makefile.osx.example only
works on OS X. The attached Makefile is useful for multiplatform
environments.
On Dec 10, 2007 8:04 PM, Toby Collett <tcollett+player@...> wrote:
> Hi,
> When building outside the player source tree you should use the
> Makefile.example instead of the Makefile player produces with automake.
>
> Toby
>
>
>
> On 11/12/2007, smuk012 <smuk012@...> wrote:
> >
> > Hi I am trying to write a plugin driver for a speechrecognition software
> HTK.
> > I am presently trying to run the example plugin driver. It runs fine when
> I
> > run in from the examples/plugin folder found in player and stage. But
> after
> > I copy the files into another folder and change the path it gives me
> errors,
> > does not even compile.
> > It gives me the following error:
> > Makefile:692: .deps/exampledriver.Plo: No such file or directory
> > make: *** No rule to make target '.deps/exampledriver.Plo'.
> >
> > I have never written drivers before, so trying to figure out how does it
> > work, a little help would be much appreciated.
> >
> > Rishi
> > --
> > View this message in context:
> http://www.nabble.com/writing-a-speechrecognition-plugin-driver-for-player-tp14265524p14265524.html
> > Sent from the playerstage-users mailing list archive at Nabble.com.
> >
> >
> > -------------------------------------------------------------------------
> > SF.Net email is sponsored by:
> > Check out the new SourceForge.net Marketplace.
> > It's the best place to buy or sell services for
> > just about anything Open Source.
> > http://sourceforge.net/services/buy/index.php
> > _______________________________________________
> > Playerstage-users mailing list
> > Playerstage-users@...
> > https://lists.sourceforge.net/lists/listinfo/playerstage-users
> >
>
>
>
> --
> This email is intended for the addressee only and may contain privileged
> and/or confidential information
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>
>