I think 9600 transfer rate might not work, try this:
driver (
name "sicklms200"
provides ["laser:0"]
port "/dev/ttyUSB0"
connect_rate 9600 38400
transfer_rate 38400
delay 45
retry 100
alwayson 1
)
On Fri, Jul 4, 2008 at 1:23 PM, Víctor Costa <kozttah@...> wrote:
> Hello,
> sorry for the delay in responding to your message...
>
> On Ubuntu 7.0.4 we are using player 2.0.5 and it works just fine... And in
> Ubuntu 7.10 and 8.04 we tried using player 2.0.4, 2.0.5, 2.1.1, 2.2.0 and
> none of them worked...
>
> we got the following messages from player 2.0.4, 2.1.1 and 2.2.0 running
> player using -d9:
>
> version from Subversion (r6756, 2008-07-04):
>
> Registering driver
> Player v.2.2.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.
>
> Laser initialising (/dev/ttyUSB0)
> Connection attempt #0
> connecting at 9600
> sending LMS stop continuous mode [RequestLaserStopStream()]
> waiting for acknowledge
> error : timeout on read (3)
> warning : RequestLaserStopStream(): timeout in ReadFromLaser
> sending LMS stop continuous mode [RequestLaserStopStream()]
> Segmentation fault
>
> ------------------------------
> --------------------------------------------------
>
> stable version (2.1.1):
>
> 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.
>
> Laser initialising (/dev/ttyUSB0)
> Connection attempt #0
> connecting at 9600
> sending LMS stop continuous mode [RequestLaserStopStream()]
> waiting for acknowledge
> error : timeout on read (4)
> warning : RequestLaserStopStream(): timeout in ReadFromLaser
> sending LMS stop continuous mode [RequestLaserStopStream()]
> waiting for acknowledge
> connected at 9600!
> error : timeout on read (3)
> warning : GetLaserType(): timeout in ReadFromLaser()
> error : timeout on read (3)
> warning : GetLaserType(): timeout in ReadFromLaser()
> error : buffer overflow (len > max_len)
> warning : GetLaserType(): timeout in ReadFromLaser()
> error : initial subscription failed for device laser:0
> error : failed to start alwayson drivers
>
> --------------------------------------------------------------------------------
>
> version that comes with Ubuntu (2.0.4):
>
> * 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.
>
> Laser initialising (/dev/ttyUSB0)
> connecting at 9600
> sending configuration mode request to laser
> waiting for acknowledge
> error : buffer overflow (len > max_len)
> warning : timeout
> error : buffer overflow (len > max_len)
> warning : timeout
> error : buffer overflow (len > max_len)
> warning : timeout
> error : initial subscription failed for device 6:0
> error : failed to start alwayson drivers
>
>
> --------------------------------------------------------------------------------------------------------------
> We were using the following cfg file:
>
> driver (
> name "sicklms200"
> provides ["laser:0"]
> port "/dev/ttyUSB0"
> connect_rate 9600
> transfer_rate 9600
> delay 45
> retry 100
> alwayson 1
> )
>
> thanks in advance and sorry for the long e-mail,
>
> Víctor Costa da Silva Campos
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Playerstage-users mailing list
> Playerstage-users@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-users
>
>
|