are you working form rc1 or the latest SVN version, if you are on rc1 try latest SVN.


On 27/03/2008, Andrew King <> wrote:
I'm trying to log laser (urglaser) and odometer data (p2os on a p3at) via player.  My config is as follows:

  name "p2os"
  provides ["odometry:::position2d:0"
  port "/dev/ttyS0"

  name "urglaser"
  provides ["laser:0"]
  #port "/dev/ttyS1"
  port "/dev/ttyACM0"
  pose [0.05 0.0 0.0]
  min_angle -100.0
  max_angle 100.0
  #use_serial 1
  #baud 115200
  alwayson 1

   name "writelog"
   filename "room.log"
   requires ["laser:0" "position2d:0"]
   provides ["log:0"]
   alwayson 1
   autorecord 1

When I run player in GDB, it seems to indicate that the memory location the  writelog driver is looking for laser data is not valid:

[Thread debugging using libthread_db enabled]
[New Thread -1225073904 (LWP 6646)]
Registering driver
Player v.2.1.0rc1

* Part of the Player/Stage/Gazebo Project [].
* 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.

> I: URG-04 specifications: [min_angle, max_angle, resolution, max_range] = [-119.531247, 119.882811, 0.351563, 5.600000]
[New Thread -1241871472 (LWP 6649)]
P2OS connection opening serial port /dev/ttyS0...Connected to robot device, handshaking with P2OS...turning off NONBLOCK mode...
   Connected to KSU_1840, a Pioneer p2at8+
[New Thread -1250264176 (LWP 6650)]
[New Thread -1258656880 (LWP 6651)]
listening on 6665
Listening on ports: 6665 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1258656880 (LWP 6651)]
0xb7ea89f6 in WriteLog::WriteLaser (this=0x8055a58, hdr=0x805c9c8, 
    data=0x805c6f0) at
988                         scan->ranges[i], scan->intensity[i]);

This has been compiled with GCC version: 4.1.1

Anyone have any clues?

Check out the new Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.;164216239;13503038;w?
Playerstage-users mailing list

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