Synchronize web cam and laser scan data

asked 2016-06-01 06:48:44 -0600

horczech gravatar image

I need to synchronise the data from laser scan that gives me 2D data (distance measurements for each angle) and on top of the laser scan I have a web cam. I would like to synchronise these two data sources to be able to visualize the measured points or at least draw horisontal line that will represent the measurement height from the laser scanner. I have no idea how to name this problem so I would appreciate every suggestion that will show me the right way.

edit retag flag offensive close merge delete

Comments

1

Which sensors are you using?

FooBar gravatar imageFooBar ( 2016-06-01 15:32:31 -0600 )edit

I am using RPLidar laser range scanner and Logitech C170 webcam. I already figured out that I have to transform the laserscan data to the pointcloud and than using the function cv::projectPoints(...) get the coordinates of the laser scan on the image plane. Right now I have problem with the input pointcloud to the function. The function needs vector<point3f> and I have no idea how to get this format from the Pointcloud2

horczech gravatar imagehorczech ( 2016-06-05 04:36:01 -0600 )edit