Hi,
I have just committed a few fixes for broken assertions to trunk and the 2.1 branch. This should get rid of the specific error you reported, could you try one of the svn versions and let me know what you get as output then?

Toby

2008/12/18 Gorka Azcune <gazcune@fatronik.com>
Hi,

It seems there are some problem with my mails in the list. I recently
wrote a mail to a thread that I started but I don't know why, it
disappeared. So here I resend it:

Thanks Toby! I did some tests with different drivers to check what you
said. It seems the problem is not related to a driver concretely. amcl,
vfh and lasersafe seem to fail the same way. Here I send some of the
tests performed so you can check the messages of Player. I always used
the same configuration file for the "first" Player server (running on
localhost:6665). That file is simple.cfg. As I didn't find any strange
message from this Player, I will only attach here the messages written
by the "second" one (running on localhost:7000).

First test (amcl):

-> Configuration file:
driver
(
 name "amcl"
 provides ["7000:localize:0" "7000:position2d:1"]
 requires ["odometry::6665:position2d:0" "6665:laser:0"
"laser::6665:map:0"]
)
----------------------------------------------------------------------
-> Player output:
Registering driver
Player v.2.1.1

* 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 7000
Added file watch 4
Added file watch 5
Listening on ports: 7000
Added file watch 6
accepted TCP client 0 on port 7000, fd 6 setup connected to:
127.0.0.1:6665 (un)subscribed to/from remote device 127.0.0.1:6665:4:0
(stage) Adding new TCPRemoteDriver to the PlayerTCP Client List Added
file watch 7 accepted TCP client 1 on port 6665, fd 7 Adding new
TCPRemoteDriver to the PlayerTCP Client List...Success connected to:
127.0.0.1:6665 (un)subscribed to/from remote device 127.0.0.1:6665:42:0
(stage) Adding new TCPRemoteDriver to the PlayerTCP Client List Added
file watch 8 accepted TCP client 2 on port 6665, fd 8 Adding new
TCPRemoteDriver to the PlayerTCP Client List...Success AMCL loading map
from map:0...
--------------------------------------------------------------------
-> Notes: I used a simple client which subscribes to the localize device
and writes data in the screen. I also used playerv to subscribe to the
position2d device provided by amcl. Both cases led to the same Player
output. Besides, Player got stuck and I couldn't even kill it.
************************************************************************
**
Second test (lasersafe):

-> Configuration file:
driver
(
 name "lasersafe"
 provides ["7000:position2d:1"]
 requires ["6665:position2d:0" "6665:laser:0"]
 safedistance 0.3
 step 10
 history 1
)
----------------------------------------------------------------------
-> Player output:
Registering driver
Player v.2.1.1

* 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 7000
Added file watch 4
Added file watch 5
Listening on ports: 7000
Added file watch 6
accepted TCP client 0 on port 7000, fd 6 connected to: 127.0.0.1:6665
(un)subscribed to/from remote device 127.0.0.1:6665:4:0 (stage) Adding
new TCPRemoteDriver to the PlayerTCP Client List Added file watch 7
accepted TCP client 1 on port 6665, fd 7 Adding new TCPRemoteDriver to
the PlayerTCP Client List...Success connected to: 127.0.0.1:6665
(un)subscribed to/from remote device 127.0.0.1:6665:6:0 (stage) Adding
new TCPRemoteDriver to the PlayerTCP Client List Added file watch 8
accepted TCP client 2 on port 6665, fd 8 Adding new TCPRemoteDriver to
the PlayerTCP Client List...Success
player: lasersafe.cc:277: virtual int
LaserSafe::ProcessMessage(QueuePointer&, player_msghdr*, void*):
Assertion `data' failed.
Aborted (core dumped)
--------------------------------------------------------------------
-> Notes: These messages might be more helpful. I used playerv to
connect to position2d provided by lasersafe.

I performed the same tests using Player-2.0.5 and Stage-2.0.4 and all of
them were successful. I will keep on testing different drivers to see
whether I get more useful information. Thanks!

Gazkune


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Playerstage-users mailing list
Playerstage-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-users



--
This email is intended for the addressee only and may contain privileged and/or confidential information