are you able to get data off those two serial ports with an application like mincom, you will need to set the baud rate and so on...


On 29/11/2007, Hulio xxx <> wrote:
Hello all,
this is my first message to this very useful list, so excuse me in advance for any error I could make.

I'm running player 2.0.4 on a Ubuntu feisty (7.04) running on a VmWare workstation 6. The host OS is Windows Vista.

I'm a newbie to player, and in my very first interaction with a Pioneer3 robot, i used this configuration file:

  name "sicklms200"
  provides ["laser:0"]
  port "/dev/ttyUSB1"
  alwayson 1
  resolution 100
  range_res 1
  retry 10
  delay 35
  rate 38400

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

and the output I got (even before starting my client) is:

* 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.

robot_reale.cfg:12 warning: field [rate] is defined but not used
Laser initialising (/dev/ttyUSB1)
connecting at 9600
warning : ioctl() failed while trying to get serial port info
sending configuration mode request to laser
waiting for acknowledge
laser operating at 9600; changing to 38400
warning : ioctl() failed while trying to get serial port info
SICK laser type [LMS200;301063;V02.19 ] at [/dev/ttyUSB1:38400]
laser ready
Listening on ports: 6665
error   : CRC error, ignoring packet
empty packet
error   : CRC error, ignoring packet
empty packet


Any ideas on why this happens, or on how to solve this problem?
I think that there could possibly be some problems with VMware USB drivers, which don't allow a transparent communication between USB devices and the guest OS (ubuntu), thus causing this "CRC error". Maybe the CRC control depends on USB hardware drivers located in Windows, which does a different CRC control from Linux? What do you think?

Just in case you'll ask: I'm using a Virtual Machine because I had some weird video drivers problems when trying to install Ubuntu on my brand new ASUS laptop.

Thank you all!

Giulio, Naples, Italy.

SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
Playerstage-users mailing list

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