From Matthew2.Studley at uwe.ac.uk Thu May 8 06:17:32 2008 From: Matthew2.Studley at uwe.ac.uk (matt studley) Date: Thu May 8 06:21:55 2008 Subject: [Pyro-users] Re: Pyro-users Digest, Vol 50, Issue 3 In-Reply-To: <200804151600.m3FG03D7017534@emergent.brynmawr.edu> References: <200804151600.m3FG03D7017534@emergent.brynmawr.edu> Message-ID: <1210241852.5668.25.camel@matt-desktop> Hi guys one of our students has suggested a (simple?) enhancement - the ability to run robots in the simulation without GUI output. This speeds up learning / evolution trials. great work on pyrobot by the way - we ran our 3rd yr advanced robotics practicals with it this year and the students got to code hybrid architectures, experiment with mapping and localization, and explored various GA / ANN techniques for generating reactive behaviours. and they've all learnt python and started to use it as their language of choice for prototyping / scripting... yes! (all except for one guy who still insists he wants to do everything else in C#) Thanks! Matt On Tue, 2008-04-15 at 12:00 -0400, pyro-users-request@pyrorobotics.org wrote: > Send Pyro-users mailing list submissions to > pyro-users@pyrorobotics.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://emergent.brynmawr.edu/mailman/listinfo/pyro-users > or, via email, send a message with subject or body 'help' to > pyro-users-request@pyrorobotics.org > > You can reach the person managing the list at > pyro-users-owner@pyrorobotics.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Pyro-users digest..." > > > Today's Topics: > > 1. Re: Maintaining trails (Douglas S. Blank) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 14 Apr 2008 13:21:43 -0400 > From: "Douglas S. Blank" > Subject: Re: [Pyro-users] Maintaining trails > To: Dave Zoltok > Cc: Pyro-Users Mailing List List > Message-ID: <480392A7.9080602@brynmawr.edu> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Dave Zoltok wrote: > > I'm currently running experiments with evolved robot controllers and I'm > > trying to see the robot's trails during multiple attempts at navigating > > towards a light source. At the moment this involves randomizing the > > robot's initial state, placing it in the environment and letting it run, > > and repeating the process several times with different randomizations. > > The problem is that whenever I reset the position of the robot, the > > trail vanishes, and the movement from the final position of one trial to > > the initial position of the next trial becomes the first segment of a > > new trial. > > > > Is there a way to have trails persist in the environment between resets? > > I've tried to piece together how the code is running, and it seems like > > I would need to store every generated trail separately, so they can be > > drawn independent of the robot's position. I have no problem doing that, > > but is there a better way? > > Dave, I wrote that and I have no idea. I'd have to go back and see how I > did that, and what resets it. > > If you come up with a better-defined interface for handling the trails, > please submit the code. Thanks! > > -Doug > > > Dave > > > > ------------------------------ > > _______________________________________________ > Pyro-users mailing list > Pyro-users@pyrorobotics.org > http://emergent.brynmawr.edu/mailman/listinfo/pyro-users > > > End of Pyro-users Digest, Vol 50, Issue 3 > ***************************************** > > > This incoming email to UWE has been independently scanned for viruses by McAfee anti-virus software and none were detected -- - - - - - - - - - - - - - - - - - - - - - - Dr Matthew Studley Senior Lecturer : Robotics Bristol Robotics Laboratory Room 3Q75 University of the West of England Coldharbour Lane Bristol BS16 1QY +44 117 328 2671 This email was independently scanned for viruses by McAfee anti-virus software and none were found From acquim at gmail.com Wed May 14 22:56:21 2008 From: acquim at gmail.com (acquim matuli) Date: Wed May 14 22:56:36 2008 Subject: [Pyro-users] Help required for rcsoccersim-9.3.7 installation on Ubuntu Message-ID: <335abedb0805141956s1c78c73dn9790b6fbc0b13a6f@mail.gmail.com> Dear Sir or madam: Good day, I am doing research within the Robocup domain and have recently downloaded a tar file of the rcsoccersim-9.3.7 version from your repository for installation on my Ubuntu 8.04 workstation. However, installation failed with the message below. I was wondering if there is a person who can me solve the problem. Regards. Acquim Matuli. Error Message: "file included from ../../boost/config.hpp:35, from ../../boost/shared_ptr.hpp:18, from addr.hpp:27, from addr.cpp:21: ../../boost/config/compiler/gcc.hpp:66:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results" In file included from addr.cpp:21: addr.hpp:62: error: extra qualification 'rcss::net::Addr::' on member 'getHostStr' make[3]: *** [addr.lo] Error 1 make[3]: Leaving directory `/home/acquimdreamer/rcsoccersim-9.3.7/rcssbase/rcssbase/net' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/acquimdreamer/rcsoccersim-9.3.7/rcssbase/rcssbase' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/acquimdreamer/rcsoccersim-9.3.7/rcssbase' make: *** [install-recursive] Error 1" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://emergent.brynmawr.edu/pipermail/pyro-users/attachments/20080515/cb1d0b16/attachment.htm From dblank at brynmawr.edu Wed May 14 23:07:33 2008 From: dblank at brynmawr.edu (Douglas S. Blank) Date: Wed May 14 23:07:44 2008 Subject: [Pyro-users] Help required for rcsoccersim-9.3.7 installation on Ubuntu In-Reply-To: <335abedb0805141956s1c78c73dn9790b6fbc0b13a6f@mail.gmail.com> References: <335abedb0805141956s1c78c73dn9790b6fbc0b13a6f@mail.gmail.com> Message-ID: <44913.64.246.146.251.1210820853.squirrel@webmail.brynmawr.edu> Hi, That was donated software from a few years ago. I could be wrong, but I wouldn't expect anyone around here to be able to help---it is just there for those that might be able to use it. -Doug On Wed, May 14, 2008 10:56 pm, acquim matuli said: > Dear Sir or madam: > > Good day, > > I am doing research within the Robocup domain and have recently downloaded > a > tar file of the rcsoccersim-9.3.7 version from your repository for > installation on my Ubuntu 8.04 workstation. > However, installation failed with the message below. I was wondering if > there is a person who can me solve the problem. > > Regards. > > Acquim Matuli. > > Error Message: "file included from ../../boost/config.hpp:35, > from ../../boost/shared_ptr.hpp:18, > from addr.hpp:27, > from addr.cpp:21: > ../../boost/config/compiler/gcc.hpp:66:7: warning: #warning "Unknown > compiler version - please run the configure tests and report the results" > In file included from addr.cpp:21: > addr.hpp:62: error: extra qualification 'rcss::net::Addr::' on member > 'getHostStr' > make[3]: *** [addr.lo] Error 1 > make[3]: Leaving directory > `/home/acquimdreamer/rcsoccersim-9.3.7/rcssbase/rcssbase/net' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory > `/home/acquimdreamer/rcsoccersim-9.3.7/rcssbase/rcssbase' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory > `/home/acquimdreamer/rcsoccersim-9.3.7/rcssbase' > make: *** [install-recursive] Error 1" > _______________________________________________ > 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 fccoelho at gmail.com Fri May 16 15:45:57 2008 From: fccoelho at gmail.com (Flavio Coelho) Date: Fri May 16 15:46:18 2008 Subject: [Pyro-users] drawing in the simulator canvas Message-ID: Hi, I am trying to implement a localization algorithm in a brain script using the particle filter method. I want to draw the particles in the simulator canvas to illustrate the progression of the localization algorithm. For those who don't know what this algorithm is all about, all I want to do is to draw and erase pixels on the main simulator canvas where the robot is moving is there an easy way to do that? thanks, Fl?vio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://emergent.brynmawr.edu/pipermail/pyro-users/attachments/20080516/4ed1f8ec/attachment.htm From dblank at brynmawr.edu Fri May 16 17:15:47 2008 From: dblank at brynmawr.edu (Douglas S. Blank) Date: Fri May 16 17:16:00 2008 Subject: [Pyro-users] drawing in the simulator canvas In-Reply-To: References: Message-ID: <482DF983.9010906@brynmawr.edu> Flavio, This is a bit ugly, but should do what you want: There is a simulation method from the robot for general access to a simulator. In the PyrobotSimulator there is also an .eval() method. You can pass in a string that will get evaluated in the simulator, where self if the sim. For example, after starting the simulator and connecting onto it: robot.simulation[0].eval("self.drawLine(0, 0, 1, 1, fill='blue', tag='particle')") will draw a blue line from (0,0) to (1,1) in the coordinates of the room, with the tag "particle". The lines aren't very persistent and will go away if the window is completely redraw. You can force them to go away with: robot.simulation[0].eval("self.remove('particle')") But, that should do what you want. Consider adding a method to pyrobot/simulators/pysim.py (and contribute it back to pyrobot). You could also add a module on this to the pyrobot wiki materials, if you like. Also, if you make a movie, I hope you show it! Good luck! -Doug Flavio Coelho wrote: > Hi, > > I am trying to implement a localization algorithm in a brain script > using the particle filter method. > > I want to draw the particles in the simulator canvas to illustrate the > progression of the localization algorithm. > > For those who don't know what this algorithm is all about, all I want to > do is to draw and erase pixels on the main simulator canvas where the > robot is moving > > is there an easy way to do that? > > thanks, > > Fl?vio > > > ------------------------------------------------------------------------ > > _______________________________________________ > Pyro-users mailing list > Pyro-users@pyrorobotics.org > http://emergent.brynmawr.edu/mailman/listinfo/pyro-users