From bob.roos at gmail.com Mon Mar 7 14:06:16 2005 From: bob.roos at gmail.com (Bob Roos) Date: Mon Mar 7 13:59:50 2005 Subject: [Pyro-users] Problems installing libRTK Message-ID: I'm using Fedora Core 2 (2.6.9-1.667 #1) and gcc version 3.4.2 on an IBM T42 (new machine, just got a little while ago). I'm a Linux newbie, but wanted to see if I could do this myself. So far I've managed to install all the files in the first 6 items on the Pyro installation page except PyOpenGL, which it said wasn't yet available. I've installed ODE, Gazebo and GSL (from the Player/Stage installation page), but when I try to install libRTK version 2.3 I get errors about "undefined reference"s to "bone", "wm1010", and "d40000". I've tried to track down these errors on the Web and have found that they do occur from time to time, but the advice given has been either to use an earlier version of gcc (and one person said that didn't work) or to track down the linker error. Does anyone have a suggestion as to what my problem might be? I found only one page on the web where this error was specifically associated with installing libRTK, but the advice given was not helpful: http://www.linuxquestions.org/questions/history/293409 Thanks in advance! Bob Roos From dblank at brynmawr.edu Mon Mar 7 15:12:03 2005 From: dblank at brynmawr.edu (Douglas S. Blank) Date: Mon Mar 7 15:06:13 2005 Subject: [Pyro-users] Problems installing libRTK In-Reply-To: References: Message-ID: <422CB593.2000104@brynmawr.edu> Bob, First, I guess you are planning on using Stage and Gazebo. Otherwise, you don't need this package. You probably won't be able to find many hints on making librtk on the big Internet; librtk is a small library from the Player/Stage robotics group. Their homepage is at: http://playerstage.sourceforge.net/ You might try joining their users mailing list, and asking them what the problem might be. However, they might just refer you to their latest and greatest software. They have been hard at work for the last year, and have much better build tools for their new software versions. Their newest version (which is almost done), though, requires a new Pyro. We have been working with them to get the new Player/Stage finished, and working on a new version of Pyro to use it. So, you could start over, and instead of building these versions for Pyro3, you can following these directions: http://pyrorobotics.org/pyro/?page=Pyro4Installation (which are almost ready for prime time) and get ready for the new Pyro4 which should be appearing in the next week or two. -Doug Bob Roos wrote: > I'm using Fedora Core 2 (2.6.9-1.667 #1) and gcc version 3.4.2 on an > IBM T42 (new machine, just got a little while ago). I'm a Linux > newbie, but wanted to see if I could do this myself. So far I've > managed to install all the files in the first 6 items on the Pyro > installation page except PyOpenGL, which it said wasn't yet available. > I've installed ODE, Gazebo and GSL (from the Player/Stage installation > page), but when I try to install libRTK version 2.3 I get errors about > "undefined reference"s to "bone", "wm1010", and "d40000". I've tried > to track down these errors on the Web and have found that they do > occur from time to time, but the advice given has been either to use > an earlier version of gcc (and one person said that didn't work) or to > track down the linker error. Does anyone have a suggestion as to what > my problem might be? I found only one page on the web where this error > was specifically associated with installing libRTK, but the advice > given was not helpful: > http://www.linuxquestions.org/questions/history/293409 > > Thanks in advance! > > Bob Roos > _______________________________________________ > Pyro-users mailing list > Pyro-users@emergent.brynmawr.edu > http://emergent.brynmawr.edu/mailman/listinfo/pyro-users > > -- Douglas S. Blank, Assistant Professor dblank@brynmawr.edu, (610)526-6501 Bryn Mawr College, Computer Science Program 101 North Merion Ave, Park Science Bld. Bryn Mawr, PA 19010 dangermouse.brynmawr.edu From stout at cs.umass.edu Tue Mar 29 12:14:20 2005 From: stout at cs.umass.edu (Andrew Stout) Date: Tue Mar 29 12:06:09 2005 Subject: [Pyro-users] Pyro 4 Installation: GDAL without root Message-ID: <77fa698a3828d9da3bf0de82d138d0a7@cs.umass.edu> forwarding to the list to see if anybody else out there has advice. The particular issue had to do with installing GDAL in anticipation of Pyro 4, but it's really a pretty general issue of people-should-package-their-software-so-that-I-don't-need-root-to- install-it. Any wisdom on means of pursuading such installations to use $HOME/local/lib/python2.x/site-packages/ instead of /usr/lib/python2.x/site-packages/ would be most appreciated. Cheers, Andrew Begin forwarded message: > Andrew Stout said: > >> Hi Doug: >> >> I've gotten up to installing GDAL on my linux box at school. 'make >> install' for GDAL gives me a permissions error when trying to write to >> /usr/lib/python2.2/site-packages/, because I don't have root; I did >> ./configure --prefix=$HOME/local/, and it looks like I've got libgdal >> in $HOME/local/lib/ like I ought to. Is there a way to get GDAL's >> python stuff to behave? Is it critical that I have it? >> > From: > Date: March 28, 2005 8:32:17 PM EST > To: "Andrew Stout" , "Douglas S. Blank" > > Subject: Re: Pyro 4 installation > > Andrew, > > In general, I don't think that there is a good way of dealing with > non-root > installations that have Python accessories. The "--prefix=" flag is > useful for > relocating files in places other than the default, but now that files > are also > installing items in the Python site-packages directory, there needs to > be > another directory flag for that. > > You might check to see if there is a flag in GDAL's Makefile, but I > suspect > that there isn't. Most programs will install the packages in the > default > Python's directory. > > This problem is going to raise its head again in the > Player/Stage/Gazebo > installs as they will also attempt to install files in the system > python > directory. > > The Mac install may go better; many people on the Player/Stage mailing > list > have been talking about it a lot lately. > > Pyro4 isn't done, but it is working. The main Player interface is > finished, > but Player isn't done with all that they need to get finished. But, > you may > not need those parts just yet (items like bumpers and grippers aren't > done > yet). Use Pyro out of CVS. I'll send a message shortly about CVS > access on the > Pyro mailing lists. > > You might want to ask these type of questions on the main Pyro-users > mailing > list, and on the Player/Stage mailing list. Good luck! > > -Doug From stout at cs.umass.edu Tue Mar 29 12:59:12 2005 From: stout at cs.umass.edu (Andrew Stout) Date: Tue Mar 29 12:51:00 2005 Subject: [Pyro-users] Pyro 4 Installation: GDAL without root In-Reply-To: <77fa698a3828d9da3bf0de82d138d0a7@cs.umass.edu> References: <77fa698a3828d9da3bf0de82d138d0a7@cs.umass.edu> Message-ID: <1f85fc7ce5769dbcdec34901fbba74e6@cs.umass.edu> (kinda) answering my own question: I just googled for "GDAL local installation" and one of the first links was the Gazebo installation instructions (which I probably should have looked at in the first place...): http://playerstage.sourceforge.net/doc/Gazebo-manual-0.5-html/ install.html They './configure --without-python' GDAL. So I guess the answer probably is (a) there's no good workaround, and (b) it's not critical. (installation process will continue after lab meeting, class, etc...) --Andrew On Mar 29, 2005, at 12:14 PM, Andrew Stout wrote: > forwarding to the list to see if anybody else out there has advice. > The particular issue had to do with installing GDAL in anticipation of > Pyro 4, but it's really a pretty general issue of > people-should-package-their-software-so-that-I-don't-need-root-to- > install-it. Any wisdom on means of pursuading such installations to > use $HOME/local/lib/python2.x/site-packages/ instead of > /usr/lib/python2.x/site-packages/ would be most appreciated. > > Cheers, > Andrew > > Begin forwarded message: > >> Andrew Stout said: >> >>> Hi Doug: >>> >>> I've gotten up to installing GDAL on my linux box at school. 'make >>> install' for GDAL gives me a permissions error when trying to write >>> to >>> /usr/lib/python2.2/site-packages/, because I don't have root; I did >>> ./configure --prefix=$HOME/local/, and it looks like I've got libgdal >>> in $HOME/local/lib/ like I ought to. Is there a way to get GDAL's >>> python stuff to behave? Is it critical that I have it? >>> > > >> From: >> Date: March 28, 2005 8:32:17 PM EST >> To: "Andrew Stout" , "Douglas S. Blank" >> >> Subject: Re: Pyro 4 installation >> >> Andrew, >> >> In general, I don't think that there is a good way of dealing with >> non-root >> installations that have Python accessories. The "--prefix=" flag is >> useful for >> relocating files in places other than the default, but now that files >> are also >> installing items in the Python site-packages directory, there needs >> to be >> another directory flag for that. >> >> You might check to see if there is a flag in GDAL's Makefile, but I >> suspect >> that there isn't. Most programs will install the packages in the >> default >> Python's directory. >> >> This problem is going to raise its head again in the >> Player/Stage/Gazebo >> installs as they will also attempt to install files in the system >> python >> directory. >> >> The Mac install may go better; many people on the Player/Stage >> mailing list >> have been talking about it a lot lately. >> >> Pyro4 isn't done, but it is working. The main Player interface is >> finished, >> but Player isn't done with all that they need to get finished. But, >> you may >> not need those parts just yet (items like bumpers and grippers aren't >> done >> yet). Use Pyro out of CVS. I'll send a message shortly about CVS >> access on the >> Pyro mailing lists. >> >> You might want to ask these type of questions on the main Pyro-users >> mailing >> list, and on the Player/Stage mailing list. Good luck! >> >> -Doug > > _______________________________________________ > Pyro-users mailing list > Pyro-users@emergent.brynmawr.edu > http://emergent.brynmawr.edu/mailman/listinfo/pyro-users > From dblank at brynmawr.edu Tue Mar 29 13:53:07 2005 From: dblank at brynmawr.edu (Douglas S. Blank) Date: Tue Mar 29 13:44:54 2005 Subject: [Pyro-users] Pyro 4 Installation: GDAL without root In-Reply-To: <1f85fc7ce5769dbcdec34901fbba74e6@cs.umass.edu> References: <77fa698a3828d9da3bf0de82d138d0a7@cs.umass.edu> <1f85fc7ce5769dbcdec34901fbba74e6@cs.umass.edu> Message-ID: <4249A413.40201@brynmawr.edu> Andrew Stout wrote: > (kinda) answering my own question: > > I just googled for "GDAL local installation" and one of the first links > was the Gazebo installation instructions (which I probably should have > looked at in the first place...): > http://playerstage.sourceforge.net/doc/Gazebo-manual-0.5-html/ install.html > They './configure --without-python' GDAL. So I guess the answer > probably is (a) there's no good workaround, and (b) it's not critical. > (installation process will continue after lab meeting, class, etc...) > > --Andrew Thanks for the info. Of course, you won't be able to ignore many of the Python programs (like wxPython, gazebo, and playerc) which are necessary. But maybe they have redirect flags for Make (or distutils, Python's installer) to put them in a different place. If you do put them someplece else (say $HOME/python), you can then: export PYTHONPATH=$PYTHONPATH:$HOME/python to make it so that Python will look there as well. Let us know what you discover! I will use this information in making an rpm file. -Doug > On Mar 29, 2005, at 12:14 PM, Andrew Stout wrote: > >> forwarding to the list to see if anybody else out there has advice. >> The particular issue had to do with installing GDAL in anticipation >> of Pyro 4, but it's really a pretty general issue of >> people-should-package-their-software-so-that-I-don't-need-root-to- >> install-it. Any wisdom on means of pursuading such installations to >> use $HOME/local/lib/python2.x/site-packages/ instead of >> /usr/lib/python2.x/site-packages/ would be most appreciated. >> >> Cheers, >> Andrew >> >> Begin forwarded message: >> >>> Andrew Stout said: >>> >>>> Hi Doug: >>>> >>>> I've gotten up to installing GDAL on my linux box at school. 'make >>>> install' for GDAL gives me a permissions error when trying to write to >>>> /usr/lib/python2.2/site-packages/, because I don't have root; I did >>>> ./configure --prefix=$HOME/local/, and it looks like I've got libgdal >>>> in $HOME/local/lib/ like I ought to. Is there a way to get GDAL's >>>> python stuff to behave? Is it critical that I have it? >>>> >> >> >>> From: >>> Date: March 28, 2005 8:32:17 PM EST >>> To: "Andrew Stout" , "Douglas S. Blank" >>> >>> Subject: Re: Pyro 4 installation >>> >>> Andrew, >>> >>> In general, I don't think that there is a good way of dealing with >>> non-root >>> installations that have Python accessories. The "--prefix=" flag is >>> useful for >>> relocating files in places other than the default, but now that >>> files are also >>> installing items in the Python site-packages directory, there needs >>> to be >>> another directory flag for that. >>> >>> You might check to see if there is a flag in GDAL's Makefile, but I >>> suspect >>> that there isn't. Most programs will install the packages in the >>> default >>> Python's directory. >>> >>> This problem is going to raise its head again in the >>> Player/Stage/Gazebo >>> installs as they will also attempt to install files in the system >>> python >>> directory. >>> >>> The Mac install may go better; many people on the Player/Stage >>> mailing list >>> have been talking about it a lot lately. >>> >>> Pyro4 isn't done, but it is working. The main Player interface is >>> finished, >>> but Player isn't done with all that they need to get finished. But, >>> you may >>> not need those parts just yet (items like bumpers and grippers >>> aren't done >>> yet). Use Pyro out of CVS. I'll send a message shortly about CVS >>> access on the >>> Pyro mailing lists. >>> >>> You might want to ask these type of questions on the main Pyro-users >>> mailing >>> list, and on the Player/Stage mailing list. Good luck! >>> >>> -Doug >> >> >> _______________________________________________ >> Pyro-users mailing list >> Pyro-users@emergent.brynmawr.edu >> http://emergent.brynmawr.edu/mailman/listinfo/pyro-users >> > > _______________________________________________ > Pyro-users mailing list > Pyro-users@emergent.brynmawr.edu > http://emergent.brynmawr.edu/mailman/listinfo/pyro-users > > -- Douglas S. Blank, Assistant Professor dblank@brynmawr.edu, (610)526-6501 Bryn Mawr College, Computer Science Program 101 North Merion Ave, Park Science Bld. Bryn Mawr, PA 19010 dangermouse.brynmawr.edu From skzofrenik at hotmail.com Tue Mar 29 18:08:47 2005 From: skzofrenik at hotmail.com (F A) Date: Tue Mar 29 18:00:31 2005 Subject: [Pyro-users] Pyro--LiveCD Message-ID: Hello, I'm using the Pyro LiveCD and have a couple of questions: 1) How would I go about changing any of the code if I wanted to and compiling it so that it would run with my changes--while using a LiveCD? 2) Also, when a brain is uploaded, where in the Pyro code is the code/commands in the brain program parsed and executed? 3) I've looked at the GUI code and see where most of the commands there are executed, but don't see where the "move" command is identified as that is a valid command-line command. 4) What would be the best/easiest way to directly talk (via serial communication) using Pyro? Thank you for all your help. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From dblank at brynmawr.edu Tue Mar 29 21:59:59 2005 From: dblank at brynmawr.edu (Douglas S. Blank) Date: Tue Mar 29 21:51:43 2005 Subject: [Pyro-users] Pyro--LiveCD In-Reply-To: References: Message-ID: <424A162F.8090007@brynmawr.edu> Hello F A, some comments below. F A wrote: > Hello, > I'm using the Pyro LiveCD and have a couple of questions: > > 1) How would I go about changing any of the code if I wanted to and > compiling it so that it would run with my changes--while using a LiveCD? You won't be able to change Pyro, but you can create your own brains, devices, robots, etc. There are actually a few options for this. First, you could mount a USB flash memory stick, and put your files there. That is probably the easiest, given that Knoppix (on which this Pyro LiveCD is based) recognizes the memory stick. There is also a method on the CD for creating/saving/loading a desktop. If you go to the K-menu, select "KNOPPIX", "Utilities" you will see "Chose/Restart KNOPPIX Desktop". I'm pretty sure that these options are exactly what you are looking for, but I don't know how to use them. I suspect that any Knoppix help will, er, help :) Finally, you could just "scp" your files to a server, and scp them back after a reboot. Also, cvs would work for that as well. > 2) Also, when a brain is uploaded, where in the Pyro code is the > code/commands in the brain program parsed and executed? The brain is loaded with the code in pyro/system/__init__.py specifically in the loadINIT function. But Python does all of the heavy lifting, and automatically parses and executes the code. Is that what you mean? > 3) I've looked at the GUI code and see where most of the commands there > are executed, but don't see where the "move" command is identified as > that is a valid command-line command. Move is a method in the Robot class. You'll find that in pyro/robot/__init__.py (and maybe subclassed in a particular robot class, like pyro/robot/aibo.py). > 4) What would be the best/easiest way to directly talk (via serial > communication) using Pyro? You can look at the Khepera code in pyro/robot/khepera.py as an example. It uses the Serial() class to open a port to talk to a device. > > Thank you for all your help. Hope this does! -Doug > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today - it's > FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > _______________________________________________ > Pyro-users mailing list > Pyro-users@emergent.brynmawr.edu > http://emergent.brynmawr.edu/mailman/listinfo/pyro-users > > -- Douglas S. Blank, Assistant Professor dblank@brynmawr.edu, (610)526-6501 Bryn Mawr College, Computer Science Program 101 North Merion Ave, Park Science Bld. Bryn Mawr, PA 19010 dangermouse.brynmawr.edu From dblank at brynmawr.edu Wed Mar 30 00:19:06 2005 From: dblank at brynmawr.edu (Douglas S. Blank) Date: Wed Mar 30 00:10:52 2005 Subject: [Pyro-users] The road to Pyro4 Message-ID: <424A36CA.1010206@brynmawr.edu> Pyro4 is nearing completion. We're actually waiting on some pieces in Player/Stage/Gazebo to get wrapped up. Specifically, here is what is currently NOT working in Player/Stage/Gazebo: - bumpers aren't working - grippers aren't working - the pan-tilt-zoom needs to be checked - new communication model needs to be checked - camera in gazebo leaves leftover bytes for some reason - need to check new Player on real robots Also, some pieces that we hope will get added to P/S/G: - a noise model in odometry - a noise model in sensor readings - simulated lights and sensors (for Braitenburg Vehicles) - have a PLAYERPATH so that users don't have to copy all of the include files into their directory If anyone would like to help the P/S/G group wrap these up, we all would be appreciative. We don't have a Pyro4 release yet, but we do now have something that finally fell into place: anonymous CVS. This means that you can always and instantly get the latest/greatest bleeding edge of Pyro. You can read more about anonymous CVS at: http://emergent.brynmawr.edu/emergent/PyroDeveloperCVS and Pyro4 Installation notes at: http://emergent.brynmawr.edu/emergent/Pyro4Installation Warning: Pyro4 is currently using P/S/G out of their CVS, and you'll need Pyro4 out of our CVS, so this stuff is very bleeding edge. Beware! -Doug -- Douglas S. Blank, Assistant Professor dblank@brynmawr.edu, (610)526-6501 Bryn Mawr College, Computer Science Program 101 North Merion Ave, Park Science Bld. Bryn Mawr, PA 19010 dangermouse.brynmawr.edu