From: Robotics P. u. h. l. <rob...@li...> - 2007-09-29 19:51:41
|
I installed Imlib but now when i run "scons install" in player it says gsl-config not found. Is there some install file I need to run or some document saying what I need installed? My system is Ubuntu 7.something festy faun John Cummins --------------------------------- Got a little couch potato? Check out fun summer activities for kids. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-09-29 20:05:30
|
OK OK so I installed gsl (scientific lib) and now it says fltk-config not found. I guess I know what to do now I will get back to you when the scons install, not found, install scons install ..... loop ends Is there a easer way? John Cummins --------------------------------- Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-09-29 20:13:36
|
OK I installed Imlib, gsl, fltk and ftgl now when I run scons install in player I get john@john-desktop:~/Desktop/Robots/roboticsprimer-0.1/player$ scons install scons: Reading SConscript files ... Package roombaDev was not found in the pkg-config search path. Perhaps you should add the directory containing `roombaDev.pc' to the PKG_CONFIG_PATH environment variable No package 'roombaDev' found <type 'exceptions.OSError'>: 'pkg-config --cflags --libs roombaDev' exited 1: File "/home/john/Desktop/Robots/roboticsprimer-0.1/player/SConstruct", line 54: SConscript('%s/SConscript' % subdir) File "/usr/lib/scons/SCons/Script/SConscript.py", line 579: return apply(method, args, kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 516: return apply(_SConscript, [self.fs,] + files, subst_kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 244: exec _file_ in call_stack[-1].globals File "/home/john/Desktop/Robots/roboticsprimer-0.1/player/behavior_network/SConscript", line 27: senv.ParseConfig(cfg) File "/usr/lib/scons/SCons/Environment.py", line 1103: return function(self, self.backtick(command)) File "/usr/lib/scons/SCons/Environment.py", line 468: raise OSError("'%s' exited %s" % (command, status)) john@john-desktop:~/Desktop/Robots/roboticsprimer-0.1/player$ Any advice? John Cummins --------------------------------- Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-09-29 22:59:41
|
Does any one know where the file roombaDev.pc is? I've been adding packages and discovered I needed to run "scons install" in directory "create" as su "sudo scons install" but in player and exercise/01* I still get an error that it cant find roombaDev.pc Any advice would be appreatiated JC --------------------------------- Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-03 18:56:21
|
Hello, I just put up some new come code on the SVN server. The changes will hopefully fix the problem. Get it at: https://sourceforge.net/svn/?group_id=185198 -nate On 9/29/07, Robotics Primer users help list <rob...@li...> wrote: > Does any one know where the file roombaDev.pc is? > > I've been adding packages and discovered I needed to run > "scons install" in directory "create" as su > "sudo scons install" > > but in player and exercise/01* I still get an error that it cant find > roombaDev.pc > > Any advice would be appreatiated > > JC > > > > ________________________________ > Luggage? GPS? Comic books? > Check out fitting gifts for grads at Yahoo! Search. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Roboticsprimer-users mailing list > Rob...@li... > https://lists.sourceforge.net/lists/listinfo/roboticsprimer-users > > |
From: Robotics P. u. h. l. <rob...@li...> - 2007-09-30 02:32:36
|
Is there any one there? are there any instructions on using/setting up this thing? If anyone else is trying this, this is what I have found out. 1) First down load the workbook, they like to hide it on the site but with a little diligence you can find it. 2) next you have to install a whole lot of software Imlib, gsl, fltk, ftgl, avr, avrdude , ckermit, etc. 3) then you have to run "scons install" in directories create and player. 3.5) you may have to be super user to do 3 4) at this time you will probably see messages cant find abc that's because the abc software needs to be installed 5) continue doing 4 and 5 until the scons work, or as in my case they either work or say you need "roombaDev.pc" 6) Join me in demanding some info about roombaDev.pc If I am doing anything dumb please enlighten me John Cummins --------------------------------- Need a vacation? Get great deals to amazing places on Yahoo! Travel. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-09-30 13:23:14
|
Hi John, I'm away from my Linux machine right now, so I can't give you a more detailed instruction. But based on the error you gave in your previous email: Package roombaDev was not found in the pkg-config search path. Perhaps you should add the directory containing `roombaDev.pc' to the PKG_CONFIG_PATH environment variable No package 'roombaDev' found The problem is that roombaDev.pc is not within the search path of PKG_CONFIG_PATH. Try: 1. Find where your library and header files are installed (the path can be found by opening the SConstruct script). 2. Search that directory, and find where roombaDev.pc is. Record the exact path to the directory containing the file. This is usually called pkgconfig. 3. Open up your shell's startup script - this is .bashrc or .profile or something similar to it, depending on your system. 4. At the end of the file, insert: export PKG_CONFIG_PATH=/Volumes/Files/Users/jiuguangw/Programs/player/ lib/pkgconfig:$PKG_CONFIG_PATH Replace my directory above with the string you obtained from step #2. Make sure you didn't accidently delete something from the script. Close all terminals and open up a new one. Try whatever it is you were doing before, and see if the error reappears. To check if you followed these instructions correctly, you can do: echo $PKG_CONFIG_PATH and see if that directory is indeed listed. Hope this helps, Jiuguang On Sep 29, 2007, at 10:32 PM, Robotics Primer users help list wrote: > Is there any one there? > are there any instructions on using/setting up this thing? > If anyone else is trying this, this is what I have found out. > 1) First down load the workbook, they like to hide it on the site > but with a little diligence you can find it. > 2) next you have to install a whole lot of software Imlib, gsl, > fltk, ftgl, avr, avrdude , ckermit, etc. > 3) then you have to run "scons install" in directories create and > player. > 3.5) you may have to be super user to do 3 > 4) at this time you will probably see messages cant find abc that's > because the abc software needs to be installed > 5) continue doing 4 and 5 until the scons work, or as in my case > they either work or say you need "roombaDev.pc" > 6) Join me in demanding some info about roombaDev.pc > > If I am doing anything dumb please enlighten me > > John Cummins > > Need a vacation? Get great deals to amazing places on Yahoo! Travel. > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Roboticsprimer-users mailing list > Rob...@li... > https://lists.sourceforge.net/lists/listinfo/roboticsprimer-users |
From: Robotics P. u. h. l. <rob...@li...> - 2007-09-30 21:08:36
|
Perhaps I did not make my self clear. the only file named anything like roombaDev on my system is "group__roombadev.html" which is a html file and scons does nothing with it. Where was "roombaDev.pc" supposed to have come from? The work book? Player/stage? The other .pc files seem to describe compile options and library names to use a particular library, probably called libroomba or something similar. I have searched my system and the internet for anything similar but without luck. synaptic package manager also knows nothing about this. If you have the source for "roombaDev.pc" could you send it to me? and the location on your system might help. I might then be able to search for the actual libraries. Thank you for you responses JC --------------------------------- Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-09-30 21:29:01
|
I have found a library called libroomba.la in player-2.0.4/server/drivers/mixed/irobot/roomba could this be the one? still cant fine roombaDev.pc JC --------------------------------- Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-09-30 21:42:38
|
roombaDev.pc is a file required by pkg-config to locate the roomba library - in your previous email, you said that you got the error when you tried to compile one of the exercises, right? roombaDev.pc should have been generated after you compiled the library. Retrace your steps - was there an error when you compiled the library that tells you roombaDev.pc could not be generated? player-2.0.4/server/drivers/mixed/irobot/roomba is the driver from the Player server - you are looking for the library from the workbook. This is the wrong place to look. As I said before, I'm away from my Linux machine at the moment, and cannot tell you exactly where this .pc file is. (it's usually in libs/ pkgconfig). If you can't wait, I would suggest that you write your own Scons/Makefile to compile the exercise code (assuming that you actually have the library and the only thing missing is the .pc file). Jw On Sep 30, 2007, at 5:28 PM, Robotics Primer users help list wrote: > I have found a library called libroomba.la in > player-2.0.4/server/drivers/mixed/irobot/roomba > could this be the one? > still cant fine roombaDev.pc > > JC > > Don't let your dream ride pass you by. Make it a reality with > Yahoo! Autos. > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Roboticsprimer-users mailing list > Rob...@li... > https://lists.sourceforge.net/lists/listinfo/roboticsprimer-users |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-01 02:11:05
|
I guess the crux question I have at the moment is does the roombaDev.pc file come from the workbook, or from player.? If it comes from the work book, then where is it (what directory) and how do I create it? I have tried down loading at least twice and it doesn't get down loaded. The only .pc file I get is cr8.pc Thinking it might come from the Player/Stage stuff I have down loaded that again and some of the stuff in server/drivers/mixed/irobot/roomba looks similar to the group__roombaDev.html file in the documentation that comes with the work book. If it does come from player how do I generate it as it doesn't get generated by default. JC --------------------------------- Need a vacation? Get great deals to amazing places on Yahoo! Travel. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-01 12:15:35
|
Well, I am proceeding on the assumption that the old roombaDev is now cr8 and have copied cr8.pc to roombaDev.pc and then tried sudo scons install in player. It goes a lot farther but finaly stops saying g++ -o behavior_network/libroombaBehavior.so -shared behavior_network/Behavior.os behavior_network/BehaviorNetwork.os behavior_network/ArbiterClient.os -L/home/nate/local/lib -L/usr/local/lib -lcr8 -lplayercore -lltdl -lpthread -lplayerc++ -lplayerc -lm -lplayerxdr -lplayererror /usr/bin/ld: skipping incompatible /home/nate/local/lib/libcr8.a when searching for -lcr8 /usr/bin/ld: cannot find -lcr8 collect2: ld returned 1 exit status scons: *** [behavior_network/libroombaBehavior.so] Error 1 scons: building terminated because of errors. Any ideas? Particularly I am looking for information on the source of the elusive roombaDev.pc and/or what would cause libcr8.a to be incompatable? I thank everyone who has answered JC --------------------------------- Shape Yahoo! in your own image. Join our Network Research Panel today! |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-01 22:02:04
|
I don't know if any one is reading this but here is a summary of my progress 1) First down load the workbook, they like to hide it on the site but with a little diligence you can find it. 2) next you have to install a whole lot of software Imlib, gsl, fltk, ftgl, avr, avrdude , ckermit, etc. 3) then you have to run "scons install" in directories create and player. 3.5) you may have to be super user to do 3 4) at this time you will probably see messages cant find abc that's because the abc software needs to be installed 5) continue doing 4 and 5 until the scons work, or as in my case they either work or say you need "roombaDev.pc" 6) go to roboticsprimer-0.1/create and cp cr8.pc roombaDev.pc 7) export PKG_CONFIG_PATH=/home/john/roboticsprimer-0.1/create:$PKG_CONFIG_PATH 8) go to /usr/include/FL cp Fl_Window.H FL_Window.h cp Fl.H Fl.h (upper case H to lower case h) 9) in exercises/01-introduction/gumstix do scons result main.cc:102 error: 'class Client" has no member named stop 10) commented out offending line compiled but link of intro failed g++ -o intro -lroombaClient main.o exercise.o -L/usr/local/lib -L/home/nate/local/lib -L/usr/lib -L/usr/X11R6/lib -ljpeg -lplayercore -lltdl -lpthread -lplayerc++ -lplayerc -lplayerxdr -lplayererror -lcr8 -lxml2 -lImlib2 -lX11 -lXext -ldl -lgsl -lgslcblas -lm -lfltk_images -lfltk_gl -lfltk -lGLU -lGL -lfreetype -lz -lftgl /usr/bin/ld: cannot find -lroombaClient collect2: ld returned 1 exit status 11) in player get this error g++ -o behavior_network/libroombaBehavior.so -shared behavior_network/Behavior.os behavior_network/BehaviorNetwork.os behavior_network/ArbiterClient.os -L/home/nate/local/lib -L/usr/local/lib -lcr8 -lplayercore -lltdl -lpthread -lplayerc++ -lplayerc -lm -lplayerxdr -lplayererror /usr/bin/ld: skipping incompatible /home/nate/local/lib/libcr8.a when searching for -lcr8 /usr/bin/ld: cannot find -lcr8 looks like I have my list of required packages, grin! I shall continue to explore this as I get the time. If there is anyone out there who understands why the down load seems to be in such a chaotic state I would appreciate some assistance. I am repaired to turn my experiences in to a HOWTO get started for the perplexed JC --------------------------------- Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more! |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-03 18:59:28
|
Hello, The roombaDev.pc file is automatically generated at compile time. However, the SConstruct file was setup incorrectly. This has hopefully been fixed, with the necessary changes on the SVN server. Instructions on how to download the new code are here: https://sourceforge.net/svn/?group_id=185198 -nate On 10/1/07, Robotics Primer users help list <rob...@li...> wrote: > I don't know if any one is reading this but here is a summary of my progress > > 1) First down load the workbook, they like to hide it on the site but > with a little diligence you can find it. > 2) next you have to install a whole lot of software Imlib, gsl, fltk, > ftgl, avr, avrdude , ckermit, etc. > 3) then you have to run "scons install" in directories create and > player. > 3.5) you may have to be super user to do 3 > 4) at this time you will probably see messages cant find abc that's > because the abc software needs to be installed > 5) continue doing 4 and 5 until the scons work, or as in my case they > either work or say you need "roombaDev.pc" > 6) go to roboticsprimer-0.1/create and cp cr8.pc roombaDev.pc > 7) export > PKG_CONFIG_PATH=/home/john/roboticsprimer-0.1/create:$PKG_CONFIG_PATH > 8) go to /usr/include/FL > cp Fl_Window.H FL_Window.h > cp Fl.H Fl.h > (upper case H to lower case h) > 9) in exercises/01-introduction/gumstix do scons result > main.cc:102 error: 'class Client" has no member named stop > 10) commented out offending line compiled but link of intro failed > > g++ -o intro -lroombaClient main.o exercise.o -L/usr/local/lib > -L/home/nate/local/lib -L/usr/lib -L/usr/X11R6/lib -ljpeg -lplayercore > -lltdl -lpthread -lplayerc++ -lplayerc -lplayerxdr -lplayererror -lcr8 > -lxml2 -lImlib2 -lX11 -lXext -ldl -lgsl -lgslcblas -lm -lfltk_images > -lfltk_gl -lfltk -lGLU -lGL -lfreetype -lz -lftgl > /usr/bin/ld: cannot find -lroombaClient > collect2: ld returned 1 exit status > 11) in player get this error > g++ -o behavior_network/libroombaBehavior.so -shared > behavior_network/Behavior.os > behavior_network/BehaviorNetwork.os > behavior_network/ArbiterClient.os -L/home/nate/local/lib > -L/usr/local/lib -lcr8 -lplayercore -lltdl -lpthread -lplayerc++ -lplayerc > -lm -lplayerxdr -lplayererror > /usr/bin/ld: skipping incompatible /home/nate/local/lib/libcr8.a when > searching for -lcr8 > /usr/bin/ld: cannot find -lcr8 > > > looks like I have my list of required packages, grin! > > > I shall continue to explore this as I get the time. > > If there is anyone out there who understands why the down load seems to be > in such > a chaotic state I would appreciate some assistance. I am repaired to turn > my experiences in to a HOWTO get started for the perplexed > > JC > > > > ________________________________ > Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, > and more! > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Roboticsprimer-users mailing list > Rob...@li... > https://lists.sourceforge.net/lists/listinfo/roboticsprimer-users > > |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-03 14:39:04
|
Now I am trying to do the gumstix wifi set up and have a few questions. I) the adaptor is sold by acroname has been discontinued I am using their suggested replacement S23-USB-INT-ASSM. 2) the instructions say to plug this cable into the white socket on the Robostix. There is no white socket on my Robostix. I assume you mean the one in the middle labeled GUMSTIX. Is this correct? 3) The instructions next tell me there is something odd on connecting up this and to examine the image carefully. There is no image to examine carefully. when I click on the put image here I am offered a chance to login presumably to upload my image! 4) I try various orientations of the plug but nothing works with kermit. This I now realize is because I am not supplying any power to the gemstix stack. Is the iCreate supposed to supply power to the stack via the cable I make in the next step? Or do I supply battery power? I assume the latter and will try to find out the requirements from gumstix. It would be nice is you could post info on this? To avoid confusion I am asking 1) is it alright to use the replacement cable 2) is the socket in question the 4 pin one labeled GUMSTIX 3) Could you please post the image in question, or at least report in greater detail what makes this connection unusual. 4) How does the gumstix stack get power, if by battery what voltage and what are the recommended battery packs and connectors. I shall try to find this out from gumstix. John Cummins --------------------------------- Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-03 14:54:08
|
Update In the cons section on for gumstix in Prerequisites it does mention requiring a separate battery pack as a con for iCreate/gumstix option, But I can not find anything else on your site about this battery. Gumstix recommends 5 volts for their computers. there appears to be two locations where the power could be connected does it make a difference? John Cummins --------------------------------- Need a vacation? Get great deals to amazing places on Yahoo! Travel. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-03 21:07:43
|
After some research at gumstix and digikey, gumstix recommends 5v regulated applied to the Robostix and sells a power supply for 10 or 15 bucks. The plug that goes into the power receptacle on the Robostix is part # CP-012-ND at Digikey so if any one is starting down this path they might want to add that to their Digikey order. This may be a waste as the folks at Robotics Primer may have a totally different way of powering the gumstix but as it is only 90 cents ... I shall continue to list my trials and errors on this site as no one has told me not to and they hight help someone to avoid my mistakes. John Cummins --------------------------------- Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-05 14:17:35
|
Hi John, Thanks for the info. And you're going down a very good path. You can attach that plug to a DC-DC converter (http://www.dimensionengineering.com/DE-SW050.htm) that is attached to the 14V output on the Create's bay port. -nate On 10/3/07, Robotics Primer users help list <rob...@li...> wrote: > After some research at gumstix and digikey, gumstix recommends 5v regulated > applied to the Robostix and sells a power supply for 10 or 15 bucks. The > plug that goes into the power receptacle on the Robostix is part # CP-012-ND > at Digikey so if any one is starting down this path they might want to add > that to their Digikey order. > This may be a waste as the folks at Robotics Primer may have a totally > different way of powering the gumstix but as it is only 90 cents ... > > I shall continue to list my trials and errors on this site as no one has > told me not to and they hight help someone to avoid my mistakes. > > John Cummins > > > > ________________________________ > Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel > and lay it on us. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Roboticsprimer-users mailing list > Rob...@li... > https://lists.sourceforge.net/lists/listinfo/roboticsprimer-users > > |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-08 19:46:23
|
OK I have connected up a 6 volt supply to the gumstix. and it works ok the instructions for changing /etc/network/interfaces do not work. If I make either of the changes suggested in the intro text the wifi does not work if I have the line iface mwlan0 inet 192.168.0.1 in interfaces when the gumstix reboots it says somethimg like 192.168.0.1 is not a method if I do it with the interfaces file as it came iface mwlan0 inet dhcp the ifconfig always, so far, says its address is 192.168.1.104 so I move on to try the intro stuff when i try ./intro client.xml I get connection refused, even after I change the .xml file to my address A few questions 1) do I need to have player running on my host system if what is the commandline I should use. I have only used Player/Stage as a simulator so far and have no idea ho to connect it to the robot. 2)should something be running on the gumstix? if so how should I down load it? 3) does any one know how to set up the gumstix so it comes up with a specified address? The instructions on the web site don't work in my case. If there is anyone out there who has got further than me in the iCreate/Gumstix set up I would appreciate a reply. John Cummins --------------------------------- Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-08 20:03:37
|
> 1) do I need to have player running on my host system if what is > the commandline > I should use. I have only used Player/Stage as a simulator so far > and have no idea > ho to connect it to the robot. By "host system", I assume you mean your computer (the correct term is "client"). The answer is no. All you need on the client side is your own controller. > 2)should something be running on the gumstix? if so how should I > down load it? Yes. The Player server should be running on the Gumstix. If it is not there already, you need to follow: http://playerstage.sourceforge.net/doc/Player-2.0.0/player/ group__tutorial__crosscompiling.html To cross-compile it for the Gumstix. > 3) does any one know how to set up the gumstix so it comes up with > a specified address? The instructions on the web site don't work in > my case. The only way that I know is to edit /etc/network/interfaces. Answer these questions for me: 1. Do you know the IP address for your Gumstix (the static IP that you specified, without DHCP). 2. On your Desktop/Laptop, can you ping that IP address? 3. In your client.xml, does the IP address match (1)? I suspect that that the reason the connection is refused is because Player isn't running on the Gumstix. On Oct 8, 2007, at 3:46 PM, Robotics Primer users help list wrote: > OK I have connected up a 6 volt supply to the gumstix. > and it works ok > the instructions for changing /etc/network/interfaces do not work. > If I make either of the changes suggested in the intro text the > wifi does not work > if I have the line > iface mwlan0 inet 192.168.0.1 > in interfaces when the gumstix reboots it says somethimg like > 192.168.0.1 is not a method > if I do it with the interfaces file as it came > iface mwlan0 inet dhcp > the ifconfig always, so far, says its address is 192.168.1.104 > so I move on to try the intro stuff > when i try > ./intro client.xml > I get connection refused, even after I change the .xml file to my > address > > A few questions > 1) do I need to have player running on my host system if what is > the commandline > I should use. I have only used Player/Stage as a simulator so far > and have no idea > ho to connect it to the robot. > 2)should something be running on the gumstix? if so how should I > down load it? > 3) does any one know how to set up the gumstix so it comes up with > a specified address? The instructions on the web site don't work in > my case. > > If there is anyone out there who has got further than me in the > iCreate/Gumstix > set up I would appreciate a reply. > > John Cummins > > > Be a better Heartthrob. Get better relationship answers from > someone who knows. > Yahoo! Answers - Check it out. > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Roboticsprimer-users mailing list > Rob...@li... > https://lists.sourceforge.net/lists/listinfo/roboticsprimer-users |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-08 20:15:42
|
OK so I applied 6 volts to the gumstix and it boots. The instructions for changing /etc/network/interfaces so it will boot with a specified address do not work, at least not in my case. When I put iface mwlan0 inet 192.168.0.1 and reboot the gumstix it says 192.168.0.1 is not a method. However with the original interfaces file it seems to work ok with, so far, the address always being 192.168.1.104. This I can work around. When I go to intro and run ./intro client.xml after changing the address I get Loading config file[client.xml] Trying to connect to [192.168.1.104:6665] calling connect done playerc error : connect call on [192.168.1.104:6665] failed with error [111:Connection refused] terminate called after throwing an instance of 'PlayerCc::PlayerError' Aborted (core dumped) when I try running player player.cfg with the .cfg file given in the mail i get john@john-desktop:~/roboticsprimer-0.1/player$ player player.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. error : Couldn't find driver "create" error : failed to parse config file player.cfg I have some questions 1) should my host computer be running player, if so how? 2)should the gumstix computer be running something? If so what? and how do I down load it? 3) does anyone know the correct way to set up /etc/network/interfaces If there is anyone out there who has got further than I have in setting up iCreate/gumstix I would appreciate a reply. I sense I am close and probably with some trial and error will get the thing working. Once I do I will write up my notes so others will have a easer time. John Cummins --------------------------------- Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-08 22:17:10
|
the program cr8_program seems to be trying to load something to the gumstix over the /dev/ttyUSB0 pseudo serial port. However I don't know what needs to be running on the gumstix so cr8_program is not getting the responses it needs. Any Ideas? Questions 1) Do I need player running on my host? is so how? 2)What do I need running on the gumstix? How? 3) Has anyone done this before? JC --------------------------------- Check out the hottest 2008 models today at Yahoo! Autos. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-09 00:10:46
|
Thank you for your responcse Something is strange when I go to the site I don't see any of the responses to my messages, so I have to wait for the digest. Terminology. I have a Linux desktop upon which I have down loaded the workbook. This is connected via a USB pseudo serial line to the serial port on the gumstix. I refer to the Desktop as the host and the gumstix as the client. It sounds like you're saying the gumstix is the host and my desktop the server? I don't see why you would turn that around but ok to avoid confusion I will refer to my desktop computer as Desktop and my gumstix as gumstix. I have deduced that I need something running on the gumstix. Your note indicated that is the cross-compiled player. I think that the cross-compiled player was made when I ran "scons install" in roboticsprimer/player, I know it needed avr-g++ and avrdude to run, so if it wasn't cross compiling player what eas it doing?so I need to know the name of the file and how to get it to the gumstix. The tutorial just said scp it but didn't say how. Questions 1) What do I need to run on the desktop? 2)what do I need to run on the gumstix? and how do I get it there? could you perhaps give a sample scp command? 3) I assume when I get player on gumstix I run it giving the cfg you mentioned in the e-mail I have a player directory in which I downloaded player and the roboticsprimer/player directory which I downloaded with the work book, could you specify which one you mean when you say player? This may sound very confused to you. but to me I have managed to compile all the code, establish some sort of connection to gumstix and am now dead in the water as there are no instructions other than scp it. scp what? scp how? etc John Cummins --------------------------------- Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-09 00:32:30
|
Hello John, On Terminology - Player is a layer of abstraction above the actual hardware (the robot) - you can refer to the Player/Stage website for exactly what this means. Essentially, you need to understand that it is the Player server that is communicating with the robot, and your own controller (your desktop) is sending commands/requests to the Player server. The Client/Server model says that the Gumstix running the Player server is the server, and your desktop computer running the controller is the client. The roboticsprimer/player code you compiled is the library for the Roomba/Create. It's purpose is to simplify your own controller code by providing some useful functions - it does not replace Player, but rather work with it. it is not necessary to SCP this library to the Gumstix. All you need to do is to write a controller (or use the exercise code), link it against the library, and run it on your desktop or SCP that binary to the Gumstix. If you are running the controller on your desktop, client.xml need to have the correct IP address to the Gumstix. If you are running it on the Gumstix itself, the IP address is "localhost". To answer your questions: > 1) What do I need to run on the desktop? Your controller. > 2)what do I need to run on the gumstix? and how do I get it there? > could you perhaps give a sample scp command? The Player server. This is not the code from the workbook - you need to get it from the official website, and cross compile it as I indicated before. You can learn more about SCP from Google, but generally, it is like: scp config.cfg root@gumstix:~/config.cfg > 3) I assume when I get player on gumstix I run it giving the cfg > you mentioned in the e-mail > I'm not sure what you are saying here - if you do have a "player" binary and a .cfg file, you would run it as: ./player config.cfg On a separate note, you should drop any code that has anything to do with cr8 - if you read the website, the cr8 portion of the code is designed for the Command Module (the green bar) that iRobot sells. If you are using the Gumstix, you shouldn't have anything to do with that. If you are still using your hacked version of roombaDev.pc, you should compile the workbook code again, as Nate instructed earlier. Good luck, Jiuguang On Oct 8, 2007, at 8:10 PM, Robotics Primer users help list wrote: > Thank you for your responcse > > Something is strange when I go to the site I don't see any of the > responses to my messages, so I have to wait for the digest. > > Terminology. > I have a Linux desktop upon which I have down loaded the workbook. > This is connected via a USB pseudo serial line to the serial port > on the gumstix. I refer to the Desktop as the host and the gumstix > as the client. It sounds like you're saying the gumstix is the host > and my desktop the server? I don't see why you would turn that > around but ok to avoid confusion I will refer to my desktop > computer as Desktop and my gumstix as gumstix. > I have deduced that I need something running on the gumstix. Your > note indicated that is the cross-compiled player. I think that the > cross-compiled player was made when I ran "scons install" in > roboticsprimer/player, I know it needed avr-g++ and avrdude to > run, so if it wasn't cross compiling player what eas it doing?so I > need to know the name of the file and how to get it to the gumstix. > The tutorial just said scp it but didn't say how. > > Questions > 1) What do I need to run on the desktop? > 2)what do I need to run on the gumstix? and how do I get it there? > could you perhaps give a sample scp command? > 3) I assume when I get player on gumstix I run it giving the cfg > you mentioned in the e-mail > > I have a player directory in which I downloaded player and the > roboticsprimer/player > directory which I downloaded with the work book, could you specify > which one you mean when you say player? > > This may sound very confused to you. but to me I have managed to > compile all the code, establish some sort of connection to gumstix > and am now dead in the water as there are no instructions other > than scp it. scp what? scp how? etc > > John Cummins > > Be a better Heartthrob. Get better relationship answers from > someone who knows. > Yahoo! Answers - Check it out. > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Roboticsprimer-users mailing list > Rob...@li... > https://lists.sourceforge.net/lists/listinfo/roboticsprimer-users |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-09 13:32:57
|
Hey, for a while I thought some thing would go smooth. I installed build-root from gumstix with ease (they are set up for this stuff) and followed the instructions for cross-compiling down to where it says set UCLIBC_HAS_FULL_RPC=y in gumstix-buildroot/uClibc.config there is no such file undeterred I did the ./configure followed by the sudo make which ran for a long time but finally craped out with make[3]: Entering directory `/home/john/player-2.0.4/server' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../libplayercore -I../client_libs/libplayerc++ -Wall -g -I.. -I../server -I./drivers/shell -MT server.o -MD -MP -MF ".deps/server.Tpo" -c -o server.o server.cc; \ then mv -f ".deps/server.Tpo" ".deps/server.Po"; else rm -f ".deps/server.Tpo"; exit 1; fi /bin/bash ../libtool --tag=CXX --mode=link g++ -o player -export-dynamic server.o -lm ../server/libplayerdrivers/libplayerdrivers.la ../libplayercore/libplayercore.la ../libplayercore/libplayererror.la ../libplayertcp/libplayertcp.la ../libplayerxdr/libplayerxdr.la -lgsl -lgslcblas -ljpeg ../replace/libreplace.la -lpthread -lnsl -lrt -lz -lltdl -ldl -ljpeg -lGL -lGLU g++ -o .libs/player server.o -Wl,--export-dynamic -lm ../server/libplayerdrivers/.libs/libplayerdrivers.so ../libplayercore/.libs/libplayercore.so ../libplayercore/.libs/libplayererror.so ../libplayertcp/.libs/libplayertcp.so ../libplayerxdr/.libs/libplayerxdr.so -lgsl -lgslcblas ../replace/.libs/libreplace.a -lpthread -lnsl -lrt -lz /usr/lib/libltdl.so -ldl /usr/lib/libjpeg.so -lGL -lGLU -Wl,--rpath -Wl,/usr/local/lib ../server/libplayerdrivers/.libs/libplayerdrivers.so: undefined reference to `gdk_pixbuf_new_from_data' ../server/libplayerdrivers/.libs/libplayerdrivers.so: undefined reference to `gdk_pixbuf_scale_simple' ../server/libplayerdrivers/.libs/libplayerdrivers.so: undefined reference to `gdk_pixbuf_get_n_channels' ../server/libplayerdrivers/.libs/libplayerdrivers.so: undefined reference to `gdk_pixbuf_get_rowstride' ../server/libplayerdrivers/.libs/libplayerdrivers.so: undefined reference to `gdk_pixbuf_get_height' ../server/libplayerdrivers/.libs/libplayerdrivers.so: undefined reference to `gdk_pixbuf_unref' ../server/libplayerdrivers/.libs/libplayerdrivers.so: undefined reference to `gdk_pixbuf_get_bits_per_sample' ../server/libplayerdrivers/.libs/libplayerdrivers.so: undefined reference to `gdk_pixbuf_get_width' ../server/libplayerdrivers/.libs/libplayerdrivers.so: undefined reference to `gdk_pixbuf_new_from_file' ../server/libplayerdrivers/.libs/libplayerdrivers.so: undefined reference to `g_assert_warning' ../server/libplayerdrivers/.libs/libplayerdrivers.so: undefined reference to `g_type_init' ../server/libplayerdrivers/.libs/libplayerdrivers.so: undefined reference to `g_object_unref' ../server/libplayerdrivers/.libs/libplayerdrivers.so: undefined reference to `gdk_pixbuf_get_pixels' ../server/libplayerdrivers/.libs/libplayerdrivers.so: undefined reference to `gdk_pixbuf_get_has_alpha' collect2: ld returned 1 exit status make[3]: *** [player] Error 1 make[3]: Leaving directory `/home/john/player-2.0.4/server' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/john/player-2.0.4/server' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/john/player-2.0.4' make: *** [all] Error 2 john@john-desktop:~/player-2.0.4$ when I search on synaptic package manager I see i have gdk_imlib11 and gdk_imlib11_dev. whats happening? Questions 1) how can I get this last link to work? 2)I still haven't been able to find out how to transport whatever I get from this process to the gumstix. There used to be a uucp in the old days but that doesn't seem to be supported. I guess scp does the same but the documentation leaves something to be desired! could someone supply the command to do the copy? 3)what about the UCLIBC_HAS_FULL_RPC=y in gumstix-buildroot/uClibc.config. there is no file called uClibc.config in gumstix-buildroot but there are a bunch for different target/device John Cummins --------------------------------- Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more. |