From: Robotics P. u. h. l. <rob...@li...> - 2007-11-13 16:42:29
|
Hi John, I think you have an incorrect version of player installed. Get the CVS version of Player: http://sourceforge.net/cvs/?group_id=42445 -nate On Nov 12, 2007 7:57 PM, Robotics Primer users help list <rob...@li...> wrote: > Sorry Nate, > > I did a svn and it said I checked out revision 124 > in roboticsprimer/workbook/code/player > I ran scons > it craped out on client/Client.cc lines 541 thru 544 no member .... > commented out lines 541 to 544 > scons > ran to end > cd .. > cd ex*/01*/gum* > ran ./intro client.xml > it segfaulted > ran gdb intro > at said ... > root@john-desktop:~/roboticsprimer/workbook/code/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/workbook/code/exercises/01_introduction/gumstix/intro > client.xml > [Thread debugging using libthread_db enabled] > [New Thread -1231444240 (LWP 19483)] > Loading config file[client.xml] > Trying to connect to [192.168.1.199: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 -1231444240 (LWP 19483)] > 0xb7f408aa in FTSize::CharSize () from /usr/local/lib/libroombaClient.so > (gdb) bt > #0 0xb7f408aa in FTSize::CharSize () from /usr/local/lib/libroombaClient.so > #1 0xb7f3e8d5 in FTFace::Size () from /usr/local/lib/libroombaClient.so > #2 0xb7f3f129 in FTFont::FaceSize () from /usr/local/lib/libroombaClient.so > #3 0xb7f3d4c7 in Global::RenderText (text=0xbf9c567f "-50.00", size=12, > x=0.0500000007, y=-49.9799995, z=0) at client/Global.cc:98 > #4 0xb7e39647 in GLWindow::DrawGrid (this=0x805bc78, centerX=0, centerY=0, > sizeX=100, sizeY=100, spacing=1) at gui/GLWindow.cc:201 > #5 0xb7e399c1 in GLWindow::draw (this=0x805bc78) at gui/GLWindow.cc:82 > #6 0xb79c4012 in Fl_Gl_Window::flush (this=0x805bc78) at > Fl_Gl_Window.cxx:335 > #7 0xb7943a85 in Fl::flush () at ../FL/x.H:125 > #8 0xb7943cbb in Fl::wait (time_to_wait=0.0093790000000000002) at > Fl.cxx:348 > #9 0xb7943e05 in Fl::run () at Fl.cxx:357 > #10 0x0804970a in main () > (gdb) > > GUMSTIX SAID > > # ./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/ttyS2...Done. > 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 > accepted client 0 on port 6665, fd 6 > Opening connection to Roomba on /dev/ttyS2...Done. > 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 > > > > and player is still running but it seems to have turned off the Create > > > Hope this helps > > John Cummins > > > > ________________________________ > Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it > now. > ------------------------------------------------------------------------- > 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 > > |