Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Raycasting in Robodk

I am creating a simulation where I need to trigger a stop function on my running simulation if there is movement in a certain area. I was thinking of ray casting for this, but I haven't been able to find any info on this. I also tried using the laser to no avail.

Is this not a feature in RoboDK? If so, is there any way I can possibly achieve this?

You should be able to call Stop on a robot or a program to stop them:
Hi Mjavala,

I think what you are trying to do is simulate a light/laser curtain.
What Albert gave you is a way to stop the program once the laser curtain is triggered.

To create the laser curtain itself, I think I would use this API call:
It will let you define a line (or many lines) and trigger a collision as soon a something cross that invisible line.

Let me know if it helps.
Find useful information about RoboDK and its features by visiting our Online Documentation and by watching tutorials on our Youtube Channel


Users browsing this thread:
1 Guest(s)