I am trying to connect to a LD-MRS 400001 through Ros2 Iron on Ubuntu 22.04 desktop.
I have completed installation and build using sick_scan_xd build guide.
When I t tried to connect to the scanner on port 192.168.0.1, it didn't recognise the scanner as a scanner but just as an ethernet connection.
So I installed Sopas ET on my windows machine and realised the IP of the scanner is different to default value. Using the Sopas ET I changed the IP to 192.168.0.1.
Also on Sopas ET I managed to get readings on GUI via the scanner, so I know that the scanner does work.
Then when I tried to connect to the device with ros2 on my ubuntu desktop, it managed to connect, but the buffer would get 0x8011 code rather than 0x0011.
This resulted was flagged as an error on libsick_ldmrs/src/devices/LuxBase.cpp on line 2421.
if (cmdInBuffer == 0x8000 + cmd)
{
printWarning("LuxBase::receiveMrsReply: " + m_longName + " Received that an error occurred.");
result = false;
break;
}
I could not find any explanation why I am getting 0x8011 instead of 0x0011 and why is that an error.
Any help would be greatly appreciated.
Hello,
I am trying to connect to a LD-MRS 400001 through Ros2 Iron on Ubuntu 22.04 desktop. I have completed installation and build using sick_scan_xd build guide.
When I t tried to connect to the scanner on port 192.168.0.1, it didn't recognise the scanner as a scanner but just as an ethernet connection.
So I installed Sopas ET on my windows machine and realised the IP of the scanner is different to default value. Using the Sopas ET I changed the IP to 192.168.0.1. Also on Sopas ET I managed to get readings on GUI via the scanner, so I know that the scanner does work.
Then when I tried to connect to the device with ros2 on my ubuntu desktop, it managed to connect, but the buffer would get 0x8011 code rather than 0x0011.
This resulted was flagged as an error on libsick_ldmrs/src/devices/LuxBase.cpp on line 2421.
I could not find any explanation why I am getting 0x8011 instead of 0x0011 and why is that an error. Any help would be greatly appreciated.
Thanks in advance, Ege