Laser scanner SICK S300 header not found
Hello,
I am trying to read a SICK S300 laser scanner in ROS Melodic (Ubuntu 18.04), using this driver: https://github.com/bohlender/sicks300 . But I get a continuous:
[ WARN] [1615479969.794178058]: SerialCommS300: Warning: skipping 1 bytes, header not found
When I do hexdump /dev/ttyUSB0
I don't see any pattern matching the header as specified by the telegram either. The header should start with 0000 0000 0000 .
The serial port has stty -F /dev/ttyUSB0 -a
:
speed 500000 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany -imaxbel
-iutf8
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho
-extproc
In the CDS configuration from SICK I have:
- Continuous data output
- Baud 500K
- Only 1 telegram (no I/O)
- Measured data output: Distance
- No trigger event, no I/O data output
- Silent time 5000 ms
Any information regarding any clues or experience you might have with these type of laser scanners will be much appreciated :)
Thanks!