From: Paul O. <new...@ki...> - 2007-09-18 08:10:39
|
I'm using this configuration file: driver ( name "camerav4l" provides ["camera:1"] port "/dev/video0" source 0 norm "PAL" size [640 480] mode "RGB888" save 0 alwayson 0 ) driver ( name "cmvision" provides ["blobfinder:0"] requires ["camera:1"] colorfile "mycolors.txt" alwayson 0 ) driver ( name "cameracompress" provides ["camera:0"] requires ["camera:1"] alwayson 0 ) Together with mycolors.txt: [Colors] (255,128, 0) 0.000000 Ball (255,255, 0) 0.000000 Yellow_Team ( 0, 0,255) 0.000000 Blue_Team (255,255,255) 0.000000 White (255, 0,255) 0.000000 Marker_1_(Pink) (160, 0,160) 0.000000 Marker_2_(Purple) [Thresholds] ( 12:153, 99:127,143:168) (101:196, 60:115,114:148) ( 64:157,144:164, 85:129) (105:192, 68:187,120:131) ( 85:190, 82:189,141:269) ( 30: 85,130:145,135:145) It does not work no matter if I subscribe camerav4l directly (using camera:1) or through cameracompress (camera:0) or cmvision (blobfinder:0) I guess it wasn't made to work with recently changed message queue. Whenever I'm trying to use it directly (camera:1) I can see on the server side: Player v.2.1.0 * 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 TCP client 0 on port 6665, fd 6 warning : skipping message from unknown:0 with unsupported type unknown:0 *** glibc detected *** player: free(): invalid pointer: 0xb44d1008 *** ======= Backtrace: ========= /lib/libc.so.6[0xb29a96] /lib/libc.so.6(cfree+0x90)[0xb2cfb0] /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xa8b0b1] /usr/lib/libstdc++.so.6(_ZdaPv+0x1d)[0xa8b10d] /root/psg-cvs/lib/libplayercore.so.2(_ZN7Message6DecRefEv+0x46)[0x282da6] /root/psg-cvs/lib/libplayercore.so.2(_ZN7MessageD1Ev+0x25)[0x283435] /root/psg-cvs/lib/libplayertcp.so.2(_ZN9PlayerTCP11WriteClientEi+0x1fe)[0x2937ee] /root/psg-cvs/lib/libplayertcp.so.2(_ZN9PlayerTCP5WriteEv+0x52)[0x294042] player(main+0x335)[0x8049ca5] /lib/libc.so.6(__libc_start_main+0xdc)[0xad8dec] player(__gxx_personality_v0+0x16d)[0x8049481] ======= Memory map: ======== 00110000-00129000 r-xp 00000000 08:0a 76346318 /lib/ld-2.5.so 00129000-0012a000 r-xp 00019000 08:0a 76346318 /lib/ld-2.5.so 0012a000-0012b000 rwxp 0001a000 08:0a 76346318 /lib/ld-2.5.so 0012b000-0012c000 r-xp 0012b000 00:00 0 [vdso] 0012c000-00239000 r-xp 00000000 08:0a 537834199 /root/psg-cvs/lib/libplayerdrivers.so.2.1.0 00239000-0024e000 rwxp 0010d000 08:0a 537834199 /root/psg-cvs/lib/libplayerdrivers.so.2.1.0 0024e000-00272000 rwxp 0024e000 00:00 0 00272000-00274000 r-xp 00000000 08:0a 537834166 /root/psg-cvs/lib/libplayerjpeg.so.2.1.0 00274000-00275000 rwxp 00001000 08:0a 537834166 /root/psg-cvs/lib/libplayerjpeg.so.2.1.0 00275000-0028b000 r-xp 00000000 08:0a 537834184 /root/psg-cvs/lib/libplayercore.so.2.1.0 0028b000-0028c000 rwxp 00016000 08:0a 537834184 /root/psg-cvs/lib/libplayercore.so.2.1.0 0028c000-0028d000 r-xp 00000000 08:0a 537834174 /root/psg-cvs/lib/libplayererror.so.2.1.0 0028d000-0028e000 rwxp 00000000 08:0a 537834174 /root/psg-cvs/lib/libplayererror.so.2.1.0 0028e000-00290000 r-xp 00000000 08:0a 537834179 /root/psg-cvs/lib/libplayerutils.so.2.1.0 00290000-00291000 rwxp 00001000 08:0a 537834179 /root/psg-cvs/lib/libplayerutils.so.2.1.0 00291000-00299000 r-xp 00000000 08:0a 537834189 /root/psg-cvs/lib/libplayertcp.so.2.1.0 00299000-0029a000 rwxp 00008000 08:0a 537834189 /root/psg-cvs/lib/libplayertcp.so.2.1.0 0029a000-002a0000 r-xp 00000000 08:0a 537834194 /root/psg-cvs/lib/libplayerudp.so.2.1.0 002a0000-002a1000 rwxp 00005000 08:0a 537834194 /root/psg-cvs/lib/libplayerudp.so.2.1.0 002a1000-002d5000 r-xp 00000000 08:0a 537834170 /root/psg-cvs/lib/libplayerxdr.so.2.1.0 002d5000-002d7000 rwxp 00033000 08:0a 537834170 /root/psg-cvs/lib/libplayerxdr.so.2.1.0 002d7000-002ed000 r-xp 00000000 08:07 76085211 /usr/lib/libgdk_pixbuf-2.0.so.0.1000.13 002ed000-002ee000 rwxp 00016000 08:07 76085211 /usr/lib/libgdk_pixbuf-2.0.so.0.1000.13 002ee000-003eb000 r-xp 00000000 08:07 75740153 /usr/lib/libgeos.so.2.2.3 003eb000-003f0000 rwxp 000fd000 08:07 75740153 /usr/lib/libgeos.so.2.2.3 003f0000-00440000 r-xp 00000000 08:07 80906895 /usr/lib/libpqxx-2.6.8.so 00440000-00442000 rwxp 0004f000 08:07 80906895 /usr/lib/libpqxx-2.6.8.so 00442000-0054e000 r-xp 00000000 08:07 75590331 /usr/lib/libcxcore.so.1.0.0 0054e000-00556000 rwxp 0010b000 08:07 75590331 /usr/lib/libcxcore.so.1.0.0 00556000-0055f000 rwxp 00556000 00:00 0 0055f000-00625000 r-xp 00000000 08:07 75590314 /usr/lib/libcv.so.1.0.0 00625000-00628000 rwxp 000c6000 08:07 75590314 /usr/lib/libcv.so.1.0.0 00628000-0062f000 rwxp 00628000 00:00 0 0062f000-006c7000 r-xp 00000000 08:07 77745800 /usr/lib/libcvaux.so.1.0.0 006c7000-006ca000 rwxp 00097000 08:07 77745800 /usr/lib/libcvaux.so.1.0.0 006ca000-00705000 r-xp 00000000 08:07 78274708 /usr/lib/libml.so.1.0.0 00705000-00707000 rwxp 0003a000 08:07 78274708 /usr/lib/libml.so.1.0.0 00707000-00713000 r-xp 00000000 08:07 75748645 /usr/lib/libgeos_c.so.1.1.1 00713000-00714000 rwxp 0000c000 08:07 75748645 /usr/lib/libgeos_c.so.1.1.1 00714000-00727000 r-xp 00000000 08:0a 76346307 /lib/libpthread-2.5.so 00727000-00728000 r-xp 00012000 08:0a 76346307 /lib/libpthread-2.5.so 00728000-00729000 rwxp 00013000 08:0a 76346307 /lib/libpthread-2.Przerwane Cheers, Paul |