|
View:
New views
16 Messages
—
Rating Filter:
Alert me
|
|
|
hokuyo urg-04lx with hokuyo_aist in player 3.0.0Hi, I'm having problems similar to others in the past--but with the latest versions of everything that I can tell. I can connect but not get output in playerv.
player 3.0.0
gearbox 9.07
config:
driver
(
name "hokuyo_aist"
provides ["ranger:0"]
portopts "type=serial,device=/dev/ttyACM0,timeout=1,debug=3,baud=19200"
verbose 1
baud_rate 19200
)
Device is connected on USB.
The indicator light remains flashing, so it seems to me that a scan does not occur.
I'm in Ubuntu 9.04.
Extensive output is attached.out
Thanks for any help.
-Todd
|
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0Hi,
I've tried how ranger interface works and started Stage simulation along with sonartoranger and lasertoranger driver. All I can tell is that it is buggy. Although sonartoranger driver is easy to fix (lasertoranger driver seem to be ok), the playerv side showed much of unexpected behaviours (no drawings at all or randomly drawn shapes). I'll start my investigation on playerv tomorrow, if I find something, I'll release a patch. I hope this will help with your problems too. Paul On Fri, 9 Oct 2009, Todd Flyr wrote: > > Hi, I'm having problems similar to others in the past--but with the latest > versions of everything that I can tell. I can connect but not get output in > playerv. > > player 3.0.0 > gearbox 9.07 > > config: > driver > ( > name "hokuyo_aist" > provides ["ranger:0"] > portopts "type=serial,device=/dev/ttyACM0,timeout=1,debug=3,baud=19200" > verbose 1 > baud_rate 19200 > ) > > Device is connected on USB. > > The indicator light remains flashing, so it seems to me that a scan does not > occur. > > I'm in Ubuntu 9.04. > > Extensive output is attached. http://www.nabble.com/file/p25824547/out out > > Thanks for any help. > > -Todd > > > > -- > View this message in context: http://www.nabble.com/hokuyo-urg-04lx-with-hokuyo_aist-in-player-3.0.0-tp25824547p25824547.html > Sent from the playerstage-users mailing list archive at Nabble.com. > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Playerstage-users mailing list Playerstage-users@... https://lists.sourceforge.net/lists/listinfo/playerstage-users |
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0Does the hokuyo_aist sample program produce a scan?
Geoff Todd Flyr wrote: > Hi, I'm having problems similar to others in the past--but with the > latest versions of everything that I can tell. I can connect but not get > output in playerv. player 3.0.0 gearbox 9.07 config: driver ( name > "hokuyo_aist" provides ["ranger:0"] portopts > "type=serial,device=/dev/ttyACM0,timeout=1,debug=3,baud=19200" verbose 1 > baud_rate 19200 ) Device is connected on USB. The indicator light > remains flashing, so it seems to me that a scan does not occur. I'm in > Ubuntu 9.04. Extensive output is attached.out > <http://www.nabble.com/file/p25824547/out> Thanks for any help. -Todd ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Playerstage-users mailing list Playerstage-users@... https://lists.sourceforge.net/lists/listinfo/playerstage-users |
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0No, it does not. I used the same params. Unfortunately, I'm out of the lab for travel and cannot reply with the exact output. -Todd
|
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0What happens if you run the sample program using the default settings?
Geoff Todd Flyr wrote: > > No, it does not. I used the same params. Unfortunately, I'm out of the lab > for travel and cannot reply with the exact output. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Playerstage-users mailing list Playerstage-users@... https://lists.sourceforge.net/lists/listinfo/playerstage-users |
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0Unfortunately, I'm out of the lab and don't have access to the laser scanner. I'll generate output from the sample program and reply again in about ten days. I had hoped that the output generated would be sufficient. Sorry for the delay after opening this thread. -Todd
|
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0That's not a problem, I'm out of the lab, too (it is IROS time, after
all). I'm mainly curious if the baud rate change is triggering an unknown bug. Another thing you can do is to change the device type in the port options to seriallog, and then send the port.logr and port.logw files to the list. We can use these to replicate your communications session locally, which helps in tracking down bugs. Geoff Todd Flyr wrote: > > Unfortunately, I'm out of the lab and don't have access to the laser > scanner. I'll generate output from the sample program and reply again in > about ten days. I had hoped that the output generated would be sufficient. > Sorry for the delay after opening this thread. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Playerstage-users mailing list Playerstage-users@... https://lists.sourceforge.net/lists/listinfo/playerstage-users |
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0Attached is output from the hokoyu example-- ran:
./hokuyo_aist_example -o type=serial,device=/dev/ttyACM0,timeout=1,debug=3,baud=19200 hokoyu_aist_example.output.txt hokoyu_aist_example.output-2.txt I ran it twice. The second time has different output, as if the device was not released from the first run. (Note the device is attached to USB, but this appears to be the correct parameterization.) I will send another message with the seriallog output. |
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0 |
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0I can't access any of the files you posted. Nabble.com just gives me a
500 error. It's better to directly attach files when posting to the mailing list anyway, as this helps preserve the archive for future users who encounter similar problems. Geoff Todd Flyr wrote: > Attached is output from the hokoyu example-- ran: > ./hokuyo_aist_example -o > type=serial,device=/dev/ttyACM0,timeout=1,debug=3,baud=19200 > http://www.nabble.com/file/p26080553/hokoyu_aist_example.output.txt > hokoyu_aist_example.output.txt > > http://www.nabble.com/file/p26080553/hokoyu_aist_example.output-2.txt > hokoyu_aist_example.output-2.txt > I ran it twice. The second time has different output, as if the device was > not released from the first run. > > (Note the device is attached to USB, but this appears to be the correct > parameterization.) > > I will send another message with the seriallog output. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Playerstage-users mailing list Playerstage-users@... https://lists.sourceforge.net/lists/listinfo/playerstage-users |
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0That's very odd... the file URLs in your reply email are simply wrong, as evidenced in the body of my message below... anyhow, the upload file obviously has problems... so files pasted below... Todd Flyr wrote: > > Attached is output from the hokoyu example-- ran: > ./hokuyo_aist_example -o > type=serial,device=/dev/ttyACM0,timeout=1,debug=3,baud=19200 > http://old.nabble.com/file/p26080553/hokoyu_aist_example.output.txt > hokoyu_aist_example.output.txt > > http://old.nabble.com/file/p26080553/hokoyu_aist_example.output-2.txt > hokoyu_aist_example.output-2.txt > I ran it twice. The second time has different output, as if the device > was not released from the first run. > > (Note the device is attached to USB, but this appears to be the correct > parameterization.) > > I will send another message with the seriallog output. > Attached is output from the hokoyu example-- ran: ./hokuyo_aist_example -o type=serial,device=/dev/ttyACM0,timeout=1,debug=3,baud=19200 ---------------------------------------------------------------------------- SerialPort::Open() Opening serial device /dev/ttyACM0 SerialPort::Open() Serial device opened. SerialPort::Write() Writing 2 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 2 bytes SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes Port::ReadUntil() Reading until ' ' or 3 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::BytesAvailable() Found 0 bytes available SerialPort::WaitForDataOrTimeout() Found data waiting SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes Port::ReadUntil() Reading until ' ' or 2 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::BytesAvailable() Found 0 bytes available SerialPort::WaitForDataOrTimeout() Found data waiting SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 2 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::SkipUntil() Skipping until ' ' is seen 2 times. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes ---snip--- Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes P---snip--- SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::SkipUntil() Skipping until ' ' is seen 3 times. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. Port::SkipUntil() Got terminator character. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. S---snip--- Port::SkipUntil() Got terminator character. Port::SkipUntil() All terminators found. SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes Port::ReadUntil() Reading until ' ' or 2 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::BytesAvailable() Found 0 bytes available SerialPort::WaitForDataOrTimeout() Found data waiting SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 2 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 65 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes ---snip--- SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 65 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes ---snip--- Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 65 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes Ser---snip--- es SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Reading until ' ' or 65 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 65 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes ---snip--- tes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. Port::SkipUntil() Got terminator character. Port::SkipUntil() All terminators found. SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes Port::ReadUntil() Reading until ' ' or 3 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::BytesAvailable() Found 0 bytes available SerialPort::WaitForDataOrTimeout() Found data waiting SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 2 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::SkipUntil() Skipping until ' ' is seen 1 times. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. Port::SkipUntil() Got terminator character. Port::SkipUntil() All terminators found. SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes SerialPort::Write() Writing 13 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 13 bytes SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes Port::ReadUntil() Reading until ' ' or 15 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::BytesAvailable() Found 0 bytes available SerialPort::WaitForDataOrTimeout() Found data waiting SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. ---snip--- SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 2 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::SkipUntil() Skipping until ' ' is seen 1 times. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. Port::SkipUntil() Got terminator character. Port::SkipUntil() All terminators found. Failed to change baud rate: (3) Bad response to S command: 3 No error descriptions available Failed to set motor speed: (11) SCIP version 1 does not support the set motor speed command. Laser sensor information: SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes Port::ReadUntil() Reading until ' ' or 2 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::BytesAvailable() Found 0 bytes available SerialPort::WaitForDataOrTimeout() Found data waiting SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 2 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 65 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes ---snip--- es SerialPort::Read() Read 1 bytes Port::SkipUntil() Read 1 bytes. Port::SkipUntil() Got terminator character. Port::SkipUntil() All terminators found. Vendor: Hokuyo Automatic Co.,Ltd. Product: SOKUIKI Sensor URG-04LX Firmware: 0.2.91a,06/08/07(20-4095[mm],240[deg],44-725[step],600[rpm] Protocol: 0.2.91a,06/08/07(20-4095[mm],240[deg],44-725[step],600[rpm] Serial: 00003,(SCIP 1.0) Model: Minimum range: 20mm Maximum range: 4095mm Steps in 360 degrees: 1024 Scanable steps: 682 First step: 44 Front step: 384 Last step: 725 Resolution: 0.00613592 radians/step Minimum angle: -2.08621 radians Maximum angle: 2.09235 radians Standard motor speed: 0rpm Power status: Off Measurement state: Motor speed: 0rpm (level 0) Baud rate: 0bps Time stamp: 0ms Sensor diagnostic: H0508237 SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes SerialPort::Write() Writing 8 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 8 bytes SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes Port::ReadUntil() Reading until ' ' or 10 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::BytesAvailable() Found 0 bytes available SerialPort::WaitForDataOrTimeout() Found data waiting SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 2 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 65 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. ---snip--- SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 65 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes ---snip--- Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 65 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes ---snip--- ort::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 65 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. ---snip--- SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 65 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes ---snip--- SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 65 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes ---snip--- Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 65 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes ---snip--- Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. Port::ReadUntil() Reading until ' ' or 65 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. ----- snip ------ SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::BytesAvailable() Found 0 bytes available SerialPort::WaitForDataOrTimeout() Timed out SerialPort::Close() Closing port SerialPort::Close() Port closed Caught exception: (1) Timed out trying to read a line. 2nd run: -------------------------------------------------------------------------------------- SerialPort::Open() Opening serial device /dev/ttyACM0 SerialPort::Open() Serial device opened. SerialPort::Write() Writing 2 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 2 bytes SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes Port::ReadUntil() Reading until ' ' or 3 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes SerialPort::Write() Writing 1 bytes SerialPort::WaitForWritableOrTimeout() Found space to write SerialPort::Write() Wrote 1 bytes Port::ReadUntil() Reading until ' ' or 2 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::BytesAvailable() Found 0 bytes available SerialPort::WaitForDataOrTimeout() Found data waiting SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Reading until ' ' or 2 bytes. SerialPort::Read() Going to read 1 bytes SerialPort::Read() Read 1 bytes Port::ReadUntil() Read 1 bytes. Port::ReadUntil() Got terminator character. SerialPort::Close() Closing port SerialPort::Close() Port closed Caught exception: (9) SCIP versions 1 and 2 failed. the port.logw .logr are now producing readable output. I'm going to rerun them to confirm then post what I get. ----------------------------------------------------------------------------------------- -- View this message in context: http://old.nabble.com/hokuyo-urg-04lx-with-hokuyo_aist-in-player-3.0.0-tp25824547p26215783.html Sent from the playerstage-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Playerstage-users mailing list Playerstage-users@... https://lists.sourceforge.net/lists/listinfo/playerstage-users |
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0I tried pasting the output but nabble won't accept the long messages--one is pending, I don't know if it will go through or not. However, I can retrieve all the files I preveiously attached from nabble directly, and upon inspection, the links in your quoted reply don't match so I think nabble messed something up. The links I can access are below... give those a shot and let me know if they worked. If I can get the pasted output to post, then I'll do that as well. http://old.nabble.com/file/p26081273/port.logr http://old.nabble.com/file/p26081273/port.logw http://old.nabble.com/file/p26080553/hokoyu_aist_example.output.txt http://old.nabble.com/file/p26080553/hokoyu_aist_example.output-2.txt http://old.nabble.com/file/p26081273/port.logr http://old.nabble.com/file/p26081273/port.logw http://old.nabble.com/file/p26080553/hokoyu_aist_example.output.txt http://old.nabble.com/file/p26080553/hokoyu_aist_example.output-2.txt I don't know what "old.nabble.com" is, but when I go to nabble, my browser redirects to old. Gosh, this is turning into a minor event. :P Thanks for your help in advance. -Todd
|
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0For a site that is supposed to make mailing lists easier, Nabble is
doing a great job of causing problems. You should consider subscribing to the actual mailing list via the sourceforge project page, rather than going through Nabble. Looking at the output, my first comment is: please use the verbose option (-v) for the example as well as setting debug to 3. That makes it easier to see what the driver is doing with all that serial comms traffic. My second comment is that your firmware version looks like it is getting a bit old. This shouldn't be a problem, but consider updating your laser's firmware if possible. You can also try running the example without specifying a baud rate. This will tell us if changing the baud rate is causing the problem. After running the logged comms traffic through the example, I can see that it is starting to get a scan. For some unknown reason, however, it is failing halfway through receiving the scan data. Having the output of the example with -v should give some more clues Geoff Todd Flyr wrote: > > I tried pasting the output but nabble won't accept the long messages--one is > pending, I don't know if it will go through or not. However, I can retrieve > all the files I preveiously attached from nabble directly, and upon > inspection, the links in your quoted reply don't match so I think nabble > messed something up. > > The links I can access are below... give those a shot and let me know if > they worked. If I can get the pasted output to post, then I'll do that as > well. > > http://old.nabble.com/file/p26081273/port.logr > http://old.nabble.com/file/p26081273/port.logw > > http://old.nabble.com/file/p26080553/hokoyu_aist_example.output.txt > http://old.nabble.com/file/p26080553/hokoyu_aist_example.output-2.txt > > http://old.nabble.com/file/p26081273/port.logr > http://old.nabble.com/file/p26081273/port.logr > > http://old.nabble.com/file/p26081273/port.logw > http://old.nabble.com/file/p26081273/port.logw > > > http://old.nabble.com/file/p26080553/hokoyu_aist_example.output.txt > http://old.nabble.com/file/p26080553/hokoyu_aist_example.output.txt > > http://old.nabble.com/file/p26080553/hokoyu_aist_example.output-2.txt > http://old.nabble.com/file/p26080553/hokoyu_aist_example.output-2.txt > > I don't know what "old.nabble.com" is, but when I go to nabble, my browser > redirects to old. > > Gosh, this is turning into a minor event. :P > > Thanks for your help in advance. > > -Todd ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Playerstage-users mailing list Playerstage-users@... https://lists.sourceforge.net/lists/listinfo/playerstage-users |
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0I'm reading on how to update the firmware.
Attached are the output files on the existing firmware. I ran verbose mode and thought I threw the debug=3 switch correctly. The files are shorter, so I wonder if removing the baud rate eliminates a messed up negotiation. I ran: ./hokuyo_aist_example -v -o type=seriallog,device=/dev/ttyACM0,timeout=1,debug=3 attached:port.logr port.logw specific links (if nabble repeats the past) http://old.nabble.com/file/t1473971/port.logr http://old.nabble.com/file/t1473971/port.logw http://old.nabble.com/file/t1473971/urg_output.txt output: urg_output.txt |
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0 |
|
|
Re: hokuyo urg-04lx with hokuyo_aist in player 3.0.0Sorry for the delay getting back to you. We've just finished a major
project that has been sucking up a lot of time. >From looking at all your log files, the best explanation I can think of for the random errors (such as timeouts and truncated messages) you're encountering is a glitchy communications link. Are you using the direct USB connection or connecting over a serial-to-USB converter? You can try making the timeout longer and see if that helps. Have you tried using the laser on other computers? By the way, the baud rate setting on the port needs to be set to the laser's current baud rate. Use the hokuyo_aist library's baud rate setting to change it to what you actually want. This is because changing the baud rate requires sending a command to the laser. Geoff Todd Flyr wrote: > 3.3.0 firmware installed on urg > > http://old.nabble.com/file/p26230898/port.logr port.logr > http://old.nabble.com/file/p26230898/port.logw port.logw > > http://old.nabble.com/file/p26230898/urg_output-3.3.0-firmware.txt > urg_output-3.3.0-firmware.txt > > http://old.nabble.com/file/t1473971/port.logr > http://old.nabble.com/file/t1473971/port.logw > http://old.nabble.com/file/t1473971/urg_output-3.3.0-firmware.txt > > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Playerstage-users mailing list Playerstage-users@... https://lists.sourceforge.net/lists/listinfo/playerstage-users |
| Free embeddable forum powered by Nabble | Forum Help |