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

Mismatch Answer for request #4

Closed
Jtlie opened this issue Mar 1, 2018 · 12 comments
Closed

Mismatch Answer for request #4

Jtlie opened this issue Mar 1, 2018 · 12 comments

Comments

@Jtlie
Copy link

Jtlie commented Mar 1, 2018

Hi, I'm using the Sick Tim561 but I'm getting some errors about mismatched receiving data.

[ INFO] [1519902665.057816909]: sick_generic_caller V. 001.000.000
[ INFO] [1519902665.057865329]: Program arguments: /home/jason/catkin_ws/devel/lib/sick_scan/sick_generic_caller
[ INFO] [1519902665.057880402]: Program arguments: __name:=sick_tim_5xx
[ INFO] [1519902665.057901153]: Program arguments: __log:=/home/jason/.ros/log/4f775858-1ba1-11e8-ab10-40e230b7438b/sick_tim_5xx-1.log
[ INFO] [1519902665.108508552]: Waiting 5 seconds for device to connect.
[ INFO] [1519902665.109140562]: Succesfully connected to 169.254.147.31:2112
[ INFO] [1519902665.112302860]: Parameter setting for <active_echo: 0>
[ INFO] [1519902665.113221578]: Sending  : <STX>sMN SetAccessMode 3 F4724744<ETX>
[ INFO] [1519902665.114861162]: Receiving: <STX>sAN SetAccessMode 0<ETX>
[ INFO] [1519902665.115121659]: Sending  : <STX>sRI 0<ETX>
[ INFO] [1519902665.116331987]: Receiving: <STX>sRA 0 6 TiM561 E V2.51-21.08.15<ETX>
[ INFO] [1519902665.116502498]: Sending  : <STX>sRN SerialNumber<ETX>
[ INFO] [1519902665.117688083]: Receiving: <STX>sRA SerialNumber 8 16160456<ETX>
[ INFO] [1519902665.117857385]: Device sRA 0 6 TiM561 E V2.51-21.08.15 V2.51 found and supported by this driver.
[ INFO] [1519902665.117900501]: Sending  : <STX>sRN FirmwareVersion<ETX>
[ INFO] [1519902665.119004736]: Receiving: <STX>sRA FirmwareVersion 5 V2.51<ETX>
[ INFO] [1519902665.119125622]: Sending  : <STX>sRN SCdevicestate<ETX>
[ INFO] [1519902665.120252132]: Receiving: <STX>sRA SCdevicestate 1<ETX>
[ INFO] [1519902665.120362655]: Sending  : <STX>sRN ODoprh<ETX>
[ INFO] [1519902665.121370058]: Receiving: <STX>sRA ODoprh 926<ETX>
[ INFO] [1519902665.122476449]: Sending  : <STX>sRN ODpwrc<ETX>
[ INFO] [1519902665.123492466]: Receiving: <STX>sRA ODpwrc AC<ETX>
[ INFO] [1519902665.124303196]: Sending  : <STX>sRN LocationName<ETX>
[ INFO] [1519902665.125313578]: Receiving: <STX>sRA LocationName B not defined<ETX>
[ INFO] [1519902665.126706839]: Sending  : <STX>sRN LMPoutputRange<ETX>
[ INFO] [1519902665.127775322]: Receiving: <STX>sRA LMPoutputRange 1 D05 FFF92230 225510<ETX>
[ INFO] [1519902665.127895884]: Angle resolution of scanner is 0.33330 [deg]  (in 1/10000th deg: 0xD05)
[ INFO] [1519902665.127943784]: MIN_ANG:   -2.356 [rad] -135.000 [deg]
[ INFO] [1519902665.127974137]: MAX_ANG:    2.356 [rad]  135.000 [deg]
[ INFO] [1519902665.128076715]: Sending  : <STX>sWN LMPoutputRange 1 D05 FFF92230 225510<ETX>
[ INFO] [1519902665.129118943]: Receiving: <STX>sFA A<ETX>
[ERROR] [1519902665.129199884]: Error Sopas answer mismatch Error unexpected Sopas Answer for request <STX>sWN LMPoutputRange 1 D05 FFF92230 225510<ETX>Answer= >>>sFA A<<<

[ INFO] [1519902665.129354974]: Sending  : <STX>sRN LMPoutputRange<ETX>
[ INFO] [1519902665.130838426]: Receiving: <STX>sRA LMPoutputRange 1 D05 FFF92230 225510<ETX>
[ INFO] [1519902665.134955948]: MIN_ANG (after command verification):   -2.356 [rad] -135.000 [deg]
[ INFO] [1519902665.135001713]: MAX_ANG (after command verification):    2.356 [rad]  135.000 [deg]
[ INFO] [1519902665.135080329]: Sending  : <STX>sWN LMDscandatacfg 01 00 0 0 0 00 00 0 0 0 0 1<ETX>
[ INFO] [1519902665.140032978]: Receiving: <STX>sFA A<ETX>
[ERROR] [1519902665.140099638]: Error Sopas answer mismatch Error unexpected Sopas Answer for request <STX>sWN LMDscandatacfg 01 00 0 0 0 00 00 0 0 0 0 1<ETX>Answer= >>>sFA A<<<

[ INFO] [1519902665.140177784]: Sending  : <STX>sMN LMCstartmeas<ETX>
[ INFO] [1519902665.143431745]: Receiving: <STX>sFA 1<ETX>
[ERROR] [1519902665.143640411]: Error Sopas answer mismatch Error unexpected Sopas Answer for request <STX>sMN LMCstartmeas<ETX>Answer= >>>sFA 1<<<

[ INFO] [1519902665.143790125]: Sending  : <STX>sMN Run<ETX>
[ INFO] [1519902665.145054790]: Receiving: <STX>sAN Run 1<ETX>
[ INFO] [1519902665.145127281]: Sending  : <STX>sEN LMDscandata 1<ETX>
[ INFO] [1519902665.146271269]: Receiving: <STX>sEA LMDscandata 1<ETX>

I did change Intensity to FALSE in the parameters because I don have RSSI enabled. I read in the scanner documents those sFA A and sFA 1 are Access errors. Any idea what is causing this and where I can change that?`

@michael1309
Copy link
Collaborator

michael1309 commented Mar 1, 2018 via email

@Jtlie
Copy link
Author

Jtlie commented Mar 1, 2018

Waiting after repowering the scanner didn't work. Also, the output when using the devel branch is different, but didn´t solve the problem.

process[sick_tim_5xx-1]: started with pid [29471]
[ INFO] [1519910779.817064301]: sick_generic_caller V. 001.001.000
[ INFO] [1519910779.817109336]: Program arguments: /home/jason/catkin_ws/devel/lib/sick_scan/sick_generic_caller
[ INFO] [1519910779.817124809]: Program arguments: __name:=sick_tim_5xx
[ INFO] [1519910779.817135474]: Program arguments: __log:=/home/jason/.ros/log/4f775858-1ba1-11e8-ab10-40e230b7438b/sick_tim_5xx-1.log
[ INFO] [1519910779.860509036]: Parameter setting for <active_echo: 0>
[ INFO] [1519910780.061174579]: Sending  : sMN SetAccessMode 3 F4724744
[ INFO] [1519910780.071528873]: Receiving: <STX>sAN SetAccessMode 0<ETX>
[ INFO] [1519910780.272029881]: Sending  : sWN EIHstCola 0
[ INFO] [1519910780.282452666]: Receiving: <STX>sFA A<ETX>
[ERROR] [1519910780.282617714]: Error Sopas answer mismatch Error unexpected Sopas Answer for request <STX>sWN EIHstCola 0<ETX>Answer= >>>sFA A<<<

[ERROR] [1519910780.282725426]: Command or Error message not defined
[ INFO] [1519910780.483162603]: Sending  : sRN FirmwareVersion
[ INFO] [1519910780.493542685]: Receiving: <STX>sRA FirmwareVersion 5 V2.51<ETX>
[ INFO] [1519910780.694193493]: Sending  : sRN SCdevicestate
[ INFO] [1519910780.704624368]: Receiving: <STX>sRA SCdevicestate 1<ETX>
[ INFO] [1519910780.905007449]: Sending  : sRN ODoprh
[ INFO] [1519910780.915411480]: Receiving: <STX>sRA ODoprh 93B<ETX>
[ INFO] [1519910781.119059326]: Sending  : sRN ODpwrc
[ INFO] [1519910781.129356579]: Receiving: <STX>sRA ODpwrc AD<ETX>
[ INFO] [1519910781.330832339]: Sending  : sRN LocationName
[ INFO] [1519910781.341228564]: Receiving: <STX>sRA LocationName B not defined<ETX>
[ INFO] [1519910781.343884873]: Sending  : sRN LMPoutputRange
[ INFO] [1519910781.354219595]: Receiving: <STX>sRA LMPoutputRange 1 D05 FFF92230 225510<ETX>
[ INFO] [1519910781.354480550]: Angle resolution of scanner is 0.33330 [deg]  (in 1/10000th deg: 0xD05)
[ INFO] [1519910781.354539767]: MIN_ANG:   -2.356 [rad] -135.000 [deg]
[ INFO] [1519910781.354579507]: MAX_ANG:    2.356 [rad]  135.000 [deg]
[ INFO] [1519910781.354749847]: Sending  : sWN LMPoutputRange 1 D05 FFF92230 225510
[ INFO] [1519910781.365168638]: Receiving: <STX>sFA A<ETX>
[ERROR] [1519910781.365358291]: Error Sopas answer mismatch Error unexpected Sopas Answer for request <STX>sWN LMPoutputRange 1 D05 FFF92230 225510<ETX>Answer= >>>sFA A<<<

[ INFO] [1519910781.365506066]: Sending  : sRN LMPoutputRange
[ INFO] [1519910781.375732332]: Receiving: <STX>sRA LMPoutputRange 1 D05 FFF92230 225510<ETX>
[ INFO] [1519910781.375869776]: Angle resolution of scanner is 0.33330 [deg]  (in 1/10000th deg: 0xD05)
[ INFO] [1519910781.378633903]: MIN_ANG (after command verification):   -2.356 [rad] -135.000 [deg]
[ INFO] [1519910781.378675212]: MAX_ANG (after command verification):    2.356 [rad]  135.000 [deg]
[ INFO] [1519910781.378768146]: Sending  : sWN LMDscandatacfg 01 00 0 0 0 00 00 0 0 0 0 1
[ INFO] [1519910781.388978240]: Receiving: <STX>sFA A<ETX>
[ERROR] [1519910781.389120565]: Error Sopas answer mismatch Error unexpected Sopas Answer for request <STX>sWN LMDscandatacfg 01 00 0 0 0 00 00 0 0 0 0 1<ETX>Answer= >>>sFA A<<<

[ INFO] [1519910781.389245196]: Sending  : sRN LMDscandatacfg
[ INFO] [1519910781.399625072]: Receiving: <STX>sRA LMDscandatacfg 1 0 0 0 0 0 0 0 1 0 0 1<ETX>
[ INFO] [1519910781.399966601]: Sending  : sMN LMCstartmeas
[ INFO] [1519910781.410266222]: Receiving: <STX>sFA 1<ETX>
[ERROR] [1519910781.410440148]: Error Sopas answer mismatch Error unexpected Sopas Answer for request <STX>sMN LMCstartmeas<ETX>Answer= >>>sFA 1<<<

[ERROR] [1519910781.410532886]: Command or Error message not defined
[ INFO] [1519910781.410615640]: Sending  : sMN Run
[ INFO] [1519910781.420871459]: Receiving: <STX>sAN Run 1<ETX>
[ INFO] [1519910781.421096550]: Sending  : sEN LMDscandata 1
[ INFO] [1519910781.431369353]: Receiving: <STX>sEA LMDscandata 1<ETX>

@kaidoho
Copy link

kaidoho commented Mar 1, 2018

Hi Jason,

could you post your launch file? Things work out fine with my TIM561 over here.

@Jtlie
Copy link
Author

Jtlie commented Mar 1, 2018

<?xml version="1.0"?>
<!-- start and stop angle is given in [rad] -->
<!-- 
default min_angle is  -135 degree. 
default max_angle is +135 degree.

Check IP-address, if you scanner is not found after roslaunch.
-->
<launch>
<!-- launch file for the tim_5xx series -->
  <param name="robot_description" command="$(find xacro)/xacro.py '$(find sick_scan)/urdf/example.urdf.xacro'" />
  <node name="sick_tim_5xx" pkg="sick_scan" type="sick_generic_caller"  respawn="false" output="screen">


    <!-- Default: min_angle = -135 degree, max_angle = 135 -->
    <!-- default values: -->
    <!--
      <param name="min_ang" type="double" value="-2.35619449" />
      <param name="max_ang" type="double" value="2.35619449" />
      <param name="intensity" type="bool" value="True" />
      <param name="skip" type="int" value="0" />
      <param name="frame_id" type="str" value="laser" />
      <param name="time_offset" type="double" value="-0.001" />
      <param name="publish_datagram" type="bool" value="False" />
      <param name="subscribe_datagram" type="bool" value="false" />
      <param name="device_number" type="int" value="0" />
      <param name="range_min" type="double" value="0.05" />
    -->
    <param name="min_ang" type="double" value="-2.35619449" /><!-- -135° -->
    <param name="max_ang" type="double" value="2.35619449" /><!-- 135° -->
    <param name="range_max" type="double" value="100.0" />
    <param name="intensity" type="bool" value="False" />
    <param name="hostname" type="string" value="169.254.147.31" />
    <param name="port" type="string" value="2112" />
    <param name="timelimit" type="int" value="5" />
    
  </node>
</launch>
<!--
Conversion between degree and rad	
	
DEG	RAD
-180	-3.141592654
-175	-3.054326191
-170	-2.967059728
-165	-2.879793266
-160	-2.792526803
-155	-2.705260341
-150	-2.617993878
-145	-2.530727415
-140	-2.443460953
-137.5	-2,3998277
-135	-2.35619449
-130	-2.268928028
-125	-2.181661565
-120	-2.094395102
-115	-2.00712864
-110	-1.919862177
-105	-1.832595715
-100	-1.745329252
-95	-1.658062789
-90	-1.570796327
-85	-1.483529864
-80	-1.396263402
-75	-1.308996939
-70	-1.221730476
-65	-1.134464014
-60	-1.047197551
-55	-0.959931089
-50	-0.872664626
-45	-0.785398163
-40	-0.698131701
-35	-0.610865238
-30	-0.523598776
-25	-0.436332313
-20	-0.34906585
-15	-0.261799388
-10	-0.174532925
-5	-0.087266463
0	0
5	0.087266463
10	0.174532925
15	0.261799388
20	0.34906585
25	0.436332313
30	0.523598776
35	0.610865238
40	0.698131701
45	0.785398163
50	0.872664626
55	0.959931089
60	1.047197551
65	1.134464014
70	1.221730476
75	1.308996939
80	1.396263402
85	1.483529864
90	1.570796327
95	1.658062789
100	1.745329252
105	1.832595715
110	1.919862177
115	2.00712864
120	2.094395102
125	2.181661565
130	2.268928028
135	2.35619449
137.5	2,3998277
140	2.443460953
145	2.530727415
150	2.617993878
155	2.705260341
160	2.792526803
165	2.879793266
170	2.967059728
175	3.054326191
180	3.141592654
185	3.228859116
190	3.316125579
195	3.403392041
200	3.490658504
205	3.577924967
210	3.665191429
215	3.752457892
220	3.839724354
225	3.926990817
230	4.01425728
235	4.101523742
240	4.188790205
245	4.276056667
250	4.36332313
255	4.450589593
260	4.537856055
265	4.625122518
270	4.71238898
275	4.799655443
280	4.886921906
285	4.974188368
290	5.061454831
295	5.148721293
300	5.235987756
305	5.323254219
310	5.410520681
315	5.497787144
320	5.585053606
325	5.672320069
330	5.759586532
335	5.846852994
340	5.934119457
345	6.021385919
350	6.108652382
355	6.195918845
360	6.283185307
-->

This is the one I got when I pulled to devel branch. Only thing I changed again are the hostname and intensity

@kaidoho
Copy link

kaidoho commented Mar 1, 2018

Hi,
a) the log shows that your sensor is up and running
b) your launch file works fine with my TiM
However, what we can see from the sensor reply

sAN SetAccessMode 0

that you are unable to log on as user: "Authorized Client" with password "client". Mhh what could be a reason for that? On the one hand, the number of connections is limited and you've opened too many. On the other hand, what I've just found out about the TiMs is, you can change the password. Can you try to log on using SOPAS ET with the above level / password?

@Jtlie
Copy link
Author

Jtlie commented Mar 5, 2018

Where do u see it using "client" as password? The only thing I see is "Sending : sMN SetAccessMode 3 F4724744". Also, I can't find a way to change the password using SOPAS ET. I haven changed anything to the login credentials so everything should be default.

@michael1309
Copy link
Collaborator

michael1309 commented Mar 5, 2018 via email

@Jtlie
Copy link
Author

Jtlie commented Mar 7, 2018

It seems like the password has indeed changed since I can't login with Sopas ET. I've tried to reset it to factory default using the command in the Sopas ET terminal but It also give me a Access denied error. Is there another way to do this?

@michael1309
Copy link
Collaborator

michael1309 commented Mar 7, 2018 via email

@kaidoho
Copy link

kaidoho commented Mar 13, 2018

Dear Jason,

I am in a hurry so here's a short answer. Basically you've got two options.

a) Return the sensor to SICK AG and let the password be reset. According to the README of this repository you should do this via https://supportportal.sick.com.

b) Modify your local copy of this repository. See document:

https://sick-virginia.data.continum.net/media/docs/7/27/927/Technical_information_Telegram_Listing_Ranging_sensors_LMS1xx_LMS5xx_TiM5xx_MRS1000_MRS6000_NAV310_LD_OEM15xx_LD_LRS36xx_en_IM0045927.PDF

On page 12, several login levels and their passwords are published. Go through the code and whereever you find a login with user level 3 (Authorized Client)

sMN SetAccessMode 3 F4724744

change it to

sMN SetAccessMode 4 81BE23AA

If someone has also changed the service password -> goto a).

Regards

@michael1309
Copy link
Collaborator

Dear Jason,

After login to service level you can also try to set the password for the client level regarding table 67 in the mentioned document.

The command sMN{SPC}SetPassword{SPC}03{SPC}F4 72 47 44 should reset the password for the authorized client mode to default.

@michael1309
Copy link
Collaborator

Since there was no further feedback after the last hints from our side, we would like to close the ticket now. From your point of view, is there anything wrong with it? If not, we'd be closing it by April 15th.

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