iliasam / OpenTOFLidar

Open Source TOF Lidar
https://habr.com/ru/post/485574/
MIT License
752 stars 185 forks source link

What is the ref_plate_distance #4

Closed AbidHussain70 closed 4 years ago

AbidHussain70 commented 4 years ago

Hi,

Whats this REF_PLATE_DIST variable? https://github.com/iliasam/OpenTOFLidar/blob/d2ed102225cc642949f4d09c30fa0e5a3a8fc32a/Firmware/scanning_fw/config.h#L26

is it this back plate? 1806252180

Or is it this top plate distance? 1597861059

iliasam commented 4 years ago

"Reference plate" is a white plastic plate (you marked it at the first picture). LIDAR could "see" this mate when mirror is turned to zero angle. (At upper pictures mirror is at ~180 deg position). LIDAR is measuring all distance from the rotation axis in horizontal plane. So "REF_PLATE_DIST" is distance in mm between the rotation axis and the "Reference plate"

AbidHussain70 commented 4 years ago

Great, I got it.

Thanks