LaserScanner_2D

Typically: "How do I... ", "How can I... " questions
Post Reply
Bening_Cloth
Posts: 2
Joined: 08 Mar 2021, 07:10

LaserScanner_2D

Post by Bening_Cloth »

Hi,
I want to know how the color of the laser line of the two-dimensional scanner LaserScanner_2D can be changed. Initially it is red, but I want green.
And how can you make the VisionSensor see the laser line?
https://clip2net.com/s/4bdy2Wp
Thank!

coppelia
Site Admin
Posts: 10366
Joined: 14 Dec 2012, 00:25

Re: LaserScanner_2D

Post by coppelia »

Hello,

in that model, and in CoppeliaSim version prior to V4.2.0, the laser is handled via a graph, which is actually not a very good idea. Anyway, you can modify the color of the 3D curve by selecting the graph, and in its properties dialog, click Edit 3D curve, select ScannerHits, then click Adjust color.
In the common section of the graph dialog, click Renderable, then it becomes also visible when seen from vision sensors.

Cheers

Bening_Cloth
Posts: 2
Joined: 08 Mar 2021, 07:10

Re: LaserScanner_2D

Post by Bening_Cloth »

Thanks a lot!

Post Reply