From braught at dickinson.edu Mon Jul 2 15:38:56 2007
From: braught at dickinson.edu (Grant Braught)
Date: Mon Jul 2 15:39:03 2007
Subject: [Pyro-users] Experiences with PyroFromPython?
Message-ID: <261C45DA-D38B-45C3-B49A-E163700230FE@dickinson.edu>
Hi everyone,
We have been trying to evolve a NN based brain for a pioneer using
pyro with the techniques Doug describes for using PyroFromPython
(http://emergent.brynmawr.edu/emergent/PyroFromPython) and have run
into an interesting issue. In particular, we find that the results of
simulations run using the technique using engine.pleaseRun() (as at
the top of the PyroFromPython page) differ from those in which
simulator.step() is called explicitly (as in section 1.1 Running
Faster on the PyroFromPython page).
In particular, when directly calling simulator.step() it appears that
every time step is exactly 100 ms long, while when running under
control of the engine (or from the pyrobot gui) there is some non-
determinism in the length of the time step. This means that with
simulator.step() the brain can rely on precise timing between control
opportunities that don't exist in the other modes or on a real robot.
Thus, when evaluating fitness using simulations that run the faster
modes the evolving brains exploit the reliability of the fixed length
time steps and as a result perform very poorly when run in with the
pyrobot gui (or on a real robot).
Has anyone else encountered this issue? Has anyone found a work
around other than running the simulations at real-time speed using
the engine or pyrobot interface?
One possibility that I can think of would be to add noise to the
amount of translation or rotation that actually occurs during one
time step of the simulation. Has anyone had any experience with
doing that?
Thanks for any insights.
Grant
From swaffoj at allegheny.edu Sun Jul 8 11:36:29 2007
From: swaffoj at allegheny.edu (John Mark Swafford)
Date: Sun Jul 8 11:36:33 2007
Subject: [Pyro-users] Installing Pyro on a Mac
Message-ID: <4691047D.8090103@allegheny.edu>
I am having lots of difficulties making pyro function properly on my
Apple. For some reason the GUI does not load the list of files whenever
I want to open a file. It only displays the list of directories. I can
click in the white space and a file will open, but I do not know what
file I am going to get. Also, no matter what file I open, they do not
compile and run. Does anyone have a suggestion?
Thanks,
John Mark Swafford
swaffoj@allegheny.edu
Allegheny College
From dblank at brynmawr.edu Mon Jul 9 13:40:29 2007
From: dblank at brynmawr.edu (Douglas S. Blank)
Date: Mon Jul 9 13:41:12 2007
Subject: [Pyro-users] Experiences with PyroFromPython?
In-Reply-To: <261C45DA-D38B-45C3-B49A-E163700230FE@dickinson.edu>
References: <261C45DA-D38B-45C3-B49A-E163700230FE@dickinson.edu>
Message-ID: <4692730D.4010809@brynmawr.edu>
Grant Braught wrote:
> Hi everyone,
>
> We have been trying to evolve a NN based brain for a pioneer using pyro
> with the techniques Doug describes for using PyroFromPython
> (http://emergent.brynmawr.edu/emergent/PyroFromPython) and have run into
> an interesting issue. In particular, we find that the results of
> simulations run using the technique using engine.pleaseRun() (as at the
> top of the PyroFromPython page) differ from those in which
> simulator.step() is called explicitly (as in section 1.1 Running Faster
> on the PyroFromPython page).
>
> In particular, when directly calling simulator.step() it appears that
> every time step is exactly 100 ms long, while when running under control
> of the engine (or from the pyrobot gui) there is some non-determinism in
> the length of the time step. This means that with simulator.step() the
> brain can rely on precise timing between control opportunities that
> don't exist in the other modes or on a real robot. Thus, when evaluating
> fitness using simulations that run the faster modes the evolving brains
> exploit the reliability of the fixed length time steps and as a result
> perform very poorly when run in with the pyrobot gui (or on a real robot).
>
> Has anyone else encountered this issue?
Grant,
You're absolutely correct about your analysis. When you use the
pleaseRun interface, you are talking to the simulator via threads and
possibly over sockets, too. Both threads and sockets allow places for
non-determinism to enter into the process.
> Has anyone found a work around
> other than running the simulations at real-time speed using the engine
> or pyrobot interface?
When you say "work around", you wish to work around the determinism,
correct? BTW, determinism can be nice in some (simulated) situations
(for example, for watching a run over and over again for analysis or
debugging). Maybe you would like pseudo-random determinism? If you work
over threads then you have real, honest-to-goodness non-determinism:
there is no way to replicate a run as the timing differences are real.
> One possibility that I can think of would be to add noise to the amount
> of translation or rotation that actually occurs during one time step of
> the simulation. Has anyone had any experience with doing that?
Yes, that is one possibility. Another is to add noise in the movement of
the robot. Currently, when you say robot.move(.5, .5), the simulator
will move exactly that much. You could add some variance to that. A full
model of noise is something that would be nice in the Pyrobot Simulator
(and one that I have requested for the Stage simulator as well).
Let us know what you find that works for you.
-Doug
> Thanks for any insights.
>
> Grant
>
>
>
> _______________________________________________
> Pyro-users mailing list
> Pyro-users@pyrorobotics.org
> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
>
From dblank at brynmawr.edu Mon Jul 9 13:45:25 2007
From: dblank at brynmawr.edu (Douglas S. Blank)
Date: Mon Jul 9 13:45:42 2007
Subject: [Pyro-users] Installing Pyro on a Mac
In-Reply-To: <4691047D.8090103@allegheny.edu>
References: <4691047D.8090103@allegheny.edu>
Message-ID: <46927435.8090600@brynmawr.edu>
John Mark Swafford wrote:
> I am having lots of difficulties making pyro function properly on my
> Apple. For some reason the GUI does not load the list of files whenever
> I want to open a file. It only displays the list of directories. I can
> click in the white space and a file will open, but I do not know what
> file I am going to get. Also, no matter what file I open, they do not
> compile and run. Does anyone have a suggestion?
John Mark,
There have been some pyro users that have spent some time and energy in
making Pyro work on the Mac, so maybe they can point you in the right
direction.
This might be just a little incompatibility. Check out
pyrobot/gui/widgets/TKwidgets/__init__.py
especially in the class FileDialog. There might be something there that
isn't working well with you Mac.
If you don't have any luck, let us know what version of Mac and Pyro you
are using.
-Doug
> Thanks,
> John Mark Swafford
> swaffoj@allegheny.edu
> Allegheny College
>
> _______________________________________________
> Pyro-users mailing list
> Pyro-users@pyrorobotics.org
> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
>
From Matthew2.Studley at uwe.ac.uk Tue Jul 10 07:25:11 2007
From: Matthew2.Studley at uwe.ac.uk (matt studley)
Date: Tue Jul 10 07:25:13 2007
Subject: [Pyro-users] pyro robotics install Ubuntu 10 July 2007
Message-ID: <1184066711.15125.50.camel@matt-desktop>
Hi all
I'm installing on Ubuntu 7.0.4 'Feisty Faun', i.e. Debian.
I want to provide a nice - i.e. python - interface to player/stage for
teaching navigation.
I thought I'd inform you of the problems and (partial?) work-arounds
I've had as some of the documentation I've found for a debian install
seems obsolescent.
As you'll see - I get some of the way but finally fail! Any help very
gratefully received!
Matt
In this email :
$PYROBOT is /usr/lib/python2.4/site-packages/pyrobot/
$STAGE is /usr/local/share/stage/
and any text delimited by
// =========================
// =========================
is terminal output.
I have installed the following from .deb packages using apt-get via
repositories;
Swig, Numeric, PIL, tkinter, tix libjpeg62 libjpeg62-dev
I have installed Python 2.4.4 and linked /usr/bin/python to python2.4
I have installed Player 2.0.3 and Stage 2.0.3 using tars from
http://pyrorobotics.org/download/
I followed instructions here:
http://playerstage.sourceforge.net/doc/ps_getting_started-1.6.txt
... and tested player with simple.cfg. Ok!
==================================================================
Now I install pyrobot-latest.tgz from pyrorobotics.org/download/
After configuration and declining all options I make. I
linked /usr/local/bin/pyrobot to my $PYROBOT/bin/pyrobot.
I try to run pyrobot...
// ===========================================================
>$ pyrobot
/usr/local/bin/pyrobot: line 1: -e: command not found
/usr/local/bin/pyrobot: line 8:
Pyrobot - Python Robotics
(c) 2005, PyroRobotics.org. Licensed under the GNU GPL.
THIS FILE IS AUTOMATICALLY GENERATED
: command not found
/usr/local/bin/pyrobot: line 9: import: command not found
/usr/local/bin/pyrobot: line 11: __author__: command not found
/usr/local/bin/pyrobot: line 12: __version__: command not found
/usr/local/bin/pyrobot: line 20: syntax error near unexpected token `('
/usr/local/bin/pyrobot: line 20: ` cwd = os.getcwd() + '\\' +
sys.argv[0]'
// ===========================================================
Hmm... seems like python isn't started as the first line of the file is
// ==========================================================
-e #!/usr/bin/python2.4
// ==========================================================
Any ideas where this '-e' comes from? I must be missing something very
obvious!
Well, ok, I'll edit that out so the first line becomes
// ==========================================================
#!/usr/bin/python2.4
// ==========================================================
Now there's the same problem in $PYROBOT/system/version.py. I'll get
rid of that too...
Ok! pyrobot now runs with warnings...
// ==========================================================
sh: taskset: not found
PYROBOT WARNING: can't find 'taskset'
Using PYROBOT on posix with default CPUs in
'/usr/lib/python2.4/site-packages/pyrobot/'...
// ==========================================================
I install taskset using the schedutils package using apt-get as above.
Now pyrobot starts smoothly.
I try to run the Stage simulator with simple.cfg as installed by pyro in
$PYROBOT/plugins/worlds/Stage/
and get many warnings (see appendix at bottom of this email) - and Stage
fails to start;
// ==========================================================
$PYROBOT/plugins/worlds/Stage/simple.cfg:31 error: unknown interface:
[position]
error : Initialization failed for driver "stage"
error : failed to parse config file
$PYROBOT/plugins/worlds/Stage/simple.cfg
// ==========================================================
So I start Stage simulator with simple.cfg as found in $STAGE/worlds/
Success!! (Presumably this means there is a version mis-match between
the .cfg etc files distributed with pyrobot-latest and the companion
versions of stage / player?)
The simulator is listening on port 6665. I try to load robot Player6665
in pyro ...
// ==========================================================
Pyrobot Version 4.9.3: Ready...
Attempting to import 'Player6665'...
Exception in Tkinter callback
Traceback (most recent call last):
uninteresting tkinter call stack
File "./plugins/robots/Player6665.py", line 1, in ?
from pyrobot.robot.player import PlayerRobot
File "./robot/player.py", line 16, in ?
import playerc
File "//usr/local/lib/python2.4/site-packages/playerc.py", line 7,
in ?
import _playerc
ImportError: libplayerxdr.so.2: cannot open shared object file: No such
file or directory
// ==========================================================
Hmmm... library path problem for .so files? Need to add location of
libplayerxdr.so.2 to LD_LIBRARY_PATH in ~/.bashrc
Ok - Player6665 robot now starts but crashes
// ==========================================================
Pyrobot Version 4.9.3: Ready...
Attempting to import 'Player6665'...
Loaded
'/usr/lib/python2.4/site-packages/pyrobot/plugins/robots/Player6665.py'!
Pyrobot Player: hostname= localhost port= 6665
Trying to connect...
Exception in Tkinter callback
Traceback (most recent call last):
File "lib-tk/Tkinter.py", line 1348, in __call__
return self.func(*args)
File "./gui/TK.py", line 202, in loadRobot
gui.loadRobot(self)
File "./gui/__init__.py", line 554, in loadRobot
self.engine.loadRobot(f)
File "./engine/__init__.py", line 174, in loadRobot
self.robot = system.loadINIT(file)
File "./system/__init__.py", line 96, in loadINIT
retval = userspace.INIT()
File
"/usr/lib/python2.4/site-packages/pyrobot/plugins/robots/Player6665.py",
line 6, in INIT
return PlayerRobot("Player6665", 6665) #, hostname="localhost")
File "./robot/player.py", line 499, in __init__
devNameList = [playerc.playerc_lookup_name(device.code) for device
in self._client.devinfos]
File "//usr/local/lib/python2.4/site-packages/playerc.py", line 4792,
in
__getattr__ = lambda self, name: _swig_getattr(self,
playerc_device_info_t, name)
File "//usr/local/lib/python2.4/site-packages/playerc.py", line 34, in
_swig_getattr
raise AttributeError,name
AttributeError: code
//============================================================
I guess this is a version mismatch again? Some named attribute in a
robot dictionary not supported by player ? I feel I've hit a dead end
here!
Matt
// =============== APPENDIX 1 ===============================
// ========= Stage fails to start with PYROBOT simple.cfg ===
* 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.
PLAYERPATH: :/usr/local/lib:/usr/lib
trying to load /libstageplugin...
trying to load /usr/local/lib/libstageplugin...
success
invoking player_driver_init()...
Stage driver plugin init
** Stage plugin v2.0.3 **
* Part of the Player/Stage Project [http://playerstage.sourceforge.net]
* Copyright 2000-2006 Richard Vaughan, Andrew Howard, Brian Gerkey
* and contributors. Released under the GNU General Public License v2.
success
Stage driver creating 1 device
7000.31.0 is a Stage world
[Loading /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world][Include pioneer.inc][Include map.inc]
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:59 : property [gui_boundary] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:28 : property [gui_boundary] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:44 : property [polygon[0].filled] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:38 : property [sview[0]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:39 : property [sview[1]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:40 : property [sview[2]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:41 : property [sview[3]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:42 : property [sview[4]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:43 : property [sview[5]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:44 : property [sview[6]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:45 : property [sview[7]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:46 : property [sview[8]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:47 : property [sview[9]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:48 : property [sview[10]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:49 : property [sview[11]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:50 : property [sview[12]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:51 : property [sview[13]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:52 : property [sview[14]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:53 : property [sview[15]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:56 : property [ssize[0]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:57 : property [ssize[1]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:58 : property [ssize[2]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:59 : property [ssize[3]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:60 : property [ssize[4]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:61 : property [ssize[5]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:62 : property [ssize[6]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:63 : property [ssize[7]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:64 : property [ssize[8]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:65 : property [ssize[9]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:66 : property [ssize[10]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:67 : property [ssize[11]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:68 : property [ssize[12]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:69 : property [ssize[13]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:70 : property [ssize[14]] is defined but not used (worldfile.cc WarnUnused)
warn:
worldfile /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:71 : property [ssize[15]] is defined but not used (worldfile.cc WarnUnused)
Stage driver creating 2 devices
/usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.cfg:31 error: unknown interface: [position]
error : Initialization failed for driver "stage"
error : failed to parse config
file /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.cfg
This email was independently scanned for viruses by McAfee anti-virus software and none were found
From dblank at brynmawr.edu Tue Jul 10 08:04:44 2007
From: dblank at brynmawr.edu (Douglas S. Blank)
Date: Tue Jul 10 08:04:46 2007
Subject: [Pyro-users] pyro robotics install Ubuntu 10 July 2007
In-Reply-To: <1184066711.15125.50.camel@matt-desktop>
References: <1184066711.15125.50.camel@matt-desktop>
Message-ID: <4652.71.59.123.159.1184069084.squirrel@webmail.brynmawr.edu>
Matt,
You are very close, but a couple of points:
1) You should be able to use the latest Player/Stage from their repositories
2) You will need to use Pyro 5.0 which is the version compatible with
Player/Stage 2.0. See http://pyrorobotics.org/?page=PyroInstallation about
getting Pyro from CVS
3) You could also run from our Knoppix-based LiveCD. See
http://pyrorobotics.org/?page=PyroLiveCD. If you have particular files you
would like included, let us know and we could include those. Then students
wouldn't even need to install anything.
4) Pyro likes Stage worlds to have a simulation device on port 7000. If
you make your own world files, make sure you add that.
(We should clean up our files and delete the old methods so it isn't so
confusing. Sorry about that.) Let us know if you have any problems.
-Doug
On Tue, July 10, 2007 7:25 am, matt studley said:
> Hi all
>
> I'm installing on Ubuntu 7.0.4 'Feisty Faun', i.e. Debian.
>
> I want to provide a nice - i.e. python - interface to player/stage for
> teaching navigation.
>
> I thought I'd inform you of the problems and (partial?) work-arounds
> I've had as some of the documentation I've found for a debian install
> seems obsolescent.
>
> As you'll see - I get some of the way but finally fail! Any help very
> gratefully received!
>
> Matt
>
> In this email :
> $PYROBOT is /usr/lib/python2.4/site-packages/pyrobot/
> $STAGE is /usr/local/share/stage/
>
> and any text delimited by
> // =========================
> // =========================
> is terminal output.
>
>
> I have installed the following from .deb packages using apt-get via
> repositories;
>
> Swig, Numeric, PIL, tkinter, tix libjpeg62 libjpeg62-dev
>
> I have installed Python 2.4.4 and linked /usr/bin/python to python2.4
>
> I have installed Player 2.0.3 and Stage 2.0.3 using tars from
> http://pyrorobotics.org/download/
>
> I followed instructions here:
>
> http://playerstage.sourceforge.net/doc/ps_getting_started-1.6.txt
>
> ... and tested player with simple.cfg. Ok!
>
> ==================================================================
>
> Now I install pyrobot-latest.tgz from pyrorobotics.org/download/
>
> After configuration and declining all options I make. I
> linked /usr/local/bin/pyrobot to my $PYROBOT/bin/pyrobot.
>
> I try to run pyrobot...
>
> // ===========================================================
>>$ pyrobot
>
> /usr/local/bin/pyrobot: line 1: -e: command not found
> /usr/local/bin/pyrobot: line 8:
> Pyrobot - Python Robotics
> (c) 2005, PyroRobotics.org. Licensed under the GNU GPL.
>
> THIS FILE IS AUTOMATICALLY GENERATED
> : command not found
> /usr/local/bin/pyrobot: line 9: import: command not found
> /usr/local/bin/pyrobot: line 11: __author__: command not found
> /usr/local/bin/pyrobot: line 12: __version__: command not found
> /usr/local/bin/pyrobot: line 20: syntax error near unexpected token `('
> /usr/local/bin/pyrobot: line 20: ` cwd = os.getcwd() + '\\' +
> sys.argv[0]'
>
> // ===========================================================
>
> Hmm... seems like python isn't started as the first line of the file is
>
> // ==========================================================
> -e #!/usr/bin/python2.4
> // ==========================================================
>
> Any ideas where this '-e' comes from? I must be missing something very
> obvious!
>
> Well, ok, I'll edit that out so the first line becomes
> // ==========================================================
> #!/usr/bin/python2.4
> // ==========================================================
>
> Now there's the same problem in $PYROBOT/system/version.py. I'll get
> rid of that too...
>
> Ok! pyrobot now runs with warnings...
> // ==========================================================
> sh: taskset: not found
> PYROBOT WARNING: can't find 'taskset'
> Using PYROBOT on posix with default CPUs in
> '/usr/lib/python2.4/site-packages/pyrobot/'...
> // ==========================================================
>
> I install taskset using the schedutils package using apt-get as above.
>
> Now pyrobot starts smoothly.
>
> I try to run the Stage simulator with simple.cfg as installed by pyro in
> $PYROBOT/plugins/worlds/Stage/
>
> and get many warnings (see appendix at bottom of this email) - and Stage
> fails to start;
>
> // ==========================================================
> $PYROBOT/plugins/worlds/Stage/simple.cfg:31 error: unknown interface:
> [position]
> error : Initialization failed for driver "stage"
> error : failed to parse config file
> $PYROBOT/plugins/worlds/Stage/simple.cfg
> // ==========================================================
>
> So I start Stage simulator with simple.cfg as found in $STAGE/worlds/
>
> Success!! (Presumably this means there is a version mis-match between
> the .cfg etc files distributed with pyrobot-latest and the companion
> versions of stage / player?)
>
> The simulator is listening on port 6665. I try to load robot Player6665
> in pyro ...
>
> // ==========================================================
> Pyrobot Version 4.9.3: Ready...
> Attempting to import 'Player6665'...
> Exception in Tkinter callback
> Traceback (most recent call last):
>
> uninteresting tkinter call stack
>
> File "./plugins/robots/Player6665.py", line 1, in ?
> from pyrobot.robot.player import PlayerRobot
> File "./robot/player.py", line 16, in ?
> import playerc
> File "//usr/local/lib/python2.4/site-packages/playerc.py", line 7,
> in ?
> import _playerc
> ImportError: libplayerxdr.so.2: cannot open shared object file: No such
> file or directory
>
> // ==========================================================
>
> Hmmm... library path problem for .so files? Need to add location of
> libplayerxdr.so.2 to LD_LIBRARY_PATH in ~/.bashrc
>
> Ok - Player6665 robot now starts but crashes
>
> // ==========================================================
> Pyrobot Version 4.9.3: Ready...
> Attempting to import 'Player6665'...
> Loaded
> '/usr/lib/python2.4/site-packages/pyrobot/plugins/robots/Player6665.py'!
> Pyrobot Player: hostname= localhost port= 6665
> Trying to connect...
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "lib-tk/Tkinter.py", line 1348, in __call__
> return self.func(*args)
> File "./gui/TK.py", line 202, in loadRobot
> gui.loadRobot(self)
> File "./gui/__init__.py", line 554, in loadRobot
> self.engine.loadRobot(f)
> File "./engine/__init__.py", line 174, in loadRobot
> self.robot = system.loadINIT(file)
> File "./system/__init__.py", line 96, in loadINIT
> retval = userspace.INIT()
> File
> "/usr/lib/python2.4/site-packages/pyrobot/plugins/robots/Player6665.py",
> line 6, in INIT
> return PlayerRobot("Player6665", 6665) #, hostname="localhost")
> File "./robot/player.py", line 499, in __init__
> devNameList = [playerc.playerc_lookup_name(device.code) for device
> in self._client.devinfos]
> File "//usr/local/lib/python2.4/site-packages/playerc.py", line 4792,
> in
> __getattr__ = lambda self, name: _swig_getattr(self,
> playerc_device_info_t, name)
> File "//usr/local/lib/python2.4/site-packages/playerc.py", line 34, in
> _swig_getattr
> raise AttributeError,name
> AttributeError: code
> //============================================================
>
> I guess this is a version mismatch again? Some named attribute in a
> robot dictionary not supported by player ? I feel I've hit a dead end
> here!
>
> Matt
>
> // =============== APPENDIX 1 ===============================
> // ========= Stage fails to start with PYROBOT simple.cfg ===
>
> * 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.
>
> PLAYERPATH: :/usr/local/lib:/usr/lib
>
> trying to load /libstageplugin...
> trying to load /usr/local/lib/libstageplugin...
> success
> invoking player_driver_init()...
> Stage driver plugin init
>
> ** Stage plugin v2.0.3 **
> * Part of the Player/Stage Project [http://playerstage.sourceforge.net]
> * Copyright 2000-2006 Richard Vaughan, Andrew Howard, Brian Gerkey
> * and contributors. Released under the GNU General Public License v2.
> success
> Stage driver creating 1 device
> 7000.31.0 is a Stage world
> [Loading
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world][Include
> pioneer.inc][Include map.inc]
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:59
> : property [gui_boundary] is defined but not used (worldfile.cc
> WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:28
> : property [gui_boundary] is defined but not used (worldfile.cc
> WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:44
> : property [polygon[0].filled] is defined but not used (worldfile.cc
> WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:38
> : property [sview[0]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:39
> : property [sview[1]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:40
> : property [sview[2]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:41
> : property [sview[3]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:42
> : property [sview[4]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:43
> : property [sview[5]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:44
> : property [sview[6]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:45
> : property [sview[7]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:46
> : property [sview[8]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:47
> : property [sview[9]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:48
> : property [sview[10]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:49
> : property [sview[11]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:50
> : property [sview[12]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:51
> : property [sview[13]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:52
> : property [sview[14]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:53
> : property [sview[15]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:56
> : property [ssize[0]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:57
> : property [ssize[1]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:58
> : property [ssize[2]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:59
> : property [ssize[3]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:60
> : property [ssize[4]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:61
> : property [ssize[5]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:62
> : property [ssize[6]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:63
> : property [ssize[7]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:64
> : property [ssize[8]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:65
> : property [ssize[9]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:66
> : property [ssize[10]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:67
> : property [ssize[11]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:68
> : property [ssize[12]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:69
> : property [ssize[13]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:70
> : property [ssize[14]] is defined but not used (worldfile.cc WarnUnused)
> warn:
> worldfile
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:71
> : property [ssize[15]] is defined but not used (worldfile.cc WarnUnused)
>
> Stage driver creating 2 devices
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.cfg:31
> error: unknown interface: [position]
> error : Initialization failed for driver "stage"
> error : failed to parse config
> file
> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.cfg
>
>
>
>
> This email was independently scanned for viruses by McAfee anti-virus
> software and none were found
> _______________________________________________
> Pyro-users mailing list
> Pyro-users@pyrorobotics.org
> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
>
--
Douglas S. Blank
Associate Professor, Bryn Mawr College
http://cs.brynmawr.edu/~dblank/
Office: 610 526 6501
From Matthew2.Studley at uwe.ac.uk Tue Jul 10 09:46:24 2007
From: Matthew2.Studley at uwe.ac.uk (matt studley)
Date: Tue Jul 10 09:46:27 2007
Subject: [Pyro-users] pyro robotics install Ubuntu 10 July 2007
In-Reply-To: <4652.71.59.123.159.1184069084.squirrel@webmail.brynmawr.edu>
References: <1184066711.15125.50.camel@matt-desktop>
<4652.71.59.123.159.1184069084.squirrel@webmail.brynmawr.edu>
Message-ID: <1184075184.15125.66.camel@matt-desktop>
Thank you for the info Doug
I have retrieved pyro5.0.0 from CVS and installed with python2.4,
stage2.0.3 and player 2.0.3 as before. Works beautifully.
Ah! Linux, Python and Robots! My life is complete!
A few questions:
1. Can I install against python2.5 ?
2. What are those '-e's in line 1 of bin/pyrobot and system/version.py?
regards,
Matt
On Tue, 2007-07-10 at 08:04 -0400, Douglas S. Blank wrote:
> Matt,
>
> You are very close, but a couple of points:
>
> 1) You should be able to use the latest Player/Stage from their repositories
>
> 2) You will need to use Pyro 5.0 which is the version compatible with
> Player/Stage 2.0. See http://pyrorobotics.org/?page=PyroInstallation about
> getting Pyro from CVS
>
> 3) You could also run from our Knoppix-based LiveCD. See
> http://pyrorobotics.org/?page=PyroLiveCD. If you have particular files you
> would like included, let us know and we could include those. Then students
> wouldn't even need to install anything.
>
> 4) Pyro likes Stage worlds to have a simulation device on port 7000. If
> you make your own world files, make sure you add that.
>
> (We should clean up our files and delete the old methods so it isn't so
> confusing. Sorry about that.) Let us know if you have any problems.
>
> -Doug
>
> On Tue, July 10, 2007 7:25 am, matt studley said:
> > Hi all
> >
> > I'm installing on Ubuntu 7.0.4 'Feisty Faun', i.e. Debian.
> >
> > I want to provide a nice - i.e. python - interface to player/stage for
> > teaching navigation.
> >
> > I thought I'd inform you of the problems and (partial?) work-arounds
> > I've had as some of the documentation I've found for a debian install
> > seems obsolescent.
> >
> > As you'll see - I get some of the way but finally fail! Any help very
> > gratefully received!
> >
> > Matt
> >
> > In this email :
> > $PYROBOT is /usr/lib/python2.4/site-packages/pyrobot/
> > $STAGE is /usr/local/share/stage/
> >
> > and any text delimited by
> > // =========================
> > // =========================
> > is terminal output.
> >
> >
> > I have installed the following from .deb packages using apt-get via
> > repositories;
> >
> > Swig, Numeric, PIL, tkinter, tix libjpeg62 libjpeg62-dev
> >
> > I have installed Python 2.4.4 and linked /usr/bin/python to python2.4
> >
> > I have installed Player 2.0.3 and Stage 2.0.3 using tars from
> > http://pyrorobotics.org/download/
> >
> > I followed instructions here:
> >
> > http://playerstage.sourceforge.net/doc/ps_getting_started-1.6.txt
> >
> > ... and tested player with simple.cfg. Ok!
> >
> > ==================================================================
> >
> > Now I install pyrobot-latest.tgz from pyrorobotics.org/download/
> >
> > After configuration and declining all options I make. I
> > linked /usr/local/bin/pyrobot to my $PYROBOT/bin/pyrobot.
> >
> > I try to run pyrobot...
> >
> > // ===========================================================
> >>$ pyrobot
> >
> > /usr/local/bin/pyrobot: line 1: -e: command not found
> > /usr/local/bin/pyrobot: line 8:
> > Pyrobot - Python Robotics
> > (c) 2005, PyroRobotics.org. Licensed under the GNU GPL.
> >
> > THIS FILE IS AUTOMATICALLY GENERATED
> > : command not found
> > /usr/local/bin/pyrobot: line 9: import: command not found
> > /usr/local/bin/pyrobot: line 11: __author__: command not found
> > /usr/local/bin/pyrobot: line 12: __version__: command not found
> > /usr/local/bin/pyrobot: line 20: syntax error near unexpected token `('
> > /usr/local/bin/pyrobot: line 20: ` cwd = os.getcwd() + '\\' +
> > sys.argv[0]'
> >
> > // ===========================================================
> >
> > Hmm... seems like python isn't started as the first line of the file is
> >
> > // ==========================================================
> > -e #!/usr/bin/python2.4
> > // ==========================================================
> >
> > Any ideas where this '-e' comes from? I must be missing something very
> > obvious!
> >
> > Well, ok, I'll edit that out so the first line becomes
> > // ==========================================================
> > #!/usr/bin/python2.4
> > // ==========================================================
> >
> > Now there's the same problem in $PYROBOT/system/version.py. I'll get
> > rid of that too...
> >
> > Ok! pyrobot now runs with warnings...
> > // ==========================================================
> > sh: taskset: not found
> > PYROBOT WARNING: can't find 'taskset'
> > Using PYROBOT on posix with default CPUs in
> > '/usr/lib/python2.4/site-packages/pyrobot/'...
> > // ==========================================================
> >
> > I install taskset using the schedutils package using apt-get as above.
> >
> > Now pyrobot starts smoothly.
> >
> > I try to run the Stage simulator with simple.cfg as installed by pyro in
> > $PYROBOT/plugins/worlds/Stage/
> >
> > and get many warnings (see appendix at bottom of this email) - and Stage
> > fails to start;
> >
> > // ==========================================================
> > $PYROBOT/plugins/worlds/Stage/simple.cfg:31 error: unknown interface:
> > [position]
> > error : Initialization failed for driver "stage"
> > error : failed to parse config file
> > $PYROBOT/plugins/worlds/Stage/simple.cfg
> > // ==========================================================
> >
> > So I start Stage simulator with simple.cfg as found in $STAGE/worlds/
> >
> > Success!! (Presumably this means there is a version mis-match between
> > the .cfg etc files distributed with pyrobot-latest and the companion
> > versions of stage / player?)
> >
> > The simulator is listening on port 6665. I try to load robot Player6665
> > in pyro ...
> >
> > // ==========================================================
> > Pyrobot Version 4.9.3: Ready...
> > Attempting to import 'Player6665'...
> > Exception in Tkinter callback
> > Traceback (most recent call last):
> >
> > uninteresting tkinter call stack
> >
> > File "./plugins/robots/Player6665.py", line 1, in ?
> > from pyrobot.robot.player import PlayerRobot
> > File "./robot/player.py", line 16, in ?
> > import playerc
> > File "//usr/local/lib/python2.4/site-packages/playerc.py", line 7,
> > in ?
> > import _playerc
> > ImportError: libplayerxdr.so.2: cannot open shared object file: No such
> > file or directory
> >
> > // ==========================================================
> >
> > Hmmm... library path problem for .so files? Need to add location of
> > libplayerxdr.so.2 to LD_LIBRARY_PATH in ~/.bashrc
> >
> > Ok - Player6665 robot now starts but crashes
> >
> > // ==========================================================
> > Pyrobot Version 4.9.3: Ready...
> > Attempting to import 'Player6665'...
> > Loaded
> > '/usr/lib/python2.4/site-packages/pyrobot/plugins/robots/Player6665.py'!
> > Pyrobot Player: hostname= localhost port= 6665
> > Trying to connect...
> > Exception in Tkinter callback
> > Traceback (most recent call last):
> > File "lib-tk/Tkinter.py", line 1348, in __call__
> > return self.func(*args)
> > File "./gui/TK.py", line 202, in loadRobot
> > gui.loadRobot(self)
> > File "./gui/__init__.py", line 554, in loadRobot
> > self.engine.loadRobot(f)
> > File "./engine/__init__.py", line 174, in loadRobot
> > self.robot = system.loadINIT(file)
> > File "./system/__init__.py", line 96, in loadINIT
> > retval = userspace.INIT()
> > File
> > "/usr/lib/python2.4/site-packages/pyrobot/plugins/robots/Player6665.py",
> > line 6, in INIT
> > return PlayerRobot("Player6665", 6665) #, hostname="localhost")
> > File "./robot/player.py", line 499, in __init__
> > devNameList = [playerc.playerc_lookup_name(device.code) for device
> > in self._client.devinfos]
> > File "//usr/local/lib/python2.4/site-packages/playerc.py", line 4792,
> > in
> > __getattr__ = lambda self, name: _swig_getattr(self,
> > playerc_device_info_t, name)
> > File "//usr/local/lib/python2.4/site-packages/playerc.py", line 34, in
> > _swig_getattr
> > raise AttributeError,name
> > AttributeError: code
> > //============================================================
> >
> > I guess this is a version mismatch again? Some named attribute in a
> > robot dictionary not supported by player ? I feel I've hit a dead end
> > here!
> >
> > Matt
> >
> > // =============== APPENDIX 1 ===============================
> > // ========= Stage fails to start with PYROBOT simple.cfg ===
> >
> > * 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.
> >
> > PLAYERPATH: :/usr/local/lib:/usr/lib
> >
> > trying to load /libstageplugin...
> > trying to load /usr/local/lib/libstageplugin...
> > success
> > invoking player_driver_init()...
> > Stage driver plugin init
> >
> > ** Stage plugin v2.0.3 **
> > * Part of the Player/Stage Project [http://playerstage.sourceforge.net]
> > * Copyright 2000-2006 Richard Vaughan, Andrew Howard, Brian Gerkey
> > * and contributors. Released under the GNU General Public License v2.
> > success
> > Stage driver creating 1 device
> > 7000.31.0 is a Stage world
> > [Loading
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world][Include
> > pioneer.inc][Include map.inc]
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:59
> > : property [gui_boundary] is defined but not used (worldfile.cc
> > WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:28
> > : property [gui_boundary] is defined but not used (worldfile.cc
> > WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:44
> > : property [polygon[0].filled] is defined but not used (worldfile.cc
> > WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:38
> > : property [sview[0]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:39
> > : property [sview[1]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:40
> > : property [sview[2]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:41
> > : property [sview[3]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:42
> > : property [sview[4]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:43
> > : property [sview[5]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:44
> > : property [sview[6]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:45
> > : property [sview[7]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:46
> > : property [sview[8]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:47
> > : property [sview[9]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:48
> > : property [sview[10]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:49
> > : property [sview[11]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:50
> > : property [sview[12]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:51
> > : property [sview[13]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:52
> > : property [sview[14]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:53
> > : property [sview[15]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:56
> > : property [ssize[0]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:57
> > : property [ssize[1]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:58
> > : property [ssize[2]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:59
> > : property [ssize[3]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:60
> > : property [ssize[4]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:61
> > : property [ssize[5]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:62
> > : property [ssize[6]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:63
> > : property [ssize[7]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:64
> > : property [ssize[8]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:65
> > : property [ssize[9]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:66
> > : property [ssize[10]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:67
> > : property [ssize[11]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:68
> > : property [ssize[12]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:69
> > : property [ssize[13]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:70
> > : property [ssize[14]] is defined but not used (worldfile.cc WarnUnused)
> > warn:
> > worldfile
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:71
> > : property [ssize[15]] is defined but not used (worldfile.cc WarnUnused)
> >
> > Stage driver creating 2 devices
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.cfg:31
> > error: unknown interface: [position]
> > error : Initialization failed for driver "stage"
> > error : failed to parse config
> > file
> > /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.cfg
> >
> >
> >
> >
> > This email was independently scanned for viruses by McAfee anti-virus
> > software and none were found
> > _______________________________________________
> > Pyro-users mailing list
> > Pyro-users@pyrorobotics.org
> > http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
> >
>
>
This email was independently scanned for viruses by McAfee anti-virus software and none were found
From dblank at brynmawr.edu Tue Jul 10 16:05:15 2007
From: dblank at brynmawr.edu (Douglas S. Blank)
Date: Tue Jul 10 16:05:24 2007
Subject: [Pyro-users] pyro robotics install Ubuntu 10 July 2007
In-Reply-To: <1184075184.15125.66.camel@matt-desktop>
References: <1184066711.15125.50.camel@matt-desktop>
<4652.71.59.123.159.1184069084.squirrel@webmail.brynmawr.edu>
<1184075184.15125.66.camel@matt-desktop>
Message-ID: <4693E67B.3000304@brynmawr.edu>
matt studley wrote:
> Thank you for the info Doug
>
> I have retrieved pyro5.0.0 from CVS and installed with python2.4,
> stage2.0.3 and player 2.0.3 as before. Works beautifully.
>
> Ah! Linux, Python and Robots! My life is complete!
That sounds like a bumper sticker waiting to happen :)
> A few questions:
>
> 1. Can I install against python2.5 ?
Yes, as of a few minutes ago. There was an issue in one file that Python
2.5 refused to parse, and actually caused a segfault. That's fixed.
> 2. What are those '-e's in line 1 of bin/pyrobot and system/version.py?
Can you send me those? I'm note sure what you are seeing.
-Doug
> regards,
>
> Matt
>
>
> On Tue, 2007-07-10 at 08:04 -0400, Douglas S. Blank wrote:
>> Matt,
>>
>> You are very close, but a couple of points:
>>
>> 1) You should be able to use the latest Player/Stage from their repositories
>>
>> 2) You will need to use Pyro 5.0 which is the version compatible with
>> Player/Stage 2.0. See http://pyrorobotics.org/?page=PyroInstallation about
>> getting Pyro from CVS
>>
>> 3) You could also run from our Knoppix-based LiveCD. See
>> http://pyrorobotics.org/?page=PyroLiveCD. If you have particular files you
>> would like included, let us know and we could include those. Then students
>> wouldn't even need to install anything.
>>
>> 4) Pyro likes Stage worlds to have a simulation device on port 7000. If
>> you make your own world files, make sure you add that.
>>
>> (We should clean up our files and delete the old methods so it isn't so
>> confusing. Sorry about that.) Let us know if you have any problems.
>>
>> -Doug
>>
>> On Tue, July 10, 2007 7:25 am, matt studley said:
>>> Hi all
>>>
>>> I'm installing on Ubuntu 7.0.4 'Feisty Faun', i.e. Debian.
>>>
>>> I want to provide a nice - i.e. python - interface to player/stage for
>>> teaching navigation.
>>>
>>> I thought I'd inform you of the problems and (partial?) work-arounds
>>> I've had as some of the documentation I've found for a debian install
>>> seems obsolescent.
>>>
>>> As you'll see - I get some of the way but finally fail! Any help very
>>> gratefully received!
>>>
>>> Matt
>>>
>>> In this email :
>>> $PYROBOT is /usr/lib/python2.4/site-packages/pyrobot/
>>> $STAGE is /usr/local/share/stage/
>>>
>>> and any text delimited by
>>> // =========================
>>> // =========================
>>> is terminal output.
>>>
>>>
>>> I have installed the following from .deb packages using apt-get via
>>> repositories;
>>>
>>> Swig, Numeric, PIL, tkinter, tix libjpeg62 libjpeg62-dev
>>>
>>> I have installed Python 2.4.4 and linked /usr/bin/python to python2.4
>>>
>>> I have installed Player 2.0.3 and Stage 2.0.3 using tars from
>>> http://pyrorobotics.org/download/
>>>
>>> I followed instructions here:
>>>
>>> http://playerstage.sourceforge.net/doc/ps_getting_started-1.6.txt
>>>
>>> ... and tested player with simple.cfg. Ok!
>>>
>>> ==================================================================
>>>
>>> Now I install pyrobot-latest.tgz from pyrorobotics.org/download/
>>>
>>> After configuration and declining all options I make. I
>>> linked /usr/local/bin/pyrobot to my $PYROBOT/bin/pyrobot.
>>>
>>> I try to run pyrobot...
>>>
>>> // ===========================================================
>>>> $ pyrobot
>>> /usr/local/bin/pyrobot: line 1: -e: command not found
>>> /usr/local/bin/pyrobot: line 8:
>>> Pyrobot - Python Robotics
>>> (c) 2005, PyroRobotics.org. Licensed under the GNU GPL.
>>>
>>> THIS FILE IS AUTOMATICALLY GENERATED
>>> : command not found
>>> /usr/local/bin/pyrobot: line 9: import: command not found
>>> /usr/local/bin/pyrobot: line 11: __author__: command not found
>>> /usr/local/bin/pyrobot: line 12: __version__: command not found
>>> /usr/local/bin/pyrobot: line 20: syntax error near unexpected token `('
>>> /usr/local/bin/pyrobot: line 20: ` cwd = os.getcwd() + '\\' +
>>> sys.argv[0]'
>>>
>>> // ===========================================================
>>>
>>> Hmm... seems like python isn't started as the first line of the file is
>>>
>>> // ==========================================================
>>> -e #!/usr/bin/python2.4
>>> // ==========================================================
>>>
>>> Any ideas where this '-e' comes from? I must be missing something very
>>> obvious!
>>>
>>> Well, ok, I'll edit that out so the first line becomes
>>> // ==========================================================
>>> #!/usr/bin/python2.4
>>> // ==========================================================
>>>
>>> Now there's the same problem in $PYROBOT/system/version.py. I'll get
>>> rid of that too...
>>>
>>> Ok! pyrobot now runs with warnings...
>>> // ==========================================================
>>> sh: taskset: not found
>>> PYROBOT WARNING: can't find 'taskset'
>>> Using PYROBOT on posix with default CPUs in
>>> '/usr/lib/python2.4/site-packages/pyrobot/'...
>>> // ==========================================================
>>>
>>> I install taskset using the schedutils package using apt-get as above.
>>>
>>> Now pyrobot starts smoothly.
>>>
>>> I try to run the Stage simulator with simple.cfg as installed by pyro in
>>> $PYROBOT/plugins/worlds/Stage/
>>>
>>> and get many warnings (see appendix at bottom of this email) - and Stage
>>> fails to start;
>>>
>>> // ==========================================================
>>> $PYROBOT/plugins/worlds/Stage/simple.cfg:31 error: unknown interface:
>>> [position]
>>> error : Initialization failed for driver "stage"
>>> error : failed to parse config file
>>> $PYROBOT/plugins/worlds/Stage/simple.cfg
>>> // ==========================================================
>>>
>>> So I start Stage simulator with simple.cfg as found in $STAGE/worlds/
>>>
>>> Success!! (Presumably this means there is a version mis-match between
>>> the .cfg etc files distributed with pyrobot-latest and the companion
>>> versions of stage / player?)
>>>
>>> The simulator is listening on port 6665. I try to load robot Player6665
>>> in pyro ...
>>>
>>> // ==========================================================
>>> Pyrobot Version 4.9.3: Ready...
>>> Attempting to import 'Player6665'...
>>> Exception in Tkinter callback
>>> Traceback (most recent call last):
>>>
>>> uninteresting tkinter call stack
>>>
>>> File "./plugins/robots/Player6665.py", line 1, in ?
>>> from pyrobot.robot.player import PlayerRobot
>>> File "./robot/player.py", line 16, in ?
>>> import playerc
>>> File "//usr/local/lib/python2.4/site-packages/playerc.py", line 7,
>>> in ?
>>> import _playerc
>>> ImportError: libplayerxdr.so.2: cannot open shared object file: No such
>>> file or directory
>>>
>>> // ==========================================================
>>>
>>> Hmmm... library path problem for .so files? Need to add location of
>>> libplayerxdr.so.2 to LD_LIBRARY_PATH in ~/.bashrc
>>>
>>> Ok - Player6665 robot now starts but crashes
>>>
>>> // ==========================================================
>>> Pyrobot Version 4.9.3: Ready...
>>> Attempting to import 'Player6665'...
>>> Loaded
>>> '/usr/lib/python2.4/site-packages/pyrobot/plugins/robots/Player6665.py'!
>>> Pyrobot Player: hostname= localhost port= 6665
>>> Trying to connect...
>>> Exception in Tkinter callback
>>> Traceback (most recent call last):
>>> File "lib-tk/Tkinter.py", line 1348, in __call__
>>> return self.func(*args)
>>> File "./gui/TK.py", line 202, in loadRobot
>>> gui.loadRobot(self)
>>> File "./gui/__init__.py", line 554, in loadRobot
>>> self.engine.loadRobot(f)
>>> File "./engine/__init__.py", line 174, in loadRobot
>>> self.robot = system.loadINIT(file)
>>> File "./system/__init__.py", line 96, in loadINIT
>>> retval = userspace.INIT()
>>> File
>>> "/usr/lib/python2.4/site-packages/pyrobot/plugins/robots/Player6665.py",
>>> line 6, in INIT
>>> return PlayerRobot("Player6665", 6665) #, hostname="localhost")
>>> File "./robot/player.py", line 499, in __init__
>>> devNameList = [playerc.playerc_lookup_name(device.code) for device
>>> in self._client.devinfos]
>>> File "//usr/local/lib/python2.4/site-packages/playerc.py", line 4792,
>>> in
>>> __getattr__ = lambda self, name: _swig_getattr(self,
>>> playerc_device_info_t, name)
>>> File "//usr/local/lib/python2.4/site-packages/playerc.py", line 34, in
>>> _swig_getattr
>>> raise AttributeError,name
>>> AttributeError: code
>>> //============================================================
>>>
>>> I guess this is a version mismatch again? Some named attribute in a
>>> robot dictionary not supported by player ? I feel I've hit a dead end
>>> here!
>>>
>>> Matt
>>>
>>> // =============== APPENDIX 1 ===============================
>>> // ========= Stage fails to start with PYROBOT simple.cfg ===
>>>
>>> * 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.
>>>
>>> PLAYERPATH: :/usr/local/lib:/usr/lib
>>>
>>> trying to load /libstageplugin...
>>> trying to load /usr/local/lib/libstageplugin...
>>> success
>>> invoking player_driver_init()...
>>> Stage driver plugin init
>>>
>>> ** Stage plugin v2.0.3 **
>>> * Part of the Player/Stage Project [http://playerstage.sourceforge.net]
>>> * Copyright 2000-2006 Richard Vaughan, Andrew Howard, Brian Gerkey
>>> * and contributors. Released under the GNU General Public License v2.
>>> success
>>> Stage driver creating 1 device
>>> 7000.31.0 is a Stage world
>>> [Loading
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world][Include
>>> pioneer.inc][Include map.inc]
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:59
>>> : property [gui_boundary] is defined but not used (worldfile.cc
>>> WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:28
>>> : property [gui_boundary] is defined but not used (worldfile.cc
>>> WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:44
>>> : property [polygon[0].filled] is defined but not used (worldfile.cc
>>> WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:38
>>> : property [sview[0]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:39
>>> : property [sview[1]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:40
>>> : property [sview[2]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:41
>>> : property [sview[3]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:42
>>> : property [sview[4]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:43
>>> : property [sview[5]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:44
>>> : property [sview[6]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:45
>>> : property [sview[7]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:46
>>> : property [sview[8]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:47
>>> : property [sview[9]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:48
>>> : property [sview[10]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:49
>>> : property [sview[11]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:50
>>> : property [sview[12]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:51
>>> : property [sview[13]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:52
>>> : property [sview[14]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:53
>>> : property [sview[15]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:56
>>> : property [ssize[0]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:57
>>> : property [ssize[1]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:58
>>> : property [ssize[2]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:59
>>> : property [ssize[3]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:60
>>> : property [ssize[4]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:61
>>> : property [ssize[5]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:62
>>> : property [ssize[6]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:63
>>> : property [ssize[7]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:64
>>> : property [ssize[8]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:65
>>> : property [ssize[9]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:66
>>> : property [ssize[10]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:67
>>> : property [ssize[11]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:68
>>> : property [ssize[12]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:69
>>> : property [ssize[13]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:70
>>> : property [ssize[14]] is defined but not used (worldfile.cc WarnUnused)
>>> warn:
>>> worldfile
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.world:71
>>> : property [ssize[15]] is defined but not used (worldfile.cc WarnUnused)
>>>
>>> Stage driver creating 2 devices
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.cfg:31
>>> error: unknown interface: [position]
>>> error : Initialization failed for driver "stage"
>>> error : failed to parse config
>>> file
>>> /usr/lib/python2.4/site-packages/pyrobot/plugins/worlds/Stage/simple.cfg
>>>
>>>
>>>
>>>
>>> This email was independently scanned for viruses by McAfee anti-virus
>>> software and none were found
>>> _______________________________________________
>>> Pyro-users mailing list
>>> Pyro-users@pyrorobotics.org
>>> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
>>>
>>
>
>
>
> This email was independently scanned for viruses by McAfee anti-virus software and none were found
>
From Matthew2.Studley at uwe.ac.uk Wed Jul 11 06:32:13 2007
From: Matthew2.Studley at uwe.ac.uk (matt studley)
Date: Wed Jul 11 06:32:15 2007
Subject: [Pyro-users] pyro robotics install Ubuntu 10 July 2007
In-Reply-To: <4693E67B.3000304@brynmawr.edu>
References: <1184066711.15125.50.camel@matt-desktop>
<4652.71.59.123.159.1184069084.squirrel@webmail.brynmawr.edu>
<1184075184.15125.66.camel@matt-desktop>
<4693E67B.3000304@brynmawr.edu>
Message-ID: <1184149933.5562.16.camel@matt-desktop>
> > 1. Can I install against python2.5 ?
>
> Yes, as of a few minutes ago. There was an issue in one file that Python
> 2.5 refused to parse, and actually caused a segfault. That's fixed.
I have reinstalled pyrobot with python2.5. It all works beautifully!
This email was independently scanned for viruses by McAfee anti-virus software and none were found
From fox at macalester.edu Thu Jul 12 13:18:47 2007
From: fox at macalester.edu (Susan Fox)
Date: Thu Jul 12 13:18:51 2007
Subject: [Pyro-users] Creating devices for processes that take a while...
Message-ID: <46966277.4080105@macalester.edu>
Hi, there,
I am working to integrate Monte Carlo Localization into my Pyro robot.
Because the localization code bogs down the brain, I was trying to use
the model from the Advanced Devices page for the LogicDevice. The
example suggests using a separate process for the slow "thinking" part.
I am assuming that spawning a separate *thread* isn't sufficient. In
other words, I tried replacing the "time.sleep(2)" part with the
localization step, and it still bogged down the system. Do I have to
run the localization as a wholly separate process and have Pyro
communicate with it, or is there some way to do it from within Pyro?
I'm wondering if anyone has done something similar and might be willing
to share ideas or code examples.
Thanks,
Susan
--
--
Susan Fox Associate Professor
Mathematics/Computer Science Macalester College
Office: (651) 696-6553 Fax: (651) 696-6518
E-mail: fox@macalester.edu www.macalester.edu/~fox
From xbill82 at gmail.com Sat Jul 14 10:12:15 2007
From: xbill82 at gmail.com (xbill (Luca;))
Date: Sat Jul 14 10:12:20 2007
Subject: [Pyro-users] Yet another khepera simulation issue...
Message-ID: <6a0b266a0707140712g4b74bad4o8c5e2414ef8c031a@mail.gmail.com>
Hello everybody,
I am Luca and I am new to the list. I am working at my senior thesis in
Granada, Spain, with the DECSAI group and we are approaching an
implementation of some AI-Learning algorithms we want to test directly on
the Khepera II robot.
At the moment we are trying to find out how to simulate the robot. We have
been investigating the possibilities (Player/Stage, Pyrobot, Webots) and we
think Pyrobot is the best one but it is still difficult to say if a Khepera
simulation model is available in Pyrobot. I am a bit confused with the
quantity of contradictory information I find digging in Google, as it seems
that before there was a way to simulate Khepera in Pyro but it was a bit
buggy, isn't it?
So the question is? How is the state of the project now? Is there a Khepera
model that can be added to Pyrobot somewhere?
Thanks a lot to the list for the help.
Luca Marchesini
-----------------------------------------------
Senior Thesis Student
DECSAI, Universidad de Granada
http://decsai.ugr.es/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://emergent.brynmawr.edu/pipermail/pyro-users/attachments/20070714/a643b5a0/attachment.htm
From dblank at brynmawr.edu Tue Jul 17 12:19:33 2007
From: dblank at brynmawr.edu (Douglas S. Blank)
Date: Tue Jul 17 12:19:36 2007
Subject: [Pyro-users] Creating devices for processes that take a while...
In-Reply-To: <46966277.4080105@macalester.edu>
References: <46966277.4080105@macalester.edu>
Message-ID: <469CEC15.8050405@brynmawr.edu>
Susan Fox wrote:
>
> Hi, there,
>
> I am working to integrate Monte Carlo Localization into my Pyro robot.
> Because the localization code bogs down the brain, I was trying to use
> the model from the Advanced Devices page for the LogicDevice. The
> example suggests using a separate process for the slow "thinking" part.
> I am assuming that spawning a separate *thread* isn't sufficient. In
> other words, I tried replacing the "time.sleep(2)" part with the
> localization step, and it still bogged down the system. Do I have to
> run the localization as a wholly separate process and have Pyro
> communicate with it, or is there some way to do it from within Pyro?
>
> I'm wondering if anyone has done something similar and might be willing
> to share ideas or code examples.
>
> Thanks,
>
> Susan
Susan,
Although that code should work, we have also made that code part of Pyro
and can be activated by simply passing in a "async = 1" parameter to any
device constructor. For example, in a pyrobot/plugins/device/ file you
could:
from pyrobot.robot.device import Device
def INIT(robot):
return Device(async=1)
or, of an object of your own making:
from pyrobot.robot.device import Device
import time, random
class AsyncDevice(Device):
def __init__(self):
Device.__init__(self, async = 1)
def update(self):
print "Running...",
time.sleep(random.random() * 10)
print "Done!"
def INIT(robot):
return {"adevice": AsyncDevice()}
I just tested those, and it works as expected (ie, long-running
processes don't affect the GUI or other devices at all). So, yes,
spawning a new thread should be sufficient. However, there is at least
one complication....
On some operating systems (or some older versions of the Linux kernel)
we have found that this doesn't work right. It seems that the kernel is
not letting separate threads under Python correctly.
If the above doesn't help, let us know what OS and kernel, and what
version of Python.
-Doug
From dblank at brynmawr.edu Tue Jul 17 12:29:41 2007
From: dblank at brynmawr.edu (Douglas S. Blank)
Date: Tue Jul 17 12:34:58 2007
Subject: [Pyro-users] Yet another khepera simulation issue...
In-Reply-To: <6a0b266a0707140712g4b74bad4o8c5e2414ef8c031a@mail.gmail.com>
References: <6a0b266a0707140712g4b74bad4o8c5e2414ef8c031a@mail.gmail.com>
Message-ID: <469CEE75.1040101@brynmawr.edu>
Luca,
Back in the old days, we were using an old version of the Khepera
simulator. It wasn't very good, and we don't even include it with Pyro
anymore.
The new Pyrobot Simulator can now simulate light, sim cameras, and even
sound sources. No one has defined a khepera yet (I don't think), but you
just need its shape and light sensor positions (you can IR too).
Take a look at TkPioneer and PioneerFrontLightSensors in
pyrobot/simulators/pysim.py. You really just need the bounding box and
positions/angles of the sensors.
It shouldn't take very much work at all; let me know if you have any
trouble.
-Doug
xbill (Luca;) wrote:
> Hello everybody,
> I am Luca and I am new to the list. I am working at my senior thesis in
> Granada, Spain, with the DECSAI group and we are approaching an
> implementation of some AI-Learning algorithms we want to test directly
> on the Khepera II robot.
> At the moment we are trying to find out how to simulate the robot. We
> have been investigating the possibilities (Player/Stage, Pyrobot,
> Webots) and we think Pyrobot is the best one but it is still difficult
> to say if a Khepera simulation model is available in Pyrobot. I am a bit
> confused with the quantity of contradictory information I find digging
> in Google, as it seems that before there was a way to simulate Khepera
> in Pyro but it was a bit buggy, isn't it?
> So the question is? How is the state of the project now? Is there a
> Khepera model that can be added to Pyrobot somewhere?
> Thanks a lot to the list for the help.
>
> Luca Marchesini
> -----------------------------------------------
> Senior Thesis Student
> DECSAI, Universidad de Granada
> http://decsai.ugr.es/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pyro-users mailing list
> Pyro-users@pyrorobotics.org
> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
From engcomp.carlos at gmail.com Tue Jul 17 13:29:20 2007
From: engcomp.carlos at gmail.com (Carlos Vendramini)
Date: Tue Jul 17 13:29:23 2007
Subject: [Pyro-users] Robocup 2D simulator issues.
Message-ID: <3982e8ce0707171029o7fc76725l383f3ff0bfe14feb@mail.gmail.com>
Hi,
I'm Carlos Vendramini, a Brazilian Computer Engineering student at Espirito
Santo Federal University (UFES). I'm part of a research group that works on
a robocup simulated 2D team, based on C++ language.
We're trying to work with python language too, but we've been witnessing
some difficulties during the Pyro installation on the Debian Testing version
of Linux.
I would like to know if there is any sample 2D simulated team among the Pyro
instalation files, and if so, is there any way of running a python team with
a C++ team in the standard Robocup 2D Simulator, WITHOUT installing the
Pyro?
Thank you very much for your attention, and excuse my english that is a bit
rusty due to lack of practice.
--
Carlos Alberto C. Vendramini
PET Engenharia de Computa??o - UFES
Visite nosso site: www.inf.ufes.br/pet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://emergent.brynmawr.edu/pipermail/pyro-users/attachments/20070717/7e83268c/attachment.htm
From fox at macalester.edu Wed Jul 18 15:00:24 2007
From: fox at macalester.edu (Susan Fox)
Date: Wed Jul 18 15:00:17 2007
Subject: [Pyro-users] Simulating a real-world environment and switching
simulators...
Message-ID: <469E6348.3040101@macalester.edu>
An HTML attachment was scrubbed...
URL: http://emergent.brynmawr.edu/pipermail/pyro-users/attachments/20070718/d2dbe04c/attachment.htm
From jetos.1 at gmail.com Thu Jul 19 14:15:44 2007
From: jetos.1 at gmail.com (Alessandro Moretti)
Date: Thu Jul 19 14:15:47 2007
Subject: [Pyro-users] Yet another khepera simulation issue...
In-Reply-To: <469CEE75.1040101@brynmawr.edu>
References: <6a0b266a0707140712g4b74bad4o8c5e2414ef8c031a@mail.gmail.com>
<469CEE75.1040101@brynmawr.edu>
Message-ID:
Hello,
My name is Alessandro. I'm new to this program (pyrobot) and this
enviroment, so what i say could seem stupid.
I'm working with Luca (other new member of the mailing list) in our
graduation work.
I was attempting to install pyrobot when the system returned this to me when
I tried to execute it.
ra7en@jetos:~/Desktop/pyrobot/bin$ ./pyrobot
./pyrobot: line 1: -e: orden no encontrada
./pyrobot: line 8:
Pyrobot - Python Robotics
(c) 2005, PyroRobotics.org. Licensed under the GNU GPL.
THIS FILE IS AUTOMATICALLY GENERATED
: orden no encontrada
./pyrobot: line 9: import: orden no encontrada
./pyrobot: line 11: __author__: orden no encontrada
./pyrobot: line 12: __version__: orden no encontrada
./pyrobot: line 20: error de sintaxis cerca de token no esperado `('
./pyrobot: line 20: ` cwd = os.getcwd() + '\\' + sys.argv[0]'
I don't know why this has passed. Does sombody know?
I use a system based on ubuntu con python version 2.5.1.
What I did is:
- download the ultimate version of pyroboth;
- extract it and execute ./configure;
- execute make
- try to execute pyrobot/bin/pyrobot
Thanks a lot for your time.
Alessandro Moretti
----------------------------------------------
Senior Thesis Student
DECSAI, Universidad de Granada
http://decsai.ugr.es/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://emergent.brynmawr.edu/pipermail/pyro-users/attachments/20070719/5b3650d8/attachment.htm
From engcomp.carlos at gmail.com Thu Jul 19 14:20:00 2007
From: engcomp.carlos at gmail.com (Carlos Vendramini)
Date: Thu Jul 19 14:20:04 2007
Subject: [Pyro-users] Installing Pyro
Message-ID: <3982e8ce0707191120o6a63c528lf97a9d4576b30e07@mail.gmail.com>
Hi,
I recently sent an email to the community and unfortunately I got no answer.
Later than, I tried to install the Pyro Simulator and when I
--
Carlos Alberto C. Vendramini
PET Engenharia de Computa??o - UFES
Visite nosso site: www.inf.ufes.br/pet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://emergent.brynmawr.edu/pipermail/pyro-users/attachments/20070719/ef0184f3/attachment.htm
From engcomp.carlos at gmail.com Thu Jul 19 14:23:06 2007
From: engcomp.carlos at gmail.com (Carlos Vendramini)
Date: Thu Jul 19 14:23:09 2007
Subject: [Pyro-users] Re: Installing Pyro
In-Reply-To: <3982e8ce0707191120o6a63c528lf97a9d4576b30e07@mail.gmail.com>
References: <3982e8ce0707191120o6a63c528lf97a9d4576b30e07@mail.gmail.com>
Message-ID: <3982e8ce0707191123h5d1ef735j265085293cd7daa1@mail.gmail.com>
Hi,
I recently sent an email to the community and unfortunately I got no
answer. Later than, I tried to install the Pyro Simulator and when I
issued the following install command as root:
yum install player stage gazebo pyrobot
I got the following error messages:
Warning, could not load sqlite, falling back to pickle
Setting up Install Process
Setting up repositories
http://PyroRobotics.org/fedora/Null/i386/repodata/repomd.xml: [Errno
14] HTTP Error 404: Not Found
Trying other mirror.
Cannot open/read repomd.xml file for repository: pyrobot
failure: repodata/repomd.xml from pyrobot: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from pyrobot: [Errno 256] No more
mirrors to try.
papainoel:/etc/yum.repos.d#
I would like to know if there is another way of doing this procedure,
because, as far as I noticed, the website
http://PyroRobotics.org/fedora/Null/i386/repodata/repomd.xml
isn't working and there is no way of downloading the files.
Thank you,
--
Carlos Alberto C. Vendramini
PET Engenharia de Computa??o - UFES
Visite nosso site: www.inf.ufes.br/pet
From dblank at brynmawr.edu Thu Jul 19 14:40:55 2007
From: dblank at brynmawr.edu (Douglas S. Blank)
Date: Thu Jul 19 14:41:01 2007
Subject: [Pyro-users] Re: Installing Pyro
In-Reply-To: <3982e8ce0707191123h5d1ef735j265085293cd7daa1@mail.gmail.com>
References: <3982e8ce0707191120o6a63c528lf97a9d4576b30e07@mail.gmail.com>
<3982e8ce0707191123h5d1ef735j265085293cd7daa1@mail.gmail.com>
Message-ID: <469FB037.8050406@brynmawr.edu>
Carlos,
We try to answer all questions, but it may take a day or two.
You may have to provide more information below, such as what operating
system and distribution are you using? We have Pyro packages for
Fedora 3, 4, 5, and 6.
Also, the URL:
http://PyroRobotics.org/fedora/Null/i386/repodata/repomd.xml
should replace Null with whatever your Fedora version is (ie, 6).
If you are working with Fedora 7, we should have those libraries up soon.
-Doug
Carlos Vendramini wrote:
> Hi,
>
> I recently sent an email to the community and unfortunately I got no
> answer. Later than, I tried to install the Pyro Simulator and when I
> issued the following install command as root:
>
> yum install player stage gazebo pyrobot
>
> I got the following error messages:
>
> Warning, could not load sqlite, falling back to pickle
> Setting up Install Process
> Setting up repositories
> http://PyroRobotics.org/fedora/Null/i386/repodata/repomd.xml: [Errno
> 14] HTTP Error 404: Not Found
> Trying other mirror.
> Cannot open/read repomd.xml file for repository: pyrobot
> failure: repodata/repomd.xml from pyrobot: [Errno 256] No more mirrors
> to try.
> Error: failure: repodata/repomd.xml from pyrobot: [Errno 256] No more
> mirrors to try.
> papainoel:/etc/yum.repos.d#
>
>
> I would like to know if there is another way of doing this procedure,
> because, as far as I noticed, the website
>
> http://PyroRobotics.org/fedora/Null/i386/repodata/repomd.xml
>
> isn't working and there is no way of downloading the files.
>
> Thank you,
>
From dblank at brynmawr.edu Thu Jul 19 14:46:23 2007
From: dblank at brynmawr.edu (Douglas S. Blank)
Date: Thu Jul 19 14:46:30 2007
Subject: [Pyro-users] Robocup 2D simulator issues.
In-Reply-To: <3982e8ce0707171029o7fc76725l383f3ff0bfe14feb@mail.gmail.com>
References: <3982e8ce0707171029o7fc76725l383f3ff0bfe14feb@mail.gmail.com>
Message-ID: <469FB17F.50507@brynmawr.edu>
Carlos Vendramini wrote:
> Hi,
>
> I'm Carlos Vendramini, a Brazilian Computer Engineering student at
> Espirito Santo Federal University (UFES). I'm part of a research group
> that works on a robocup simulated 2D team, based on C++ language.
>
> We're trying to work with python language too, but we've been witnessing
> some difficulties during the Pyro installation on the Debian Testing
> version of Linux.
>
> I would like to know if there is any sample 2D simulated team among the
> Pyro instalation files, and if so, is there any way of running a python
> team with a C++ team in the standard Robocup 2D Simulator, WITHOUT
> installing the Pyro?
>
> Thank you very much for your attention, and excuse my english that is a
> bit rusty due to lack of practice.
Your English is much better than my Spanish!
Do you want to connect onto the official robocup soccer server?
You could use just pure Python to connect onto any server, but Pyro
gives you a lot of abstractions. This mailing list is just for helping
people with Pyro. Perhaps you need to talk to the Robocup people?
-Doug
> --
> Carlos Alberto C. Vendramini
> PET Engenharia de Computa??o - UFES
>
> Visite nosso site: www.inf.ufes.br/pet
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pyro-users mailing list
> Pyro-users@pyrorobotics.org
> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
From dblank at brynmawr.edu Thu Jul 19 14:50:02 2007
From: dblank at brynmawr.edu (Douglas S. Blank)
Date: Thu Jul 19 14:50:15 2007
Subject: [Pyro-users] Simulating a real-world environment and switching
simulators...
In-Reply-To: <469E6348.3040101@macalester.edu>
References: <469E6348.3040101@macalester.edu>
Message-ID: <469FB25A.1050407@brynmawr.edu>
Susan Fox wrote:
>
> Hi, there,
>
> I have a robot that is controlled by Pyro in a real-world environment.
> For east of testing, I'm using Stage to simulate the real-world
> environment. I've created a .png image of a map that I have, and I'm
> satisfied with how that part is working. I'm not excessively fussy about
> how accurate a simulation it is, but I really want to be sure that the
> *scale* is correct, that one meter in the real world corresponds to one
> meter in the simulated world, and that the simulated robot has the right
> relative size. I've begun to suspect that my Stage simulation is *not*
> the right scale, but the Stage documentation is very sparse. I'm
> posting this question here as well as the Stage-users list. How do I
> determine the correct values for the Stage configuration and world
> files, to ensure that the scale is correct?
>
> My second question is, given that I have a Stage simulation with a
> fairly detailed rendition of my real-world environment, is there any
> simple or semi-automated way to transform that into a Pyrobot
> simulation? I have some students doing a class with robotics, and I
> don't want to give them the complexity of Stage, but I'd really like for
> them to have a somewhat accurate simulation of our real-world
> environment to work with.
I would think that you could mechanize that process. Lisa Meeden
documented the Pyrobot Simulator values here fairly well:
http://pyrorobotics.org/?page=The_20Pyrobot_20Simulator
and Stage here:
http://pyrorobotics.org/?page=The_20Stage_20Simulator
I'd have to check to make sure that the Stage info is still up-to-date.
-Doug
> Thanks,
>
> Susan Fox
>
> --
> Susan Fox Associate Professor
> Mathematics/Computer Science Macalester College
> Office: (651) 696-6553 Fax: (651) 696-6518
> fox@macalester.edu http://www.macalester.edu/~fox
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pyro-users mailing list
> Pyro-users@pyrorobotics.org
> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
From dblank at brynmawr.edu Thu Jul 19 14:52:56 2007
From: dblank at brynmawr.edu (Douglas S. Blank)
Date: Thu Jul 19 14:53:05 2007
Subject: [Pyro-users] Yet another khepera simulation issue...
In-Reply-To:
References: <6a0b266a0707140712g4b74bad4o8c5e2414ef8c031a@mail.gmail.com> <469CEE75.1040101@brynmawr.edu>
Message-ID: <469FB308.8060709@brynmawr.edu>
Alessandro,
Matt Studley also just reported this problem. I'm not sure what is
sticking those in but you can check the pyro-users list for which two
files he had to change. Just remove the -e on the first lines.
If anyone can figure out what is causing that, please let us know.
-Doug
Alessandro Moretti wrote:
> Hello,
> My name is Alessandro. I'm new to this program (pyrobot) and this
> enviroment, so what i say could seem stupid.
> I'm working with Luca (other new member of the mailing list) in our
> graduation work.
> I was attempting to install pyrobot when the system returned this to me
> when I tried to execute it.
>
>
> ra7en@jetos:~/Desktop/pyrobot/bin$ ./pyrobot
> ./pyrobot: line 1: -e: orden no encontrada
> ./pyrobot: line 8:
> Pyrobot - Python Robotics
> (c) 2005, PyroRobotics.org. Licensed under the GNU GPL.
>
> THIS FILE IS AUTOMATICALLY GENERATED
> : orden no encontrada
> ./pyrobot: line 9: import: orden no encontrada
> ./pyrobot: line 11: __author__: orden no encontrada
> ./pyrobot: line 12: __version__: orden no encontrada
> ./pyrobot: line 20: error de sintaxis cerca de token no esperado `('
> ./pyrobot: line 20: ` cwd = os.getcwd() + '\\' + sys.argv[0]'
>
>
> I don't know why this has passed. Does sombody know?
> I use a system based on ubuntu con python version 2.5.1.
> What I did is:
> - download the ultimate version of pyroboth;
> - extract it and execute ./configure;
> - execute make
> - try to execute pyrobot/bin/pyrobot
>
> Thanks a lot for your time.
>
>
>
> Alessandro Moretti
> ----------------------------------------------
> Senior Thesis Student
> DECSAI, Universidad de Granada
> http://decsai.ugr.es/
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pyro-users mailing list
> Pyro-users@pyrorobotics.org
> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
From matthew2.studley at uwe.ac.uk Fri Jul 20 12:12:02 2007
From: matthew2.studley at uwe.ac.uk (Matthew Studley)
Date: Fri Jul 20 12:11:54 2007
Subject: [Pyro-users] -e: orden no encontrada
Message-ID: <1184947922.10662.20.camel@midas.clocksoft.dom>
Hi chaps
this problem (in English) came up in my recent install. See my posts
last week regarding install on Ubuntu.
http://www.mail-archive.com/pyro-users@pyrorobotics.org/msg00207.html
In short, two pyrobot files are created in which the first line starts
with '-e #' instead of '#'. This must be an artifact of the creation
system - a parameter for echo being interpreted as a string?
The files you need to edit are bin/pyrobot and system/version.py
regards
Matt
From finog at yahoo.com Sun Jul 22 12:03:01 2007
From: finog at yahoo.com (Finog)
Date: Sun Jul 22 12:03:07 2007
Subject: [Pyro-users] AiboCamera
In-Reply-To: <200707181600.l6IG02aQ010210@emergent.brynmawr.edu>
Message-ID: <507296.78088.qm@web36110.mail.mud.yahoo.com>
I've been endeavouring to get Pyro's camera function
to work on the Aibo and I'm wondering if anyone knows
if this is actually functional and, if so, has any
tips for getting it working. I'm using the newest
releases of Ubuntu and Pyro along with an ERS-7M3.
Thanks,
~Richard Barnes~
University of Minnesota Research Assistant
____________________________________________________________________________________
Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
http://autos.yahoo.com/carfinder/
From dblank at brynmawr.edu Sun Jul 22 12:28:00 2007
From: dblank at brynmawr.edu (Douglas S. Blank)
Date: Sun Jul 22 12:28:02 2007
Subject: [Pyro-users] AiboCamera
In-Reply-To: <507296.78088.qm@web36110.mail.mud.yahoo.com>
References: <200707181600.l6IG02aQ010210@emergent.brynmawr.edu>
<507296.78088.qm@web36110.mail.mud.yahoo.com>
Message-ID: <15708.71.59.123.159.1185121680.squirrel@webmail.brynmawr.edu>
On Sun, July 22, 2007 12:03 pm, Finog said:
> I've been endeavouring to get Pyro's camera function
> to work on the Aibo and I'm wondering if anyone knows
> if this is actually functional and, if so, has any
> tips for getting it working. I'm using the newest
> releases of Ubuntu and Pyro along with an ERS-7M3.
Richard,
It should work. The one tricky thing is to make sure you are using TCP, as
mentioned here:
http://pyrorobotics.org/?page=Using_20the_20Sony_20AIBO_20Robot
(If anyone figures out how to use UDP (and get Aibo to start sending the
images) please let us know.)
Let us know if that doesn't work.
-Doug
> Thanks,
> ~Richard Barnes~
> University of Minnesota Research Assistant
>
>
>
> ____________________________________________________________________________________
> Choose the right car based on your needs. Check out Yahoo! Autos new Car
> Finder tool.
> http://autos.yahoo.com/carfinder/
> _______________________________________________
> Pyro-users mailing list
> Pyro-users@pyrorobotics.org
> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
>
--
Douglas S. Blank
Associate Professor, Bryn Mawr College
http://cs.brynmawr.edu/~dblank/
Office: 610 526 6501
From fox at macalester.edu Mon Jul 23 17:28:17 2007
From: fox at macalester.edu (Susan Fox)
Date: Mon Jul 23 17:28:00 2007
Subject: [Pyro-users] Versions of Player/Stage...
Message-ID: <46A51D71.405@macalester.edu>
An HTML attachment was scrubbed...
URL: http://emergent.brynmawr.edu/pipermail/pyro-users/attachments/20070723/bdb16472/attachment.htm
From dblank at brynmawr.edu Tue Jul 24 17:23:47 2007
From: dblank at brynmawr.edu (Douglas S. Blank)
Date: Tue Jul 24 17:24:04 2007
Subject: [Pyro-users] -e: orden no encontrada
In-Reply-To: <1184947922.10662.20.camel@midas.clocksoft.dom>
References: <1184947922.10662.20.camel@midas.clocksoft.dom>
Message-ID: <46A66DE3.9060709@brynmawr.edu>
Follow-up to why this is broken on the latest Ubuntu:
On Ubuntu, the default /bin/sh changed from pointing to /bin/bash to the
new /bin/dash. Dash is supposed to be faster, and more modern. It also
uses the new "echo" (from 2004) which does not allow options.
Two possible fixes:
1) change /bin/sh to point to /bin/bash
2) remove the -e's in pyrobot/Makefile after the "echo" command (I don't
have an Ubuntu computer so I am not sure this does the right thing)
For more information, see:
https://bugs.launchpad.net/ubuntu/+source/dash/+bug/61463
-Doug
Matthew Studley wrote:
> Hi chaps
>
> this problem (in English) came up in my recent install. See my posts
> last week regarding install on Ubuntu.
>
> http://www.mail-archive.com/pyro-users@pyrorobotics.org/msg00207.html
>
> In short, two pyrobot files are created in which the first line starts
> with '-e #' instead of '#'. This must be an artifact of the creation
> system - a parameter for echo being interpreted as a string?
>
> The files you need to edit are bin/pyrobot and system/version.py
>
> regards
>
> Matt
> _______________________________________________
> Pyro-users mailing list
> Pyro-users@pyrorobotics.org
> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
>
From jamartin at dia.fi.upm.es Wed Jul 25 06:49:36 2007
From: jamartin at dia.fi.upm.es (Jose Antonio Martin H)
Date: Wed Jul 25 06:49:31 2007
Subject: [Pyro-users] problem running gazebo server
Message-ID: <005a01c7cea9$7e163d10$0301a8c0@jam>
Dear friends.
I have installed pyro for the first time on an ubuntu 7.0.4 i386 machine.
I have intsalled Gazebo 7.0.4 and it works OK.
I have the next problem.
When I start pyrobot it runs ok, but I have problems when selecting gazebo server.
It starts gazebo server ok but then it automatically starts a player server unsuccesful.
It says:
player invalid option -g
and then player does not start and shows the classical lines with the correct options.
also, I have modified some python scripts where the letter (e) is the first character.
Some one could help with this issue ?
Thanks a lot.
jose.
====================================================
Jose Antonio Martin H.
Departamento de Sistemas Inform?ticos y Computaci?n
Facultad de Inform?tica
Universidad Complutense de Madrid
Ciudad universitaria, 28040 Madrid
====================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://emergent.brynmawr.edu/pipermail/pyro-users/attachments/20070725/1e4fe506/attachment.htm
From dblank at brynmawr.edu Wed Jul 25 08:31:23 2007
From: dblank at brynmawr.edu (Douglas S. Blank)
Date: Wed Jul 25 08:31:26 2007
Subject: [Pyro-users] problem running gazebo server
In-Reply-To: <005a01c7cea9$7e163d10$0301a8c0@jam>
References: <005a01c7cea9$7e163d10$0301a8c0@jam>
Message-ID: <22001.71.59.123.159.1185366683.squirrel@webmail.brynmawr.edu>
Jose,
What version of Pyro are you running? Also, please check your version of
Gazebo. (Note that the latest Gazebo/Player/Stage need the latest Pyro,
version 5; earlier versions of P/S/G use Pyro 4.x.x).
-Doug
On Wed, July 25, 2007 6:49 am, Jose Antonio Martin H said:
>
>
>
> Dear friends.
>
> I have installed pyro for the first time on an ubuntu 7.0.4 i386 machine.
>
> I have intsalled Gazebo 7.0.4 and it works OK.
>
> I have the next problem.
>
> When I start pyrobot it runs ok, but I have problems when selecting
> gazebo server.
>
> It starts gazebo server ok but then it automatically starts a player
> server unsuccesful.
>
> It says:
>
> player invalid option -g
>
> and then player does not start and shows the classical lines with the
> correct options.
>
> also, I have modified some python scripts where the letter (e) is the
> first character.
>
> Some one could help with this issue ?
>
> Thanks a lot.
> jose.
>
> ===================================================Jose Antonio Martin H.
> Departamento de Sistemas Inform?ticos y Computaci?n
> Facultad de Inform?tica
> Universidad Complutense de Madrid
> Ciudad universitaria, 28040 Madrid
> ====================================================_______________________________________________
> Pyro-users mailing list
> Pyro-users@pyrorobotics.org
> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
>
--
Douglas S. Blank
Associate Professor, Bryn Mawr College
http://cs.brynmawr.edu/~dblank/
Office: 610 526 6501
From jamartinh at fdi.ucm.es Wed Jul 25 06:49:00 2007
From: jamartinh at fdi.ucm.es (Jose Antonio Martin H)
Date: Wed Jul 25 15:22:01 2007
Subject: [Pyro-users] problem running gazebo server
Message-ID: <003d01c7cea9$693b0920$0301a8c0@jam>
Dear friends.
I have installed pyro for the first time on an ubuntu 7.0.4 i386 machine.
I have intsalled Gazebo 7.0.4 and it works OK.
I have the next problem.
When I start pyrobot it runs ok, but I have problems when selecting gazebo server.
It starts gazebo server ok but then it automatically starts a player server unsuccesful.
It says:
player invalid option -g
and then player does not start and shows the classical lines with the correct options.
also, I have modified some python scripts where the letter (e) is the first character.
Some one could help with this issue ?
Thanks a lot.
jose.
====================================================
Jose Antonio Martin H.
Departamento de Sistemas Inform?ticos y Computaci?n
Facultad de Inform?tica
Universidad Complutense de Madrid
Ciudad universitaria, 28040 Madrid
====================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://emergent.brynmawr.edu/pipermail/pyro-users/attachments/20070725/7cf3bce4/attachment.htm
From dblank at brynmawr.edu Thu Jul 26 12:10:24 2007
From: dblank at brynmawr.edu (Douglas S. Blank)
Date: Thu Jul 26 12:12:12 2007
Subject: [Pyro-users] problem running gazebo server
In-Reply-To: <002c01c7cebc$400bb0f0$0301a8c0@jam>
References: <005a01c7cea9$7e163d10$0301a8c0@jam>
<22001.71.59.123.159.1185366683.squirrel@webmail.brynmawr.edu>
<002c01c7cebc$400bb0f0$0301a8c0@jam>
Message-ID: <46A8C770.1060104@brynmawr.edu>
Jose Antonio Martin H wrote:
> Dear Doug.
>
> Than you for you answer.
>
> Yes I have the latest pyro since I have downloaded the lastest_xxx
> pyrobot from the pyrobot site.
That probably isn't the latest. Currently, Pyro 5 is only in CVS. See:
http://pyrorobotics.org/?page=PyroDeveloperCVS
-Doug
> Also, I have the latest gazebo downloaded from sourceforge but not the
> SVN gazebo just the latest RELEASE.
>
> cheers.
> ----- Original Message ----- From: "Douglas S. Blank"
> To: "Jose Antonio Martin H"
> Cc:
> Sent: Wednesday, July 25, 2007 2:31 PM
> Subject: Re: [Pyro-users] problem running gazebo server
>
>
>> Jose,
>>
>> What version of Pyro are you running? Also, please check your version of
>> Gazebo. (Note that the latest Gazebo/Player/Stage need the latest Pyro,
>> version 5; earlier versions of P/S/G use Pyro 4.x.x).
>>
>> -Doug
>>
>> On Wed, July 25, 2007 6:49 am, Jose Antonio Martin H said:
>>>
>>>
>>>
>>> Dear friends.
>>>
>>> I have installed pyro for the first time on an ubuntu 7.0.4 i386
>>> machine.
>>>
>>> I have intsalled Gazebo 7.0.4 and it works OK.
>>>
>>> I have the next problem.
>>>
>>> When I start pyrobot it runs ok, but I have problems when selecting
>>> gazebo server.
>>>
>>> It starts gazebo server ok but then it automatically starts a player
>>> server unsuccesful.
>>>
>>> It says:
>>>
>>> player invalid option -g
>>>
>>> and then player does not start and shows the classical lines with the
>>> correct options.
>>>
>>> also, I have modified some python scripts where the letter (e) is the
>>> first character.
>>>
>>> Some one could help with this issue ?
>>>
>>> Thanks a lot.
>>> jose.
>>>
>>> ===================================================Jose Antonio
>>> Martin H.
>>> Departamento de Sistemas Inform?ticos y Computaci?n
>>> Facultad de Inform?tica
>>> Universidad Complutense de Madrid
>>> Ciudad universitaria, 28040 Madrid
>>> ====================================================_______________________________________________
>>>
>>> Pyro-users mailing list
>>> Pyro-users@pyrorobotics.org
>>> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
>>>
>>
>>
>> --
>> Douglas S. Blank
>> Associate Professor, Bryn Mawr College
>> http://cs.brynmawr.edu/~dblank/
>> Office: 610 526 6501
>>
>
From finog at yahoo.com Fri Jul 27 13:38:09 2007
From: finog at yahoo.com (Finog)
Date: Fri Jul 27 13:38:13 2007
Subject: [Pyro-users] Pyro Streaming Camera View
In-Reply-To: <200707271600.l6RG01aQ013814@emergent.brynmawr.edu>
Message-ID: <49939.18358.qm@web36115.mail.mud.yahoo.com>
I'm using the Aibo ERS-7M3 with Pyro and have been
unable to view its camera images real time in the
camera window. Opening said window prevents me from
entering any additional commands from the interface's
command line (I can type, press enter, see the typed
data disappear, but nothing happens). Additionally,
the camera window does not allow me to move it around.
Any ideas?
~Richard Barnes~
University of Minnesota Research Assistant
____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
From fox at macalester.edu Tue Jul 31 17:35:14 2007
From: fox at macalester.edu (Susan Fox)
Date: Tue Jul 31 17:35:19 2007
Subject: [Pyro-users] Loading devices automatically...
Message-ID: <46AFAB12.7050906@macalester.edu>
Hi,
I am creating devices for some slow parts of my robot program:
localization, and a GUI user interface. My problem is that I cannot
seem to load the device either through the -d command line option, nor
by creating a subclass of the PlayerRobot class and having it start up
the device. In either case, the device creation fails. However, the
device does start up fine when I click on the "Devices" button. Any
ideas why that might happen?
Thanks,
Susan
--
--
Susan Fox Associate Professor
Mathematics/Computer Science Macalester College
Office: (651) 696-6553 Fax: (651) 696-6518
E-mail: fox@macalester.edu www.macalester.edu/~fox
From fox at macalester.edu Tue Jul 31 17:40:22 2007
From: fox at macalester.edu (Susan Fox)
Date: Tue Jul 31 17:40:26 2007
Subject: [Pyro-users] Stage shutting down...
Message-ID: <46AFAC46.3060904@macalester.edu>
Hi, I'm having a bit of trouble with a GUI I wanted to attach to my pyro
brain. At the moment I'm using the stage simulator to test the brain.
I implemented the user interface as a device that creates a separate
thread, and opens a Tkinter window through that thread. It all appears
to work right, at least initially. However, after a short time, *stage*
crashes. When I don't attach the GUI device, stage goes along happily.
Has anyone seen this?
Susan
--
--
Susan Fox Associate Professor
Mathematics/Computer Science Macalester College
Office: (651) 696-6553 Fax: (651) 696-6518
E-mail: fox@macalester.edu www.macalester.edu/~fox
From fox at macalester.edu Tue Jul 31 17:46:51 2007
From: fox at macalester.edu (Susan Fox)
Date: Tue Jul 31 17:46:53 2007
Subject: [Pyro-users] Resetting the robot's position...
Message-ID: <46AFADCB.10004@macalester.edu>
Hi,
I should apologize for three messages in one day, but I've had a handful
of things crop up this week. I am running either simulated or real
Pioneer robots. Player uses the Pioneer's underlying dead-reckoning
position for robot.x and robot.y. I am using localization to correct
for dead-reckoning errors. To do so, I really need to update the
robot.x and robot.y values, and *not* have them reset from the
underlying system. I haven't had much luck with this before.
Is my best bet to make a subclass of the PlayerRobot class, and force it
not to use the underlying position values, or is there some way to
modify robot.x and robot.y and have it "stick".
Thanks,
Susan
--
--
Susan Fox Associate Professor
Mathematics/Computer Science Macalester College
Office: (651) 696-6553 Fax: (651) 696-6518
E-mail: fox@macalester.edu www.macalester.edu/~fox