SICKAG / sick_safetyscanners

ROS 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
61 stars 59 forks source link

How do I make sure the arrow is 90 degrees? #87

Closed Tompili closed 3 years ago

Tompili commented 3 years ago

Dear support team,

NanoScan3 scan angle is 275° (–47.5° ~ 227.5°) I need to know how to make sure the middle of lidar is 90 degrees? Because lidar is installed towards the front, but the map is a bit crooked. Is there any error in it, and how to offset it?

image

puck-fzi commented 3 years ago

Hi, the ROS driver converts the scan so that 0° is at the front. If you need it to be 90° you have to initialize https://github.com/SICKAG/sick_safetyscanners/blob/master/src/SickSafetyscannersRos.cpp#L47 with 0.