SICKAG / sick_scan_xd

Based on the sick_scan drivers for ROS1, sick_scan_xd merges sick_scan, sick_scan2 and sick_scan_base repositories. The driver supports both Linux (native, ROS1, ROS2) and Windows (native and ROS2).
Apache License 2.0
100 stars 84 forks source link

invalid angle range sick_lrs_4xxx #388

Open arturokkboss33 opened 1 week ago

arturokkboss33 commented 1 week ago

Good day.

While running the launch file the following error appears:

Error Sopas answer mismatch: Error unexpected Sopas answer for request <STX><STX><STX><STX><Len=0033>sWN LMP outputRange 0x00 0x01 0x00 ..., received answer: "sFA\x00\x04", expected patterns: "sWA LMPoutputRange","sAN LMPoutputRange"

This is caused when I try to define an angle that is not in the range of -180 to 180 degrees. If this cannnot be change, my question will be how to set the range so that I can see Quadrants II and IV in the cartesian. Som from PI/2 to -PI/2 ... it only works from -PI/2 to PI/2 but that covers the other half of the plane that I dont want.

Best, Arturo

rostest commented 1 week ago

Thanks for your feedback. As far as I know, the LRS4000 has a fixed angle range of -180 to +180 degrees, as shown in the telegram listing:

image

It is recommended to filter the polar or cartesian point cloud data to the desired region of interest in the application using given azimuth ranges.