You can subscribe to this list here.
2007 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(10) |
Aug
(2) |
Sep
(17) |
Oct
(63) |
Nov
(12) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
(7) |
May
(2) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-27 21:16:01
|
Hi I finally managed to fix the address for the gumstix wifi and here is the lines in /etc/network/interfaces that worked for me auto mwlan0 iface mwlan0 inet static address 192.168.1.199 netmask 255.255.255.0 pre-up /sbin/iwconfig $IFACE essid any txpower 100mW It took a long process of trial and error to find this, I'm not sure why this worked and others I tried did not. Perhaps it is that I have a wireless router DSL connection? Anyway if the instructions on the web site don't work for you, you might want to try this. I still haven't managed to get intro to work with player, but at the moment I cross compile a c-program scp it to the gumstix and run it on the gumstix and it controls the Create through the oi. If there is anyone out there that has managed to get the roboticsprimer code to work with the gumstix option I would appreciate hearing about it. I have documented my experiences in getting to this stage in the Help Forum and on wiki. If there are others who are controlling Create via a program on gumstix using Create's oi, perhaps we can share our knowledge of oi here. John Cummins __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-23 22:45:41
|
Hi Nate, Thanks for getting back to me. I didn't realise you did not have a set up at your disposal. Here is the run of gdb intro you requested. Please let me know if there is any thing else I can do to check this out. I'm sorry if the tone of my last missive sounded grumpy, its because I feel a bit grumpy! After this run of intro under gdb finished the partially constructed GUI stayed up. This is different from my other runs in gdb so perhaps all my down loading and compiling have changed something. If you can think of any test I can do to help in this please let me know. john@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix$ gdb intro GNU gdb 6.6-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"... Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run client.xml Starting program: /home/john/roboticsprimer-0.1/exercises/01_introduction/gumstix/intro client.xml [Thread debugging using libthread_db enabled] [New Thread -1231771920 (LWP 16210)] Loading config file[client.xml] Trying to connect to [192.168.1.102:6665] calling connect done ID Count[3] Load Proxy[POSITION][0] Name[roomba] Load Proxy[POWER][0] Name[roomba] Load Proxy[BUMPER][0] Name[roomba] Finished loading devices playerc error : got NACK from request playerc error : got NACK from request Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1231771920 (LWP 16210)] 0xb7ef08aa in FTSize::CharSize () from /usr/local/lib/libroombaClient.so (gdb) bt #0 0xb7ef08aa in FTSize::CharSize () from /usr/local/lib/libroombaClient.so #1 0xb7eee8d5 in FTFace::Size () from /usr/local/lib/libroombaClient.so #2 0xb7eef129 in FTFont::FaceSize () from /usr/local/lib/libroombaClient.so #3 0xb7eed4c7 in Global::RenderText (text=0xbff1b45f "-50.00", size=12, x=0.0500000007, y=-49.9799995, z=0) at client/Global.cc:98 #4 0xb7de9647 in GLWindow::DrawGrid (this=0x805bb88, centerX=0, centerY=0, sizeX=100, sizeY=100, spacing=1) at gui/GLWindow.cc:201 #5 0xb7de99c1 in GLWindow::draw (this=0x805bb88) at gui/GLWindow.cc:82 #6 0xb7974012 in Fl_Gl_Window::flush (this=0x805bb88) at Fl_Gl_Window.cxx:335 #7 0xb78f3a85 in Fl::flush () at ../FL/x.H:125 #8 0xb78f3cbb in Fl::wait (time_to_wait=0.0094280000000000006) at Fl.cxx:348 #9 0xb78f3e05 in Fl::run () at Fl.cxx:357 #10 0x080497ca in main () (gdb) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-23 22:27:48
|
Hi Nate, Here is my status 1) I removed the robotocsprimer-0.1 and 2) downloaded it again 3) To run scons in player I had to remove lines 531-534 in client/Client.cc no member named GetCharging in PowerProxy 4) in order to run scons in exercises/01*/gumstix I had to comment out line 102 in main.cc. no member named Stop 5) I have redownloaded player-2.0.4 and rebuilt it 6) I have tested out the system with intro and player 7) Thus in one way or another I have tested every part of the system except for intro and player. 8) Point 3 and 4 and the seg fault indicate this problem most likely comes from the intro or roboticsprimer code. 9)Points 3 and 4 together indicate that the version of the code on the web site had never been compiled before being loaded on the web site, otherwise you would have had the same errors 10)Most likely issues 3 and 4 come from having the wrong version of some .h files for the .cc files. The interfaces are not what the code expects. perhaps a confusion of include directories. 11) in my investigation of intro using gdb I was in Client.cc and as point 3 indicates a mismatch between the interface and code I suspect that is the root of this problem. My suggestion is for you to install the system on a clean unused Linux machine and build the environment from scratch., including gumstix-buildroot, player and roboticsprimer. I say a clean Linux machine as I want you to down load the latest versions of packages, in case this has something to do with package versions. While you are doing this keep a log. In the case this build is successful the log will serve as a template for others trying to build this system. I would certainly recommend this procedure to you when you put other versions on line. I am fairly confident the build will not be successful in which case you will have a version of the problem to investigate. John Cummins __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-23 17:33:21
|
Hi John, > 7)I am assuming the Load proxy messages on the desktop means that some > messaging > got back from the gumstix. If I change the .cfg file on the gumstix I get > different number of proxies. Does this seem reasonable to you? Yes, this seems reasonable. > 8) I have the same version 2.0.4 of player on my desktop and on the gumstix. > However I am only running it on the gumstix. I assume you ask this to see if > intro would link with the correct librarys. I am only running intro on > desktop. If I need anything else please advise. Yes, I was just making sure that you were linking against the correct libraries. > 9)Some one suggested that I run player on the desktop and socat on desktop > and gumstix to avoid the player comm problems. Do you have any experience > with this? I'm not familiar with socat. I'm pretty sure the problem is with the intro code. One real easy way to test the comms, is to run player on the gumstix, and then connect to the gumstix from your desktop using playerv. > 10)Do you know what > warning : Unhandled message for driver device=16777343:6665:4:0 type=3 > subtype=2 len=1 > > warning : Unhandled message for driver device=16777343:6665:4:0 type=3 > subtype=2 len=1 > means comming from player on the gumstix? Could this be the requests that it > gets NACKed? These messages mean that a device driver on the gumstix did not handle a message. This is most likely not important, just a warning. > 11) The segment fault in intro indicates to me something is BAD in intro. I > assume that it would just terminate if it can't talk to player, or ignore > it. Is this expected behaviour of intro? If so in what circumstances? A segfault means that my intro code is bad. I'll have to look into it once I get all my gumstix equipment back (hopefully sometime today). > 12)Can you tell me which versions of player, gumstix-buildroot, Linux etc > you have tested this with? At the time we used Player CVS. This was a year ago, so there could be some incompatibility issues now. Again, once I get my hardware back I'll test everything out again, and track down the problem in the intro code. -nate |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-23 11:41:26
|
Hi Nate The following message on the player board looks very similar to the issue I am having on intro. He seems to think it is a multi-threading problem. Does this suggest anything to you? I do recall some odd messages about threads when I was running intro under gdb. Once again, have you developed any tools/techniques for debuging roboticsprimer/player software. Any information about the conditions that cause particular messages to be issued would be helpfull John Cummins Hello, I have a problem when I was trying to implement mapping the world as the robot moves on player. Since I updated the location of the robot using Kalman filter I have to create another thread to do the mapping job. But if I do so, the problem is as follows: playerc error : poll call failed with error [0:Success] playerc error : recv failed with error [Success] warning : failed to reconnect playerc warning : warning : no socket to write to terminate called after throwing an instance of 'PlayerCc::PlayerError' Aborted (core dumped) I think the problem must lies in the relationship between threads. Does someone know about how this problem happens? Thanks very much in advance. -- View this message in context: __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-22 21:22:36
|
I do not think this is a network problem. I was just trying to eliminate that possibility. My messages have been asking for help in this and asking for confirmation when I think I have eliminated one source of error Error sources are 1)Intro code 2)Intro to gumstix communication(WiFi) 3)intra gumstix communication 4)player code 5)player to create communication 6) create itself 7) create to player comm 8)gumstix to desktop comm(WiFi) 9)intra desktop comm I think we have evidence that the WiFi works, pinging. Also the inter program communication works, both are getting messages. Errors are 1) warnings on player. What caused them? Are they expected? otherwise player seems ok. 2)NACKs on Intro. Could they have been caused by what ever caused the warnings on player? 3)Segmentation fault on intro. What has caused this in your experience? I have only seen this sort of behavior with things like stack overflow, wild pointers, etc. under what conditions is the failed to reconnect warning issued? The preponderance of evidence is against intro John Cummins __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-22 20:03:45
|
Hi Nate 1) I am using player 2.0.4 2) The tutorial you refer to is out of date and WILL NOT WORK with later revisions of gumstix-buildroot 3)However the latest revisions of gumstix-buildroot have FULL_RPC as the default 4)I have a toolchain with FULL_RPC and xdr support as evidenced by the messages that do get across in both directions. 5)I can ping both ways desktop to gumstix, gumstix to desktop 6)my desktop computer is always 192.168.1.101, the gumstix is 192.168.1.XXX where XXX varies from 102 to 106 7)I am assuming the Load proxy messages on the desktop means that some messaging got back from the gumstix. If I change the .cfg file on the gumstix I get different number of proxies. Does this seem reasonable to you? 8) I have the same version 2.0.4 of player on my desktop and on the gumstix. However I am only running it on the gumstix. I assume you ask this to see if intro would link with the correct librarys. I am only running intro on desktop. If I need anything else please advise. 9)Some one suggested that I run player on the desktop and socat on desktop and gumstix to avoid the player comm problems. Do you have any experience with this? 10)Do you know what warning : Unhandled message for driver device=16777343:6665:4:0 type=3 subtype=2 len=1 warning : Unhandled message for driver device=16777343:6665:4:0 type=3 subtype=2 len=1 means comming from player on the gumstix? Could this be the requests that it gets NACKed? 11) The segment fault in intro indicates to me something is BAD in intro. I assume that it would just terminate if it can't talk to player, or ignore it. Is this expected behaviour of intro? If so in what circumstances? 12)Can you tell me which versions of player, gumstix-buildroot, Linux etc you have tested this with? The good news is that I can cross-compile c programs and load them on the gumstix that control the Create via its OI and avoid the roboticsprimer/player issues. This may be the route I have to take. John Cummins __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-22 19:03:27
|
Hello, Downloading and reinstalling the roboticsprimer code probably won't fix much. You could run the intro code through gdb, and post a backtrace after the segfault. Here is how you would do this: 1) Run GDB: $ gdb ./intro 2) A new prompt will appear. Use this to run the intro code (player should be running on the gumstix at this point). (gdb) run client.xml 3) The code should crash, and you can get a backtrace (gdb) bt Now just post the output from the "bt" command. -nate On 10/21/07, Robotics Primer users help list <rob...@li...> wrote: > I compiled gumstix-build root with kermit enables and loaded it > on gumstix its called wermit (why? I have no idea) > > running wermit and conect, then power on Create produces the following > > # wermit > bl-start > 2006-09-12-1137-L > RDK by iRobot! > MC9S12E128 > 2006-11-20-1731-L > battery-current-quiescent-raw 525 battery-current-zero 511 > > So the cable from gumstix works. > > I think I have established that the following components work, at least > partially, > 1) intro to player on gumstix (it recognizes when intro comes up) > 2) player to/from Create (above) > 3) player to intro (the proxies messages) > 4) intro blowsup > > This looks a lot like a problem with roboticsprimer interface. > > I am about to erase roboticsprimer* and download it again and go through > the whole process for compiling it again,as it is the only component that I > haven't > managed to check out at all. However I'm not optimistic! > > any ideas? > > You guys must have developed some debugging aids (or methods) for checking > out > the code and or the assorted connections. Would you mind sharing these? > > > John Cummins > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ------------------------------------------------------------------------- > 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-22 18:59:28
|
Hello, Do you have the same version of player installed on both the gumstix and your pc? -nate On 10/20/07, Robotics Primer users help list <rob...@li...> wrote: > I still getting the following. > > root@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix# > ./intro client.xml > Loading config file[client.xml] > Trying to connect to [192.168.1.102:6665] > calling connect > done > ID Count[3] > Load Proxy[POSITION][0] Name[roomba] > Load Proxy[POWER][0] Name[roomba] > Load Proxy[BUMPER][0] Name[roomba] > playerc error : poll call failed with error [0:Success] > playerc error : recv failed with error [Success] > warning : failed to reconnect > terminate called after throwing an instance of 'PlayerCc::PlayerError' > Aborted (core dumped) > root@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix# > > I have re-downloaded and re-compiled, player and gumstix-buildroot > and messed around a bit with gdb. > > After loading the proxies in Client.cc it does a > this->player->Read(); > This is the call that fails > > Question > 1) Does any one know the reasons Read would fail? > 2) The message says "failed to reconnect" does that imply that the > connection > was established, broken, and not re-established? > > > John Cummins > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ------------------------------------------------------------------------- > 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-22 18:57:40
|
If you have been able to run player on the gumstix, then everything should be fine. From your previous emails, it seems that the problem is with your network setup. I'm assuming you are on a wifi network, so the first thing you need to do is to make sure the gumstix can talk to your PC. -nate On 10/19/07, Robotics Primer users help list <rob...@li...> wrote: > What else do I have to do to enable RPC on my build system. I found a > package portmap > that says it has to be running for RPC to work. I installed it but it didn't > fix it > > I still get > > john@john-desktop:~$ rpcinfo -p 192.168.1.102 > rpcinfo: can't contact portmapper: RPC: Remote system error - Connection > refused > john@john-desktop:~$ > > > so how do i configure for RPC on my build system? > > John Cummins > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ------------------------------------------------------------------------- > 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-22 18:56:05
|
Hello, Make sure that your desktop PC and the gumstix are on the same network. For example, if the gumstix has an ip of 192.168.1.101, then your PC should have one similar to 192.168.1.[0-255], but excluding 101. -nate On 10/19/07, Robotics Primer users help list <rob...@li...> wrote: > Hi Nate, > > Following along on the vague idea I had in last e-mail, while on the gumstix > via serial cable I tried to log on to my build computer via ssh > john@192.168.1.101 an > I got > > # ssh root@192.168.1.101 > ssh: exited: Error connecting: Connection refused > > Do I have to do something on my build computer to allow gumstix to talk to > it? > I am a complete novice in network and WiFi stuff (I still haven't been able > to set the > inet addr of the gumstix) so any advice/pointers/suggestions etc would be > well received. > > John Cummins > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ------------------------------------------------------------------------- > 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-22 18:54:03
|
Hello, If you log into the gumstix, can you ping/communicate with your desktop machine? -nate On 10/19/07, Robotics Primer users help list <rob...@li...> wrote: > Hi Nate > > I don't think that's the case any more. I think in release 1451 the FULL_RPC > is enabled by default. > For example, I have been unable to find the any approximation of the file in > the following line > > (Gumstix): To effect the above change, set UCLIBC_HAS_FULL_RPC=y in > gumstix-buildroot/uClibc.config. > > and in > gumstix-buildroot/toolchain_build_arm_nofpu/uClibc/.config > I have > > UCLIBC_HAS_RPC=y > UCLIBC_HAS_FULL_RPC=y > UCLIBC_HAS_REENTRANT_RPC=y > > which is how it came "out of the box". > > Also on the gumstix I see > > # ./player roomba.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. > > Opening connection to Roomba on /dev/ttyS2...Done. > Listening on ports: 6665 > accepted client 0 on port 6665, fd 9 > closing connection to client 0 on port 6665 > accepted client 0 on port 6665, fd 9 > closing connection to client 0 on port 6665 > > The two sets of messages are as I tried ./intro client.xml twice > > So the gumstix is getting messages from my desktop computer but it seems > like the desktop is not getting the responses. > > I had to do a ssh root@162.168.1.102 to get key loaded in some table so my > host could > understand the gumstix encryption. Do I have to do a similar thing on the > other side? > > For more details on my setup you should see the message I placed in the Help > Discussion Forum. > > John Cummins > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ------------------------------------------------------------------------- > 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-22 18:51:11
|
Hello, You should try to use Player 2.0.4, since it has numerous bug fixes. However, to use Player 2.0.4 you need to have a toolchain with xdr support. Read through this tutorial: http://playerstage.sourceforge.net/doc/Player-2.0.0/player/group__tutorial__crosscompiling.html -nate On 10/17/07, Robotics Primer users help list <rob...@li...> wrote: > In gumstix-build root I am selecting player and player gets generated ok > however the only driver it has is garminnmea. I wish to use roomba or > something > that will work with the iCreate. I have tried changing the enable-garminnmea > to enable roomba but that does not make a difference. it still only includes > garminnmea. > > I notice the version of player on gumstix is 1.6. > I am also trying to cross compile player-2.0 for the gumstix but it crashes > on the link of player with a lot of messages about xdrmem_create. > > Questions > 1) Is roomba available for player 1.6. If so how do I get it included in the > player that is made by build root? > 2) any one know where the xdrmem_create comes from and why gumstix_buildroot > doesnt have this problem? Was xdrmem not used in version 1.6 or am I > omitting something in the environment. > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ------------------------------------------------------------------------- > 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-21 17:43:37
|
I compiled gumstix-build root with kermit enables and loaded it on gumstix its called wermit (why? I have no idea) running wermit and conect, then power on Create produces the following # wermit bl-start 2006-09-12-1137-L RDK by iRobot! MC9S12E128 2006-11-20-1731-L battery-current-quiescent-raw 525 battery-current-zero 511 So the cable from gumstix works. I think I have established that the following components work, at least partially, 1) intro to player on gumstix (it recognizes when intro comes up) 2) player to/from Create (above) 3) player to intro (the proxies messages) 4) intro blowsup This looks a lot like a problem with roboticsprimer interface. I am about to erase roboticsprimer* and download it again and go through the whole process for compiling it again,as it is the only component that I haven't managed to check out at all. However I'm not optimistic! any ideas? You guys must have developed some debugging aids (or methods) for checking out the code and or the assorted connections. Would you mind sharing these? John Cummins __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-20 22:43:53
|
I still getting the following. root@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix# ./intro client.xml Loading config file[client.xml] Trying to connect to [192.168.1.102:6665] calling connect done ID Count[3] Load Proxy[POSITION][0] Name[roomba] Load Proxy[POWER][0] Name[roomba] Load Proxy[BUMPER][0] Name[roomba] playerc error : poll call failed with error [0:Success] playerc error : recv failed with error [Success] warning : failed to reconnect terminate called after throwing an instance of 'PlayerCc::PlayerError' Aborted (core dumped) root@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix# I have re-downloaded and re-compiled, player and gumstix-buildroot and messed around a bit with gdb. After loading the proxies in Client.cc it does a this->player->Read(); This is the call that fails Question 1) Does any one know the reasons Read would fail? 2) The message says "failed to reconnect" does that imply that the connection was established, broken, and not re-established? John Cummins __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-20 14:28:39
|
I get a Segmentation fault when running intro john@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix$ ./intro client.xml Loading config file[client.xml] Trying to connect to [192.168.1.102:6665] calling connect done ID Count[3] Load Proxy[POSITION][0] Name[roomba] Load Proxy[POWER][0] Name[roomba] Load Proxy[BUMPER][0] Name[roomba] Finished loading devices playerc error : got NACK from request playerc error : got NACK from request Segmentation fault (core dumped) over on the gumstix it says the following but does not crash # ./player roomba.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. Opening connection to Roomba on /dev/ttyS2...Done. Listening on ports: 6665 accepted client 0 on port 6665, fd 9 warning : Unhandled message for driver device=16777343:6665:4:0 type=3 subtype=2 len=1 warning : Unhandled message for driver device=16777343:6665:4:0 type=3 subtype=2 len=1 warning : other error on client 0 closing connection to client 0 on port 6665 My roomba.cfg is as follows:- driver ( name "roomba" provides ["position2d:0" "power:0" "bumper:0"] port "/dev/ttyS2" alwayson 1 ) It looks, to me, as if, at least sometimes, the communications works, and player is doing what it is supposed to do. Thus this is a problem with the intro code. Seg. fault seems rather severe! Questions 1) Why is intro seg. faulting? 2) Do you have any advice on debugging our robot control code on the development computer? For example, can one use gdb? and if so how? John Cummins __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-20 03:57:46
|
I am experimenting with changing the roomba.cfg now I get on the build system john@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix$ ./intro client.xml Loading config file[client.xml] Trying to connect to [192.168.1.102:6665] calling connect done ID Count[3] Load Proxy[POSITION][0]playerc error : requested [1] access, but got [3] access terminate called after throwing an instance of 'PlayerCc::PlayerError' Aborted (core dumped) john@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix$ gedit client.xml john@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix$ ./intro client.xml Loading config file[client.xml] Trying to connect to [192.168.1.102:6665] calling connect done ID Count[1] Load Proxy[POWER][0]playerc error : requested [1] access, but got [3] access terminate called after throwing an instance of 'PlayerCc::PlayerError' Aborted (core dumped) john@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix$ and on the gumstix # ./player roomba.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. Listening on ports: 6665 accepted client 0 on port 6665, fd 6 Opening connection to Roomba on /dev/ttyS0...���?������<<�f?�f�`?�ffÆ�?��??���������f�f�f���f?`?��?������<<�f��fÆ������f�f��f��� ����x3x~0x3�~3���Æ�����?�f�f��f��� �����������f<<`?����������<<��~?<?������~<���f���������f���f���f�f��f��� x��? fÆ~3���f�� x ~ ��<����?����~<��������f<<`?������������f�fÆ�`?��������?`?��Ϙ�3 Questions 1) What should the roomba.cfg file look like for intro? 2) I think I have established that there is communication at sime level between all devices. or am I wrong? John Cummins __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-20 00:47:32
|
What else do I have to do to enable RPC on my build system. I found a package portmap that says it has to be running for RPC to work. I installed it but it didn't fix it I still get john@john-desktop:~$ rpcinfo -p 192.168.1.102 rpcinfo: can't contact portmapper: RPC: Remote system error - Connection refused john@john-desktop:~$ so how do i configure for RPC on my build system? John Cummins __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-19 23:22:42
|
I messed about with some ping and some net commands and now both gumstix and my development computer see each other and send messages. See the following dialog. The Gui comes up for a second or two and then intro crashes On Gumstix # ./player roomba.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. Opening connection to Roomba on /dev/ttyS2...Done. Listening on ports: 6665 accepted client 0 on port 6665, fd 9 warning : Unhandled message for driver device=16777343:6665:4:0 type=3 subtype=2 len=1 warning : Unhandled message for driver device=16777343:6665:4:0 type=3 subtype=2 len=1 warning : other error on client 0 closing connection to client 0 on port 6665 in build computer john@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix$ ./intro client.xml Loading config file[client.xml] Trying to connect to [192.168.1.102:6665] calling connect done ID Count[1] Load Proxy[POSITION][0] Name[roomba] Finished loading devices playerc error : got NACK from request playerc error : got NACK from request john@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix$ If I dont plug gumstix into I create player immediately crashes. So I think I have, at least minimal, communications from build computer to gumstix to iCreate and from gumstix back to build computer. Questions 1) Does my analysis seem consistent with your experience? 2) How do I go about debuging the connection? 3)Is there some documentation for the error messages? 4)any suggestions of where to go from here? John Cummins __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-19 23:22:33
|
I messed about with some ping and some net commands and now both gumstix and my development computer see each other and send messages. See the following dialog. The Gui comes up for a second or two and then intro crashes On Gumstix # ./player roomba.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. Opening connection to Roomba on /dev/ttyS2...Done. Listening on ports: 6665 accepted client 0 on port 6665, fd 9 warning : Unhandled message for driver device=16777343:6665:4:0 type=3 subtype=2 len=1 warning : Unhandled message for driver device=16777343:6665:4:0 type=3 subtype=2 len=1 warning : other error on client 0 closing connection to client 0 on port 6665 in build computer john@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix$ ./intro client.xml Loading config file[client.xml] Trying to connect to [192.168.1.102:6665] calling connect done ID Count[1] Load Proxy[POSITION][0] Name[roomba] Finished loading devices playerc error : got NACK from request playerc error : got NACK from request john@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix$ If I dont plug gumstix into I create player immediately crashes. So I think I have, at least minimal, communications from build computer to gumstix to iCreate and from gumstix back to build computer. Questions 1) Does my analysis seem consistent with your experience? 2) How do I go about debuging the connection? 3)Is there some documentation for the error messages? 4)any suggestions of where to go from here? John Cummins __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-19 21:23:45
|
Hi Nate, Following along on the vague idea I had in last e-mail, while on the gumstix via serial cable I tried to log on to my build computer via ssh john@192.168.1.101 an I got # ssh root@192.168.1.101 ssh: exited: Error connecting: Connection refused Do I have to do something on my build computer to allow gumstix to talk to it? I am a complete novice in network and WiFi stuff (I still haven't been able to set the inet addr of the gumstix) so any advice/pointers/suggestions etc would be well received. John Cummins __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-19 18:44:22
|
Hi Nate I don't think that's the case any more. I think in release 1451 the FULL_RPC is enabled by default. For example, I have been unable to find the any approximation of the file in the following line (Gumstix): To effect the above change, set UCLIBC_HAS_FULL_RPC=y in gumstix-buildroot/uClibc.config. and in gumstix-buildroot/toolchain_build_arm_nofpu/uClibc/.config I have UCLIBC_HAS_RPC=y UCLIBC_HAS_FULL_RPC=y UCLIBC_HAS_REENTRANT_RPC=y which is how it came "out of the box". Also on the gumstix I see # ./player roomba.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. Opening connection to Roomba on /dev/ttyS2...Done. Listening on ports: 6665 accepted client 0 on port 6665, fd 9 closing connection to client 0 on port 6665 accepted client 0 on port 6665, fd 9 closing connection to client 0 on port 6665 The two sets of messages are as I tried ./intro client.xml twice So the gumstix is getting messages from my desktop computer but it seems like the desktop is not getting the responses. I had to do a ssh root@162.168.1.102 to get key loaded in some table so my host could understand the gumstix encryption. Do I have to do a similar thing on the other side? For more details on my setup you should see the message I placed in the Help Discussion Forum. John Cummins __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-19 18:43:51
|
Hi Nate I don't think that's the case any more. I think in release 1451 the FULL_RPC is enabled by default. For example, I have been unable to find the any approximation of the file in the following line (Gumstix): To effect the above change, set UCLIBC_HAS_FULL_RPC=y in gumstix-buildroot/uClibc.config. and in gumstix-buildroot/toolchain_build_arm_nofpu/uClibc/.config I have UCLIBC_HAS_RPC=y UCLIBC_HAS_FULL_RPC=y UCLIBC_HAS_REENTRANT_RPC=y which is how it came "out of the box". Also on the gumstix I see # ./player roomba.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. Opening connection to Roomba on /dev/ttyS2...Done. Listening on ports: 6665 accepted client 0 on port 6665, fd 9 closing connection to client 0 on port 6665 accepted client 0 on port 6665, fd 9 closing connection to client 0 on port 6665 The two sets of messages are as I tried ./intro client.xml twice So the gumstix is getting messages from my desktop computer but it seems like the desktop is not getting the responses. I had to do a ssh root@162.168.1.102 to get key loaded in some table so my host could understand the gumstix encryption. Do I have to do a similar thing on the other side? For more details on my setup you should see the message I placed in the Help Discussion Forum. John Cummins __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-19 16:07:55
|
Any idea on where I can find info on whats going on here? some times the GUI pops up for a fraction of a second? John Cummins john@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix$ ./intro client.xml Loading config file[client.xml] Trying to connect to [192.168.1.102:6665] calling connect done ID Count[1] Load Proxy[POSITION][0] Name[roomba] playerc error : poll call failed with error [0:Success] playerc error : recv failed with error [Success] warning : failed to reconnect terminate called after throwing an instance of 'PlayerCc::PlayerError' Aborted (core dumped) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Robotics P. u. h. l. <rob...@li...> - 2007-10-19 15:30:04
|
playerc error : recv failed with error [Success] To: roboticsprimer <rob...@li...> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1483879358-1192807793=:79791" Content-Transfer-Encoding: 8bit Message-ID: <952...@we...> --0-1483879358-1192807793=:79791 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Any idea on where I can find info on whats going on here? some times the GUI pops up for a fraction of a second? John Cummins john@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix$ ./intro client.xml Loading config file[client.xml] Trying to connect to [192.168.1.102:6665] calling connect done ID Count[1] Load Proxy[POSITION][0] Name[roomba] playerc error : poll call failed with error [0:Success] playerc error : recv failed with error [Success] warning : failed to reconnect terminate called after throwing an instance of 'PlayerCc::PlayerError' Aborted (core dumped) __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --0-1483879358-1192807793=:79791 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Any idea on where I can find info on whats going on here?<br>some times the GUI pops up for a fraction of a second?<br><br>John Cummins<br><br>john@john-desktop:~/roboticsprimer-0.1/exercises/01_introduction/gumstix$ ./intro client.xml<br>Loading config file[client.xml]<br>Trying to connect to [192.168.1.102:6665]<br>calling connect<br>done<br>ID Count[1]<br>Load Proxy[POSITION][0] Name[roomba]<br>playerc error : poll call failed with error [0:Success]<br>playerc error : recv failed with error [Success]<br>warning : failed to reconnect<br>terminate called after throwing an instance of 'PlayerCc::PlayerError'<br>Aborted (core dumped)<br><br><p> __________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com --0-1483879358-1192807793=:79791-- |