Closed NekoSaiKou closed 2 years ago
Thanks for reporting. At a first glance, I can't see any reason why the LMPoutputRange request fails.
You're right, error code 0x0a means Sopas_Error_VARIABLE_WRITE_ACCESSDENIED. The authorization (i.e. switch to client level) is successful and confirmed by response sAN SetAccessMode 1
:
[ INFO] [1649388781.809623884]: Sending : <STX><STX><STX><STX><Len=0023>sMN SetAccessMode 0x03 0xf4 0x72 0x47 0x44 CRC:<0xb3>
[ INFO] [1649388781.812514732]: Receiving: <STX>sAN SetAccessMode \x01<ETX>
Therefor, the sWN LMPoutputRange
request should not cause an "access denied" error.
The request sWN LMPoutputRange 0x00 0x01 0x00 0x00 0x13 0x88 0xff 0xf9 0x22 0x33 0x00 0x22 0x55 0x0d
looks good, too. The parameters are 0.5 deg angular resolution, -45 deg start angle and +225 deg stop angle in lidar coordinates. These values are correct. In particular:
Angular resolution:
Start angle:
Stop angle:
The responded error code "access denied" to the LMPoutputRange request is unexpected.
Is it right, that the lidar LED and 7-segment display did not indicate an error? In this case, can you please check whether the min/max angle configuration works with SOPAS ET? If min/max angle configuration also fails in SOPAS ET, the issue would be beyond this driver. Otherwise, we have to dig deeper. Thanks in advance.
Hi,
Thanks for your reply. After factory reset, the LED indicates that everything is OK. But both of the scanner still cannot be set with SOPAS ET.
Since these scanners had not been used for years, I wonder if the device version is too old The device version:
Should I update the firmware?
Thanks for your reply. Please use the most recent firmware and sick_scan_xd release and retry.
Sorry for my late reply.
I have trouble downloading firmware. "Download Firmware" button is disabled in the SOPAS ET window. I'll contact SICK company in my country for help. Also, I would greatly appreciate it if anyone can tell me whether there is any official firmware update instruction or not. If I have any progress on this issue, I will leave a comment ASAP.
We recommend, as you suggest yourself, to ask the official SICK support. You will get professional help updating your firmware there.
Hi, I have two LMS100 and I want to change the min_ang and max_ang using the provided launch file
However, I got this output
After that, it times out. AFAIK, sFA\x00\x0a means Sopas_Error_VARIABLE_WRITE_ACCESSDENIED, and the document says that
It is not allowed to write values to this variable. Probably the variable is defined as read-only.
That is pretty weird.I have read similar issue here, but it seems that the password is correct. Here is the full log
I finally kill the process because the software tries to initialize the scanner again.
BTW, I have tried your old repository sick_scan. I still cannot change the min_ang and max_ang. Parameter I used:
I got same
SFA 00 0A
error. The scanner is initialized successfully, but the output angle range unchanged.Here is the log from old repository