SICKAG / sick_safetyscanners2

ROS2 driver for SICK safety laser scanners
https://www.sick.com/de/en/opto-electronic-protective-devices/safety-laser-scanners/c/g187225
Apache License 2.0
28 stars 28 forks source link

using nanoScan3 new version ROS2 driver caused lidar scan angle reset to default #40

Closed SICK-YL closed 3 weeks ago

SICK-YL commented 4 months ago

Hello,

I am York from SICK Taiwan, Recently I got a issue about nanoScan3 new version ROS2 driver caused lidar scan angle reset to default, Customer used nanoScan3 to achieve some automation application, They set lidar scan angle 45 to 135 degrees, and used 1.0.3 version ROS2 driver on Linux system, Lidar scan angle will reset to default value -47.5 to 227.5 degrees, But used 1.0.2 version ROS2 driver didn't appear this issue, Maybe there are something we need to notice or check on 1.0.3 ROS2 driver?

Best Regard, York

puck-fzi commented 4 months ago

Hi York,

how is the scan angle set, was it set inside the safety designer? Then the current version overrrides the data by default. In the launch file the following flag needs to be set to use the angles as provided by the safety designer:

"use_persistent_config": True,

Hope that helps

puck-fzi commented 3 weeks ago

Hi York, did you try it with the updated flag as in the answer?

SICK-YL commented 3 weeks ago

Yes, Sir,

Thank for your support, customer already used this flag to fix angle reset issue, The question I post on Aug.16 is different request from different customer.

puck-fzi commented 3 weeks ago

Thanks for letting me know, glad it worked