Real-Time Transmission of Laser Scanner Data to Robot for Contour Tracking of Variable-Length Plastic Parts

Hey Everyone,

I have aligned the TCP of my robot with a laser scanner to scan the contour of a profile for deburring. The laser scanner is positioned 5 cm away from the TCP to scan the path ahead of the robot and provide the coordinates of this contour. The parts are pressed plastic pieces that vary in length. How can I continuously provide the robot with the movement coordinates from the scanned points?

i would appreciate any Help.