Draw over a surface

Typically: "How do I... ", "How can I... " questions
Post Reply
Posts: 24
Joined: 15 Mar 2016, 10:38

Draw over a surface

Post by martin »


I am interested on being able to simulate "draw" over a surface, as it is presented at the beginning of your promotional video of 2014 (https://www.youtube.com/watch?v=gBYqOBdIcaY). What I want is something like that: simulate a robot draw over a surface and detect it by a vision sensor.

I've made a search over the forum for doing that, and I've found this post (and others similar to this):

and after going deeper, I think this would be suitable for me, but after creating a "non-threaded child script" as your example, run the simulation and see how the lines are displayed, I am not able to view the lines in the vision sensor (the vision sensor is loaded at the scene in its default configuration).

Then, I would like to know what I need to do for viewing the lines that I draw in the vision sensor, similar as it is presented in your promotional video.

Thanks in advance.

Site Admin
Posts: 7936
Joined: 14 Dec 2012, 00:25

Re: Draw over a surface

Post by coppelia »


I think you will have to use the property sim.drawing_painttag for your drawing objects to be visible through vision sensors


Post Reply