03-14-2022, 06:22 PM
(This post was last modified: 03-14-2022, 06:25 PM byhalmusaibeli.)
Hi everyone,
I am trying to simulate the time of flight sensor in RoboDk to measure the depth of a point to a reference frame.
A visible idea is to use the Laser SICK WL4S sensor as an object, and then find the collision point of the laser line with the targeted object as shown below. This is by using the[b]Collision_Line(p1, p2, ref)[/b]function as shown below.
The problem is with the output of the collision_line() function is incorrect. It gives a collision point of [50,50,492.067] that describes the intersection between line and sensor, where it should give [50,50,100] that is the intersection between line and cube, all in the Station Frame.
Any idea what I am doing wrong? Any help is appreciated.
Thank you
Hamdan
I am trying to simulate the time of flight sensor in RoboDk to measure the depth of a point to a reference frame.
A visible idea is to use the Laser SICK WL4S sensor as an object, and then find the collision point of the laser line with the targeted object as shown below. This is by using the[b]Collision_Line(p1, p2, ref)[/b]function as shown below.
The problem is with the output of the collision_line() function is incorrect. It gives a collision point of [50,50,492.067] that describes the intersection between line and sensor, where it should give [50,50,100] that is the intersection between line and cube, all in the Station Frame.
Any idea what I am doing wrong? Any help is appreciated.
Thank you
Hamdan