Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Error unexpected Sopas answer for request sWN SetActiveApplications #11

Closed
chrisfernam2 opened this issue Jun 29, 2018 · 33 comments
Closed

Comments

@chrisfernam2
Copy link

chrisfernam2 commented Jun 29, 2018

Hi everyone i just received the mrs1000 LiDAR and i'm having some problems. I'm running the launch file by entering: roslaunch sick_scan sick_mrs_1xxx.launch but i'm facing quite a bit of errors. Could you please help me?

Here is the behavior within my terminal:

ros-vm@ROS-vm:~/catkin_ws/src/sick_scan/launch$ roslaunch sick_scan sick_mrs_1xxx.launch
... logging to /home/ros-vm/.ros/log/c477f7dc-7bbb-11e8-beb2-0800274a3ab6/roslaunch-ROS-vm-2325.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

xacro.py is deprecated; please use xacro instead
started roslaunch server http://localhost:39475/

SUMMARY

PARAMETERS

  • /robot_description: <?xml version="1....
  • /rosdistro: melodic
  • /rosversion: 1.14.2
  • /sick_mrs_1xxx/hostname: 192.168.0.1
  • /sick_mrs_1xxx/intensity_resolution_16bit: False
  • /sick_mrs_1xxx/max_ang: 2.3998277
  • /sick_mrs_1xxx/min_ang: -2.3998277
  • /sick_mrs_1xxx/port: 2112
  • /sick_mrs_1xxx/scanner_type: sick_mrs_1xxx
  • /sick_mrs_1xxx/timelimit: 5

NODES
/
sick_mrs_1xxx (sick_scan/sick_generic_caller)

ROS_MASTER_URI=http://localhost:11311

process[sick_mrs_1xxx-1]: started with pid [2343]
[ INFO] [1530290727.003895157]: sick_generic_caller V. 001.002.001
[ INFO] [1530290727.003985764]: Program arguments: /home/ros-vm/catkin_ws/devel/lib/sick_scan/sick_generic_caller
[ INFO] [1530290727.004012680]: Program arguments: __name:=sick_mrs_1xxx
[ INFO] [1530290727.004029852]: Program arguments: __log:=/home/ros-vm/.ros/log/c477f7dc-7bbb-11e8-beb2-0800274a3ab6/sick_mrs_1xxx-1.log
[ INFO] [1530290727.016150117]: Start initialising scanner ...
[ INFO] [1530290727.043051528]: Parameter setting for <active_echo: 0>
[ INFO] [1530290727.243853840]: Sending : sMN SetAccessMode \x03\xf4\x72\x47\x44
[ INFO] [1530290727.255578714]: Receiving: sAN SetAccessMode \x01
[ INFO] [1530290727.458298011]: Sending : sWN EIHstCola \x01
[ INFO] [1530290727.469194857]: Receiving: sWA EIHstCola
[ INFO] [1530290727.670414146]: Sending : sMN LMCstopmeas
[ INFO] [1530290727.703497948]: Receiving: sAN LMCstopmeas \x00
[ INFO] [1530290727.904011287]: Sending : sWN SetActiveApplications \x01\x20\x46\x45\x56\x4c\x20\x00
[ INFO] [1530290727.916623526]: Receiving: sFA\x00\x45
[ERROR] [1530290727.916850355]: Error Sopas answer mismatch Error unexpected Sopas Answer for request "sWN SetActiveApplications FEVL 5Answer= >>>sFA\x00\x45<<<

[ERROR] [1530290727.917062333]: Command or Error message not defined
[ INFO] [1530290728.118791900]: Sending : sWN SetActiveApplications \x01\x20\x52\x41\x4e\x47\x20\x01
[ INFO] [1530290728.131115200]: Receiving: sFA\x00\x45
[ERROR] [1530290728.131560221]: Error Sopas answer mismatch Error unexpected Sopas Answer for request "sWN SetActiveApplications RANG 7Answer= >>>sFA\x00\x45<<<

[ERROR] [1530290728.131687105]: Command or Error message not defined
[ INFO] [1530290728.332318527]: Sending : sRI 0
[ INFO] [1530290728.343563829]: Receiving: sFA\x00\x03
[ERROR] [1530290728.343697775]: Error Sopas answer mismatch Error unexpected Sopas Answer for request sRI 0xAnswer= >>>sFA\x00\x03<<<

[ERROR] [1530290728.343803174]: Error reading device ident
[ INFO] [1530290728.544384533]: Sending : sRN SerialNumber
[ INFO] [1530290728.554818372]: Receiving: sRA SerialNumber \x00\x08\x31\x37\x34\x35\x30\x30\x32\x33
[ WARN] [1530290728.554976773]: Device ??? V-1.-1 found and maybe unsupported by this driver.
[ WARN] [1530290728.555022895]: Full SOPAS answer: Command or Error message not defined
[ INFO] [1530290728.756571314]: Sending : sRN FirmwareVersion
[ INFO] [1530290728.767168275]: Receiving: sRA FirmwareVersion \x00\x09\x56\x20\x31\x2e\x33\x2e\x31\x2e\x30
[ INFO] [1530290728.967667563]: Sending : sRN SCdevicestate
[ INFO] [1530290728.978611015]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530290729.179266167]: Sending : sRN ODoprh
[ INFO] [1530290729.189693093]: Receiving: sRA ODoprh \x00\x00\x00\xf8
[ INFO] [1530290729.391517477]: Sending : sRN ODpwrc
[ INFO] [1530290729.401865706]: Receiving: sRA ODpwrc \x00\x00\x00\x02
[ INFO] [1530290729.604090387]: Sending : sRN LocationName
[ INFO] [1530290729.615077248]: Receiving: sRA LocationName \x00\x0b\x53\x4e\x20\x31\x37\x34\x35\x30\x30\x32\x33
[sick_mrs_1xxx-1] process has died [pid 2343, exit code -11, cmd /home/ros-vm/catkin_ws/devel/lib/sick_scan/sick_generic_caller __name:=sick_mrs_1xxx __log:=/home/ros-vm/.ros/log/c477f7dc-7bbb-11e8-beb2-0800274a3ab6/sick_mrs_1xxx-1.log].
log file: /home/ros-vm/.ros/log/c477f7dc-7bbb-11e8-beb2-0800274a3ab6/sick_mrs_1xxx-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
ros-vm@ROS-vm:~/catkin_ws/src/sick_scan/launch$

@michael1309
Copy link
Collaborator

michael1309 commented Jun 30, 2018 via email

@michael1309
Copy link
Collaborator

Hi Chris,

in the first step you can ignore the warnings. Some scanner types does not support the full range of commands. Can you receive data from the MRS1xxx?

Best regards,
Michael

@michael1309
Copy link
Collaborator

The MRS1xxx does not support some legacy commands. So I changed the command processing similar to the MRS6124. The output starting with V.001.002.002 is like this:

[ INFO] [1530430494.072798301]: sick_generic_caller V. 001.002.002
[ INFO] [1530430494.072857178]: Program arguments: /home/michael/catkin_sickag_devel_ws/devel/lib/sick_scan/sick_generic_caller
[ INFO] [1530430494.072875282]: Program arguments: __name:=sick_mrs_1xxx
[ INFO] [1530430494.118973641]: Start initialising scanner ...
[ INFO] [1530430494.521775846]: Parameter setting for <active_echo: 0>
[ INFO] [1530430494.722729142]: Sending : sMN SetAccessMode \x03\xf4\x72\x47\x44
[ INFO] [1530430494.746603450]: Receiving: sAN SetAccessMode \x01
[ INFO] [1530430494.948155898]: Sending : sWN EIHstCola \x01
[ INFO] [1530430494.959109516]: Receiving: sWA EIHstCola
[ INFO] [1530430495.160597830]: Sending : sMN LMCstopmeas
[ INFO] [1530430495.192428888]: Receiving: sAN LMCstopmeas \x00
[ INFO] [1530430495.393304351]: Sending : sRN DeviceIdent
[ INFO] [1530430495.403826492]: Receiving: sRA DeviceIdent \x00\x08\x4d\x52\x53\x31\x78\x78\x78\x78\x00\x08\x31\x2e\x33\x2e\x30\x2e\x30\x52
[ INFO] [1530430495.404019258]: Deviceinfo MRS1xxxx V1.3.0.0R found and supported by this driver.
[ INFO] [1530430495.604321816]: Sending : sRN FirmwareVersion
[ INFO] [1530430495.615344630]: Receiving: sRA FirmwareVersion \x00\x09\x56\x20\x31\x2e\x33\x2e\x30\x2e\x30
[ INFO] [1530430495.815703185]: Sending : sRN SCdevicestate
[ INFO] [1530430495.826633990]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530430496.027230813]: Sending : sRN ODoprh
[ INFO] [1530430496.038068903]: Receiving: sRA ODoprh \x00\x00\x02\x5c
[ INFO] [1530430496.240775305]: Sending : sRN ODpwrc
[ INFO] [1530430496.252793971]: Receiving: sRA ODpwrc \x00\x00\x00\x0f
[ INFO] [1530430496.457036391]: Sending : sRN LocationName
[ INFO] [1530430496.468266243]: Receiving: sRA LocationName \x00\x0b\x53\x4e\x20\x31\x37\x34\x35\x30\x30\x31\x35
[ INFO] [1530430496.470928561]: Sending : sRN LMPoutputRange
[ INFO] [1530430496.481915251]: Receiving: sRA LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1530430496.482063160]: Angle resolution of scanner is 0.25000 [deg] (in 1/10000th deg: 0x9C4)
[ INFO] [1530430496.482101973]: MIN_ANG: -2.400 [rad] -137.500 [deg]
[ INFO] [1530430496.482122579]: MAX_ANG: 2.400 [rad] 137.500 [deg]
[ INFO] [1530430496.482188355]: Sending : sWN LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1530430496.492883848]: Receiving: sWA LMPoutputRange
[ INFO] [1530430496.493029638]: Sending : sRN LMPoutputRange
[ INFO] [1530430496.503827584]: Receiving: sRA LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1530430496.503972204]: Angle resolution of scanner is 0.25000 [deg] (in 1/10000th deg: 0x9C4)
[ INFO] [1530430496.506923288]: MIN_ANG (after command verification): -2.400 [rad] -137.500 [deg]
[ INFO] [1530430496.507007984]: MAX_ANG (after command verification): 2.400 [rad] 137.500 [deg]
[ INFO] [1530430496.507086222]: MRS 1xxx detected overwriting resolution flag (only 8 bit supported)
[ INFO] [1530430496.507176276]: Sending : sWN LMDscandatacfg \x07\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01
[ INFO] [1530430496.517809197]: Receiving: sWA LMDscandatacfg
[ INFO] [1530430496.517957464]: Sending : sRN LMDscandatacfg
[ INFO] [1530430496.528736597]: Receiving: sRA LMDscandatacfg \x07\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01
[ INFO] [1530430496.530129982]: Sending : sWN FREchoFilter \x01
[ INFO] [1530430496.540727421]: Receiving: sWA FREchoFilter
[ INFO] [1530430496.540897186]: Sending : sMN LMCstartmeas
[ INFO] [1530430496.562667284]: Receiving: sAN LMCstartmeas \x00
[ INFO] [1530430496.562823184]: Sending : sMN Run
[ INFO] [1530430496.573634045]: Receiving: sAN Run \x01
[ INFO] [1530430496.573802048]: Sending : sRN SCdevicestate
[ INFO] [1530430496.584610981]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530430496.584763341]: Waiting for scanner ready state since 0 secs
[ INFO] [1530430497.585955317]: Sending : sRN SCdevicestate
[ INFO] [1530430497.596889617]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530430497.597039747]: Waiting for scanner ready state since 1 secs
.... ...

@michael1309
Copy link
Collaborator

I will push this version at latest tomorrow morning (2nd of July) after testing.

@michael1309
Copy link
Collaborator

Hi all,

I just pushed a new version in the devel branch, which should solve the mentioned issue.

Best regards,
Michael

@chrisfernam2
Copy link
Author

chrisfernam2 commented Jul 2, 2018 via email

@michael1309
Copy link
Collaborator

michael1309 commented Jul 2, 2018 via email

@chrisfernam2
Copy link
Author

chrisfernam2 commented Jul 2, 2018 via email

@michael1309
Copy link
Collaborator

michael1309 commented Jul 2, 2018 via email

@michael1309
Copy link
Collaborator

michael1309 commented Jul 2, 2018 via email

@michael1309
Copy link
Collaborator

michael1309 commented Jul 2, 2018 via email

@chrisfernam2
Copy link
Author

chrisfernam2 commented Jul 2, 2018

Ok i just downloaded the devel version and remade my file. Although it now shows sick_generic_caller V.001.002.002, and most errors are gone, im still getting the same final error causing a disconnection on TCP-connection, i read in another opened issue that i can simply increase the timeout to 30000 by configuring the sick_scan_common_tcp.cpp , i did this, but still no change.

here is the full log :

SUMMARY

PARAMETERS

  • /robot_description: <?xml version="1....
  • /rosdistro: melodic
  • /rosversion: 1.14.2
  • /sick_mrs_1xxx/hostname: 192.168.0.1
  • /sick_mrs_1xxx/intensity_resolution_16bit: False
  • /sick_mrs_1xxx/max_ang: 2.3998277
  • /sick_mrs_1xxx/min_ang: -2.3998277
  • /sick_mrs_1xxx/port: 2112
  • /sick_mrs_1xxx/scanner_type: sick_mrs_1xxx
  • /sick_mrs_1xxx/timelimit: 5

NODES
/
sick_mrs_1xxx (sick_scan/sick_generic_caller)

ROS_MASTER_URI=http://localhost:11311

process[sick_mrs_1xxx-1]: started with pid [23019]
[ INFO] [1530561200.642259675]: sick_generic_caller V. 001.002.002
[ INFO] [1530561200.642303478]: Program arguments: /home/ros-vm/catkin_ws/devel/lib/sick_scan/sick_generic_caller
[ INFO] [1530561200.642311884]: Program arguments: __name:=sick_mrs_1xxx
[ INFO] [1530561200.642318834]: Program arguments: __log:=/home/ros-vm/.ros/log/af61e216-7e1f-11e8-af43-0800274a3ab6/sick_mrs_1xxx-1.log
[ INFO] [1530561200.650467517]: Start initialising scanner ...
[ INFO] [1530561200.682803485]: Parameter setting for <active_echo: 0>
[ INFO] [1530561200.885386726]: Sending : sMN SetAccessMode \x03\xf4\x72\x47\x44
[ INFO] [1530561200.897212258]: Receiving: sAN SetAccessMode \x01
[ INFO] [1530561201.100805630]: Sending : sWN EIHstCola \x01
[ INFO] [1530561201.111318006]: Receiving: sWA EIHstCola
[ INFO] [1530561201.312576345]: Sending : sMN LMCstopmeas
[ INFO] [1530561201.348262608]: Receiving: sAN LMCstopmeas \x00
[ INFO] [1530561201.550646134]: Sending : sRN DeviceIdent
[ INFO] [1530561201.564870648]: Receiving: sRA DeviceIdent \x00\x08\x4d\x52\x53\x31\x78\x78\x78\x78\x00\x08\x31\x2e\x33\x2e\x31\x2e\x30\x52
[ INFO] [1530561201.565078508]: Deviceinfo MRS1xxxx V1.3.1.0R found and supported by this driver.
[ INFO] [1530561201.766113197]: Sending : sRN FirmwareVersion
[ INFO] [1530561201.777518456]: Receiving: sRA FirmwareVersion \x00\x09\x56\x20\x31\x2e\x33\x2e\x31\x2e\x30
[ INFO] [1530561201.978631257]: Sending : sRN SCdevicestate
[ INFO] [1530561201.989442220]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530561202.190086663]: Sending : sRN ODoprh
[ INFO] [1530561202.200695995]: Receiving: sRA ODoprh \x00\x00\x01\x6f
[ INFO] [1530561202.403937517]: Sending : sRN ODpwrc
[ INFO] [1530561202.415544905]: Receiving: sRA ODpwrc \x00\x00\x00\x0d
[ INFO] [1530561202.618093885]: Sending : sRN LocationName
[ INFO] [1530561202.628506315]: Receiving: sRA LocationName \x00\x0b\x53\x4e\x20\x31\x37\x34\x35\x30\x30\x32\x33
[ INFO] [1530561202.629936171]: Sending : sRN LMPoutputRange
[ INFO] [1530561202.640974972]: Receiving: sRA LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1530561202.641129869]: Angle resolution of scanner is 0.25000 [deg] (in 1/10000th deg: 0x9C4)
[ INFO] [1530561202.641204381]: MIN_ANG: -2.400 [rad] -137.500 [deg]
[ INFO] [1530561202.641239412]: MAX_ANG: 2.400 [rad] 137.500 [deg]
[ INFO] [1530561202.641424899]: Sending : sWN LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1530561202.651948711]: Receiving: sWA LMPoutputRange
[ INFO] [1530561202.652093249]: Sending : sRN LMPoutputRange
[ INFO] [1530561202.662851318]: Receiving: sRA LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1530561202.663006836]: Angle resolution of scanner is 0.25000 [deg] (in 1/10000th deg: 0x9C4)
[ INFO] [1530561202.665913662]: MIN_ANG (after command verification): -2.400 [rad] -137.500 [deg]
[ INFO] [1530561202.665963833]: MAX_ANG (after command verification): 2.400 [rad] 137.500 [deg]
[ INFO] [1530561202.665988852]: MRS 1xxx detected overwriting resolution flag (only 8 bit supported)
[ INFO] [1530561202.666067957]: Sending : sWN LMDscandatacfg \x07\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01
[ INFO] [1530561202.676890764]: Receiving: sWA LMDscandatacfg
[ INFO] [1530561202.676993673]: Sending : sRN LMDscandatacfg
[ INFO] [1530561202.687848481]: Receiving: sRA LMDscandatacfg \x07\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01
[ INFO] [1530561202.688826315]: Sending : sWN FREchoFilter \x01
[ INFO] [1530561202.699184693]: Receiving: sWA FREchoFilter
[ INFO] [1530561202.699372497]: Sending : sMN LMCstartmeas
[ INFO] [1530561202.720371025]: Receiving: sAN LMCstartmeas \x00
[ INFO] [1530561202.720528215]: Sending : sMN Run
[ INFO] [1530561202.731072982]: Receiving: sAN Run \x01
[ INFO] [1530561202.731201716]: Sending : sRN SCdevicestate
[ INFO] [1530561202.741923837]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530561202.742050300]: Waiting for scanner ready state since 0 secs
[ INFO] [1530561203.748756062]: Sending : sRN SCdevicestate
[ INFO] [1530561203.759688626]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530561203.759826513]: Waiting for scanner ready state since 1 secs
[ INFO] [1530561204.760364447]: Sending : sRN SCdevicestate
[ INFO] [1530561204.772276670]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530561204.772411914]: Waiting for scanner ready state since 2 secs
[ INFO] [1530561205.775045608]: Sending : sRN SCdevicestate
[ INFO] [1530561205.785851829]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530561205.785979303]: Waiting for scanner ready state since 3 secs
[ INFO] [1530561206.789152373]: Sending : sRN SCdevicestate
[ INFO] [1530561206.809564886]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530561206.809851698]: Waiting for scanner ready state since 4 secs
[ INFO] [1530561207.810735650]: Sending : sRN SCdevicestate
[ INFO] [1530561207.821263546]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530561207.821498271]: Waiting for scanner ready state since 5 secs
[ INFO] [1530561208.821862315]: Sending : sRN SCdevicestate
[ INFO] [1530561208.832757802]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530561208.832950683]: Waiting for scanner ready state since 6 secs
[ INFO] [1530561209.839512901]: Sending : sRN SCdevicestate
[ INFO] [1530561209.854529444]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530561209.854884961]: Waiting for scanner ready state since 7 secs
[ INFO] [1530561210.861092912]: Sending : sRN SCdevicestate
[ INFO] [1530561210.874603599]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530561210.874754847]: Waiting for scanner ready state since 8 secs
[ INFO] [1530561211.879682496]: Sending : sRN SCdevicestate
[ INFO] [1530561211.890586701]: Receiving: sRA SCdevicestate \x00
[ INFO] [1530561211.890786135]: Waiting for scanner ready state since 9 secs
[ INFO] [1530561212.896170617]: Sending : sRN SCdevicestate
[ INFO] [1530561212.907021015]: Receiving: sRA SCdevicestate \x01
[ INFO] [1530561212.907156989]: Scanner ready for measurement after 10 [sec]
[ INFO] [1530561212.907238638]: Sending : sEN LMDscandata \x01
[ INFO] [1530561212.918113135]: Receiving: sEA LMDscandata \x01
[ WARN] [1530561232.923659848]: Timeout during waiting for new datagram
[ERROR] [1530561232.923841056]: Read Error when getting datagram: 1.
[ INFO] [1530561232.924069828]: Start initialising scanner ...
[ERROR] [1530561256.660293365]: no answer received after 20000 ms. Maybe sopas mode is wrong.

[ERROR] [1530561256.660397334]: sendSOPASCommand: no full reply available for read after 20000 ms

SOPAS - Error stopping streaming scan data!
[ WARN] [1530561256.660515140]: Disconnecting TCP-Connection.
1530561257.0357 Info: Tcp::readInputData: Read 0 bytes - connection is lost!
sick_scan driver exiting.

@michael1309
Copy link
Collaborator

michael1309 commented Jul 2, 2018 via email

@chrisfernam2
Copy link
Author

chrisfernam2 commented Jul 2, 2018 via email

@michael1309
Copy link
Collaborator

michael1309 commented Jul 2, 2018 via email

@michael1309
Copy link
Collaborator

michael1309 commented Jul 2, 2018 via email

@chrisfernam2
Copy link
Author

I opened rviz and chose to add a display (by topic), i added /cloud PointCloud2. I specified the topic to be /cloud, but almost instantaneously i get:

Status: error Transform[sender=unknown_publisher] For frame[laser]:Fixed Frame[map] does not exist.

It should be pretty much plug & play from this point onward, what does this error mean?

@chrisfernam2
Copy link
Author

chrisfernam2 commented Jul 2, 2018 via email

@michael1309
Copy link
Collaborator

michael1309 commented Jul 3, 2018

You are welcome. We are happy that your laserscanner is up and running.

One hint: In addition to subscription of /cloud as a Pointcloud2-Message you can also subscribe
to laserscan messages. Each echo and each layer are published in a specific laserscan message.
For 3 echos and 4 different "layers" this means 12 laser scan messages in parallel to 1 PointCloud2-message. This will give you an update rate of 150 Hz for laser scans and 12.5 Hz for pointcloud message.
Each laserscan are named by the pattern "%s_%+04d_DIST%d" (e.g. "laser_+000_DIST1" for the main echo on the layer with elevation "0°").
More examples:
"laser_+250_DIST1" : Main echo for elevation angle 2.5° and so on.
"laser_+250_DIST2" : Second echo for elevation angle 2.5° and so on.

Please pay attention to the fact, that points on an elevation angle not equal to 0° lays on
a cone (instead of a flat layer).

If you want to see a single layer with a specific echo you should switch the fixed frame under global options to the wished frame id instead of "map".

e.g. for rviz:

  1. Global Options->Fixed Frame->"laser_+000_DIST1" : Main echo for elevation angle 0.0°.
  2. Add Laser scan view (in addition or instead of pointcloud2).

It is also a good idea to use "rostopic echo ...." and interrupt the output via ctrl-c to inspect the data in the header. This gives you a good feeling about data organization and naming.

Addition to pointcloud2:
You can also start "tf" by supporting a transformation between "laser" and "map" coordinate system
by using the following command.

rosrun tf static_transform_publisher 0 0 0 0 0 0 1 map laser 10

Have fun!

@chrisfernam2
Copy link
Author

chrisfernam2 commented Jul 3, 2018

Thank you the hint is very helpful for me for differentiating between each layer!

@chrisfernam2
Copy link
Author

I'm still receiving the same "Transform[sender=unknown_publisher]" error ; that is,
For frame[laser_+250_DIST3]:Fixed Frame[laser_+250_DIST1] does not exist.

How can i fix this?

@michael1309
Copy link
Collaborator

michael1309 commented Jul 5, 2018 via email

@michael1309
Copy link
Collaborator

michael1309 commented Jul 5, 2018 via email

@michael1309
Copy link
Collaborator

Hi,

for a better understanding of the ideas and concepts I created today a test launch file and opened a ticket about this issue (Ticket #13).
It explains in detail and hands on how you can use pointcloud2 and laserscan (including rviz config file and screenshot)

Best regards,
Michael

@anupritdangi
Copy link

anupritdangi commented Jul 24, 2018

Getting the same error @chrisfernam2 . Nothing is published on scan topic. How you removed this error. can you please help?

LOG->

<param name="scanner_type" type="string" value="sick_mrs_1xxx"/>
<param name="min_ang" type="double" value="-2.3998277" />
<param name="max_ang" type="double" value="+2.3998277" />
<param name="intensity_resolution_16bit" type="bool" value="False" />
<param name="hostname" type="string" value="169.254.100.120" />
<param name="port" type="string" value="2112" />
<param name="timelimit" type="int" value="5" />

ROS_MASTER_URI=http://localhost:11311

process[sick_mrs_1xxx-1]: started with pid [18897]
[ INFO] [1532422730.910066728]: sick_generic_caller V. 001.002.004
[ INFO] [1532422730.910277132]: Program arguments: /home/nvidia/catkin_ws/devel/lib/sick_scan/sick_generic_caller
[ INFO] [1532422730.910344429]: Program arguments: __name:=sick_mrs_1xxx
[ INFO] [1532422730.910428462]: Program arguments: __log:=/home/nvidia/.ros/log/e12895f0-8f1e-11e8-9e14-00044ba7df0f/sick_mrs_1xxx-1.log
[ INFO] [1532422730.958080648]: Start initialising scanner ...
[ INFO] [1532422731.257183790]: Parameter setting for <active_echo: 0>
[ INFO] [1532422731.461172324]: Sending : sMN SetAccessMode \x03\xf4\x72\x47\x44
[ INFO] [1532422731.473282717]: Receiving: sAN SetAccessMode \x01
[ INFO] [1532422731.675159250]: Sending : sWN EIHstCola \x01
[ INFO] [1532422731.686425759]: Receiving: sWA EIHstCola
[ INFO] [1532422731.888174418]: Sending : sMN LMCstopmeas
[ INFO] [1532422731.920882663]: Receiving: sAN LMCstopmeas \x00
[ INFO] [1532422732.123843116]: Sending : sRN DeviceIdent
[ INFO] [1532422732.136092712]: Receiving: sRA DeviceIdent \x00\x08\x4d\x52\x53\x31\x78\x78\x78\x78\x00\x08\x31\x2e\x33\x2e\x30\x2e\x30\x52
[ INFO] [1532422732.138111015]: Deviceinfo MRS1xxxx V1.3.0.0R found and supported by this driver.
[ INFO] [1532422732.340192639]: Sending : sRN FirmwareVersion
[ INFO] [1532422732.352384154]: Receiving: sRA FirmwareVersion \x00\x09\x56\x20\x31\x2e\x33\x2e\x30\x2e\x30
[ INFO] [1532422732.554089804]: Sending : sRN SCdevicestate
[ INFO] [1532422732.565260695]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532422732.768058778]: Sending : sRN ODoprh
[ INFO] [1532422732.780229205]: Receiving: sRA ODoprh \x00\x00\x00\xea
[ INFO] [1532422732.994985391]: Sending : sRN ODpwrc
[ INFO] [1532422733.007086569]: Receiving: sRA ODpwrc \x00\x00\x00\x27
[ INFO] [1532422733.222065350]: Sending : sRN LocationName
[ INFO] [1532422733.234544613]: Receiving: sRA LocationName \x00\x0b\x53\x4e\x20\x31\x37\x34\x37\x30\x30\x32\x33
[ INFO] [1532422733.244302907]: Sending : sRN LMPoutputRange
[ INFO] [1532422733.255426277]: Receiving: sRA LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1532422733.256589623]: Angle resolution of scanner is 0.25000 [deg] (in 1/10000th deg: 0x9C4)
[ INFO] [1532422733.257103135]: MIN_ANG: -2.400 [rad] -137.500 [deg]
[ INFO] [1532422733.257324802]: MAX_ANG: 2.400 [rad] 137.500 [deg]
[ INFO] [1532422733.258225360]: Sending : sWN LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1532422733.269740481]: Receiving: sWA LMPoutputRange
[ INFO] [1532422733.270823505]: Sending : sRN LMPoutputRange
[ INFO] [1532422733.281993468]: Receiving: sRA LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1532422733.282864362]: Angle resolution of scanner is 0.25000 [deg] (in 1/10000th deg: 0x9C4)
[ INFO] [1532422733.314694065]: MIN_ANG (after command verification): -2.400 [rad] -137.500 [deg]
[ INFO] [1532422733.315348443]: MAX_ANG (after command verification): 2.400 [rad] 137.500 [deg]
[ INFO] [1532422733.315781058]: MRS 1xxx detected overwriting resolution flag (only 8 bit supported)
[ INFO] [1532422733.317125399]: Sending : sWN LMDscandatacfg \x07\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01
[ INFO] [1532422733.328296098]: Receiving: sWA LMDscandatacfg
[ INFO] [1532422733.329294929]: Sending : sRN LMDscandatacfg
[ INFO] [1532422733.340812898]: Receiving: sRA LMDscandatacfg \x07\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01
[ INFO] [1532422733.355271359]: Sending : sWN FREchoFilter \x01
[ INFO] [1532422733.358047370]: Receiving: sWA FREchoFilter
[ INFO] [1532422733.360535440]: Sending : sMN LMCstartmeas
[ INFO] [1532422733.383033769]: Receiving: sAN LMCstartmeas \x00
[ INFO] [1532422733.384965446]: Sending : sMN Run
[ INFO] [1532422733.397572391]: Receiving: sAN Run \x01
[ INFO] [1532422733.399289154]: Sending : sRN SCdevicestate
[ INFO] [1532422733.411037462]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532422733.415876384]: Waiting for scanner ready state since 0 secs
[ INFO] [1532422734.417671061]: Sending : sRN SCdevicestate
[ INFO] [1532422734.428398425]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532422734.428937313]: Waiting for scanner ready state since 1 secs
[ INFO] [1532422735.430772503]: Sending : sRN SCdevicestate
[ INFO] [1532422735.442858576]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532422735.443871520]: Waiting for scanner ready state since 2 secs
[ INFO] [1532422736.445943866]: Sending : sRN SCdevicestate
[ INFO] [1532422736.458024819]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532422736.459012098]: Waiting for scanner ready state since 3 secs
[ INFO] [1532422737.461029211]: Sending : sRN SCdevicestate
[ INFO] [1532422737.473227254]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532422737.474270022]: Waiting for scanner ready state since 4 secs
[ INFO] [1532422738.475584373]: Sending : sRN SCdevicestate
[ INFO] [1532422738.486512892]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532422738.487075589]: Waiting for scanner ready state since 5 secs
[ INFO] [1532422739.489104895]: Sending : sRN SCdevicestate
[ INFO] [1532422739.501319354]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532422739.502383978]: Waiting for scanner ready state since 6 secs
[ INFO] [1532422740.504394501]: Sending : sRN SCdevicestate
[ INFO] [1532422740.517713873]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532422740.519294505]: Waiting for scanner ready state since 7 secs
[ INFO] [1532422741.522155920]: Sending : sRN SCdevicestate
[ INFO] [1532422741.535038838]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532422741.536118374]: Waiting for scanner ready state since 8 secs
[ INFO] [1532422742.538162945]: Sending : sRN SCdevicestate
[ INFO] [1532422742.550393469]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532422742.551376716]: Waiting for scanner ready state since 9 secs
[ INFO] [1532422743.553504937]: Sending : sRN SCdevicestate
[ INFO] [1532422743.565851494]: Receiving: sRA SCdevicestate \x01
[ INFO] [1532422743.566976919]: Scanner ready for measurement after 10 [sec]
[ INFO] [1532422743.567882693]: Sending : sEN LMDscandata \x01
[ INFO] [1532422743.580065344]: Receiving: sEA LMDscandata \x01
[ WARN] [1532422763.584522966]: Timeout during waiting for new datagram
[ERROR] [1532422763.585447012]: Read Error when getting datagram: 1.
[ INFO] [1532422763.586557845]: Start initialising scanner ...

@michael1309
Copy link
Collaborator

michael1309 commented Jul 24, 2018

@anupritdangi
Which MRS1xxx scanner do you use exactly?

What happens after the
[ERROR][1532422763.585447012]: Read Error when getting datagram: 1.
[INFO][1532422763.586557845]: Start initialising scanner ...
??

Are data published in /cloud topic?

As a test, please change the timeout for the scanner start in the sick_scan_common.cpp to 40 seconds.

int SickScanCommon::init_scanner()
	{
...
		const int shortTimeOutInMs = 5000; // during startup phase to check binary or ascii
		const int defaultTimeOutInMs = 40000; // standard time out 40 sec.

		setReadTimeOutInMs(shortTimeOutInMs);
...

Best regards,
Michael

@chrisfernam2
Copy link
Author

chrisfernam2 commented Jul 24, 2018 via email

@chrisfernam2
Copy link
Author

chrisfernam2 commented Jul 24, 2018 via email

@michael1309
Copy link
Collaborator

Hello,

this was a little mix-up in our internal company coordination. You are correct. Two types of messages are published for the MRS1xxx.

/cloud as Pointcloud2 message.
/scan as laser scanner messages. Each level and echotype has its own name.

For more than 4 layers (i.e. MRS6xxx), only the Pointcloud2 message is published.

@michael1309
Copy link
Collaborator

One additional hint: By comparing the timestamps you can see the "old" values for the timeout in the timestamp difference It is round about 20 sec.
INFO] [1532422743.580065344]: Receiving: sEA LMDscandata \x01
[ WARN] [1532422763.584522966]: Timeout during waiting for new datagram

@anupritdangi
Copy link

@michael1309 I am having MRS1104c. Nothing is published on /cloud topic also and i changed timeout to 40000ms. No change in the error.
LOG
/catkin_ws$ roslaunch sick_scan sick_mrs_1xxx.launch
... logging to /home/anirudh/.ros/log/c4c6e240-8fcd-11e8-9958-1866da1f566a/roslaunch-CTO-37-7751.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://localhost:54332/

SUMMARY

PARAMETERS

  • /robot_description: <?xml version="1....
  • /rosdistro: indigo
  • /rosversion: 1.11.21
  • /sick_mrs_1xxx/hostname: 169.254.100.120
  • /sick_mrs_1xxx/intensity_resolution_16bit: False
  • /sick_mrs_1xxx/max_ang: 2.3998277
  • /sick_mrs_1xxx/min_ang: -2.3998277
  • /sick_mrs_1xxx/port: 2112
  • /sick_mrs_1xxx/scanner_type: sick_mrs_1xxx
  • /sick_mrs_1xxx/timelimit: 5

NODES
/
sick_mrs_1xxx (sick_scan/sick_generic_caller)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[sick_mrs_1xxx-1]: started with pid [7772]
[ INFO] [1532499509.695161655]: sick_generic_caller V. 001.002.004
[ INFO] [1532499509.695230834]: Program arguments: /home/anirudh/catkin_ws/devel/lib/sick_scan/sick_generic_caller
[ INFO] [1532499509.695246165]: Program arguments: __name:=sick_mrs_1xxx
[ INFO] [1532499509.695269989]: Program arguments: __log:=/home/anirudh/.ros/log/c4c6e240-8fcd-11e8-9958-1866da1f566a/sick_mrs_1xxx-1.log
[ INFO] [1532499509.707364647]: Start initialising scanner ...
[ INFO] [1532499509.750723152]: Parameter setting for <active_echo: 0>
[ INFO] [1532499509.951453379]: Sending : sMN SetAccessMode \x03\xf4\x72\x47\x44
[ INFO] [1532499509.962105512]: Receiving: sAN SetAccessMode \x01
[ INFO] [1532499510.162627453]: Sending : sWN EIHstCola \x01
[ INFO] [1532499510.173090940]: Receiving: sWA EIHstCola
[ INFO] [1532499510.373397617]: Sending : sMN LMCstopmeas
[ INFO] [1532499510.403995835]: Receiving: sAN LMCstopmeas \x00
[ INFO] [1532499510.604367744]: Sending : sRN DeviceIdent
[ INFO] [1532499510.614821829]: Receiving: sRA DeviceIdent \x00\x08\x4d\x52\x53\x31\x78\x78\x78\x78\x00\x08\x31\x2e\x33\x2e\x30\x2e\x30\x52
[ INFO] [1532499510.614979591]: Deviceinfo MRS1xxxx V1.3.0.0R found and supported by this driver.
[ INFO] [1532499510.815329021]: Sending : sRN FirmwareVersion
[ INFO] [1532499510.825785283]: Receiving: sRA FirmwareVersion \x00\x09\x56\x20\x31\x2e\x33\x2e\x30\x2e\x30
[ INFO] [1532499511.026421771]: Sending : sRN SCdevicestate
[ INFO] [1532499511.036785575]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499511.237134664]: Sending : sRN ODoprh
[ INFO] [1532499511.247402779]: Receiving: sRA ODoprh \x00\x00\x00\xf5
[ INFO] [1532499511.448719290]: Sending : sRN ODpwrc
[ INFO] [1532499511.459175255]: Receiving: sRA ODpwrc \x00\x00\x00\x2a
[ INFO] [1532499511.660724467]: Sending : sRN LocationName
[ INFO] [1532499511.671304033]: Receiving: sRA LocationName \x00\x0b\x53\x4e\x20\x31\x37\x34\x37\x30\x30\x32\x33
[ INFO] [1532499511.674019922]: Sending : sRN LMPoutputRange
[ INFO] [1532499511.684346612]: Receiving: sRA LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1532499511.684479055]: Angle resolution of scanner is 0.25000 [deg] (in 1/10000th deg: 0x9C4)
[ INFO] [1532499511.684514896]: MIN_ANG: -2.400 [rad] -137.500 [deg]
[ INFO] [1532499511.684538770]: MAX_ANG: 2.400 [rad] 137.500 [deg]
[ INFO] [1532499511.684630002]: Sending : sWN LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1532499511.694914191]: Receiving: sWA LMPoutputRange
[ INFO] [1532499511.695081456]: Sending : sRN LMPoutputRange
[ INFO] [1532499511.705332153]: Receiving: sRA LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1532499511.705528625]: Angle resolution of scanner is 0.25000 [deg] (in 1/10000th deg: 0x9C4)
[ INFO] [1532499511.707916027]: MIN_ANG (after command verification): -2.400 [rad] -137.500 [deg]
[ INFO] [1532499511.707960206]: MAX_ANG (after command verification): 2.400 [rad] 137.500 [deg]
[ INFO] [1532499511.707994241]: MRS 1xxx detected overwriting resolution flag (only 8 bit supported)
[ INFO] [1532499511.708083257]: Sending : sWN LMDscandatacfg \x07\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01
[ INFO] [1532499511.718335629]: Receiving: sWA LMDscandatacfg
[ INFO] [1532499511.718503853]: Sending : sRN LMDscandatacfg
[ INFO] [1532499511.728768520]: Receiving: sRA LMDscandatacfg \x07\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01
[ INFO] [1532499511.730302302]: Sending : sWN FREchoFilter \x01
[ INFO] [1532499511.740523908]: Receiving: sWA FREchoFilter
[ INFO] [1532499511.740685780]: Sending : sMN LMCstartmeas
[ INFO] [1532499511.760943981]: Receiving: sAN LMCstartmeas \x00
[ INFO] [1532499511.761068377]: Sending : sMN Run
[ INFO] [1532499511.771307838]: Receiving: sAN Run \x01
[ INFO] [1532499511.771486167]: Sending : sRN SCdevicestate
[ INFO] [1532499511.781759600]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499511.781893611]: Waiting for scanner ready state since 0 secs
[ INFO] [1532499512.782126643]: Sending : sRN SCdevicestate
[ INFO] [1532499512.792593169]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499512.792676300]: Waiting for scanner ready state since 1 secs
[ INFO] [1532499513.793093762]: Sending : sRN SCdevicestate
[ INFO] [1532499513.803669798]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499513.803837869]: Waiting for scanner ready state since 2 secs
[ INFO] [1532499514.804331373]: Sending : sRN SCdevicestate
[ INFO] [1532499514.814707737]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499514.814886461]: Waiting for scanner ready state since 3 secs
[ INFO] [1532499515.815241194]: Sending : sRN SCdevicestate
[ INFO] [1532499515.825695065]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499515.825777518]: Waiting for scanner ready state since 4 secs
[ INFO] [1532499516.826292535]: Sending : sRN SCdevicestate
[ INFO] [1532499516.836678285]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499516.836861346]: Waiting for scanner ready state since 5 secs
[ INFO] [1532499517.837356716]: Sending : sRN SCdevicestate
[ INFO] [1532499517.847949455]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499517.848131874]: Waiting for scanner ready state since 6 secs
[ INFO] [1532499518.848525283]: Sending : sRN SCdevicestate
[ INFO] [1532499518.858976794]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499518.859059246]: Waiting for scanner ready state since 7 secs
[ INFO] [1532499519.859510106]: Sending : sRN SCdevicestate
[ INFO] [1532499519.870107654]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499519.870288713]: Waiting for scanner ready state since 8 secs
[ INFO] [1532499520.870722673]: Sending : sRN SCdevicestate
[ INFO] [1532499520.881194169]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499520.881293703]: Waiting for scanner ready state since 9 secs
[ INFO] [1532499521.881691144]: Sending : sRN SCdevicestate
[ INFO] [1532499521.892161008]: Receiving: sRA SCdevicestate \x01
[ INFO] [1532499521.892248966]: Scanner ready for measurement after 10 [sec]
[ INFO] [1532499521.892303984]: Sending : sEN LMDscandata \x01
[ INFO] [1532499521.902514096]: Receiving: sEA LMDscandata \x01
[ WARN] [1532499561.903001452]: Timeout during waiting for new datagram
[ERROR] [1532499561.903115705]: Read Error when getting datagram: 1.
[ INFO] [1532499561.903245512]: Start initialising scanner ...
[ERROR] [1532499602.852594249]: no answer received after 40000 ms. Maybe sopas mode is wrong.

[ERROR] [1532499602.852841825]: sendSOPASCommand: no full reply available for read after 40000 ms

SOPAS - Error stopping streaming scan data!
[ WARN] [1532499602.852958617]: Disconnecting TCP-Connection.
1532499602.9813 Info: Tcp::readInputData: Read 0 bytes - connection is lost!
sick_scan driver exiting.
[ INFO] [1532499603.041397537]: Parameter setting for <active_echo: 0>
[ INFO] [1532499603.241825646]: Sending : sMN SetAccessMode \x03\xf4\x72\x47\x44
[ INFO] [1532499603.252321127]: Receiving: sAN SetAccessMode \x01
[ INFO] [1532499603.452885556]: Sending : sWN EIHstCola \x01
[ INFO] [1532499603.463345096]: Receiving: sWA EIHstCola
[ INFO] [1532499603.663814255]: Sending : sMN LMCstopmeas
[ INFO] [1532499603.694485783]: Receiving: sAN LMCstopmeas \x00
[ INFO] [1532499603.894852554]: Sending : sRN DeviceIdent
[ INFO] [1532499603.905358254]: Receiving: sRA DeviceIdent \x00\x08\x4d\x52\x53\x31\x78\x78\x78\x78\x00\x08\x31\x2e\x33\x2e\x30\x2e\x30\x52
[ INFO] [1532499603.905445883]: Deviceinfo MRS1xxxx V1.3.0.0R found and supported by this driver.
[ INFO] [1532499604.105692138]: Sending : sRN FirmwareVersion
[ INFO] [1532499604.116050602]: Receiving: sRA FirmwareVersion \x00\x09\x56\x20\x31\x2e\x33\x2e\x30\x2e\x30
[ INFO] [1532499604.316549730]: Sending : sRN SCdevicestate
[ INFO] [1532499604.326936342]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499604.527306109]: Sending : sRN ODoprh
[ INFO] [1532499604.537774849]: Receiving: sRA ODoprh \x00\x00\x00\xf6
[ INFO] [1532499604.739878218]: Sending : sRN ODpwrc
[ INFO] [1532499604.750124575]: Receiving: sRA ODpwrc \x00\x00\x00\x2a
[ INFO] [1532499604.951455151]: Sending : sRN LocationName
[ INFO] [1532499604.961749960]: Receiving: sRA LocationName \x00\x0b\x53\x4e\x20\x31\x37\x34\x37\x30\x30\x32\x33
[ INFO] [1532499604.963716219]: Sending : sRN LMPoutputRange
[ INFO] [1532499604.974063380]: Receiving: sRA LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1532499604.974212455]: Angle resolution of scanner is 0.25000 [deg] (in 1/10000th deg: 0x9C4)
[ INFO] [1532499604.974231822]: MIN_ANG: -2.400 [rad] -137.500 [deg]
[ INFO] [1532499604.974245620]: MAX_ANG: 2.400 [rad] 137.500 [deg]
[ INFO] [1532499604.974297415]: Sending : sWN LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1532499604.984548455]: Receiving: sWA LMPoutputRange
[ INFO] [1532499604.984795295]: Sending : sRN LMPoutputRange
[ INFO] [1532499604.995122942]: Receiving: sRA LMPoutputRange \x00\x01\x00\x00\x09\xc4\xff\xf8\xc0\x88\x00\x22\xb6\xb8
[ INFO] [1532499604.995301307]: Angle resolution of scanner is 0.25000 [deg] (in 1/10000th deg: 0x9C4)
[ INFO] [1532499604.998939767]: MIN_ANG (after command verification): -2.400 [rad] -137.500 [deg]
[ INFO] [1532499604.998986925]: MAX_ANG (after command verification): 2.400 [rad] 137.500 [deg]
[ INFO] [1532499604.999002238]: MRS 1xxx detected overwriting resolution flag (only 8 bit supported)
[ INFO] [1532499604.999088616]: Sending : sWN LMDscandatacfg \x07\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01
[ INFO] [1532499605.009312115]: Receiving: sWA LMDscandatacfg
[ INFO] [1532499605.009449236]: Sending : sRN LMDscandatacfg
[ INFO] [1532499605.019811618]: Receiving: sRA LMDscandatacfg \x07\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01
[ INFO] [1532499605.021426780]: Sending : sWN FREchoFilter \x01
[ INFO] [1532499605.031643260]: Receiving: sWA FREchoFilter
[ INFO] [1532499605.031789231]: Sending : sMN LMCstartmeas
[ INFO] [1532499605.052084788]: Receiving: sAN LMCstartmeas \x00
[ INFO] [1532499605.052363102]: Sending : sMN Run
[ INFO] [1532499605.062669159]: Receiving: sAN Run \x01
[ INFO] [1532499605.062812730]: Sending : sRN SCdevicestate
[ INFO] [1532499605.073065359]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499605.073143816]: Waiting for scanner ready state since 0 secs
[ INFO] [1532499606.073459951]: Sending : sRN SCdevicestate
[ INFO] [1532499606.083827826]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499606.083987014]: Waiting for scanner ready state since 1 secs
[ INFO] [1532499607.084482404]: Sending : sRN SCdevicestate
[ INFO] [1532499607.095032085]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499607.095240422]: Waiting for scanner ready state since 2 secs
[ INFO] [1532499608.095589261]: Sending : sRN SCdevicestate
[ INFO] [1532499608.106005140]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499608.106168631]: Waiting for scanner ready state since 3 secs
[ INFO] [1532499609.106639828]: Sending : sRN SCdevicestate
[ INFO] [1532499609.117120659]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499609.117310759]: Waiting for scanner ready state since 4 secs
[ INFO] [1532499610.117737537]: Sending : sRN SCdevicestate
[ INFO] [1532499610.128179945]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499610.128269731]: Waiting for scanner ready state since 5 secs
[ INFO] [1532499611.128674253]: Sending : sRN SCdevicestate
[ INFO] [1532499611.139120043]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499611.139203298]: Waiting for scanner ready state since 6 secs
[ INFO] [1532499612.139601963]: Sending : sRN SCdevicestate
[ INFO] [1532499612.150064429]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499612.150144943]: Waiting for scanner ready state since 7 secs
[ INFO] [1532499613.150459872]: Sending : sRN SCdevicestate
[ INFO] [1532499613.160909391]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499613.161007807]: Waiting for scanner ready state since 8 secs
[ INFO] [1532499614.161426680]: Sending : sRN SCdevicestate
[ INFO] [1532499614.171877833]: Receiving: sRA SCdevicestate \x00
[ INFO] [1532499614.171969159]: Waiting for scanner ready state since 9 secs
[ INFO] [1532499615.172452968]: Sending : sRN SCdevicestate
[ INFO] [1532499615.183021918]: Receiving: sRA SCdevicestate \x01
[ INFO] [1532499615.183225934]: Scanner ready for measurement after 10 [sec]
[ INFO] [1532499615.183373740]: Sending : sEN LMDscandata \x01
[ INFO] [1532499615.193629832]: Receiving: sEA LMDscandata \x01

@anupritdangi
Copy link

Everything is working fine now.I changed nothing just restarted the scanner 2-3 times.
Thanks

@michael1309
Copy link
Collaborator

@anupritdangi

Great to hear.

So you have left the timeout time at the set value of 20 seconds?

If you can derive any rules when the scanner does not send datagrams, although the initialization sequence was successfully run before, we would be pleased if you could report this briefly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants