Page 1 of 1

Help me please with V-REP sensor!

Posted: 01 Dec 2017, 15:34
by Sanchez2k
Hello!

I'm new in V- REP and I was created the small project with conveyor and robot. But I want robot will start painting after a sensor turn it , but NOT at once after Start simulation. Can anybody help me with it?

File : https://drive.google.com/file/d/1Wp2ItK ... sp=sharing

Thank You!

Re: Help me please with V-REP sensor!

Posted: 05 Dec 2017, 21:34
by coppelia
Hello,

you will have to do some coding for that. First, add a proximity sensor that will detect parts passing. When a part is detected, you can set a signal that the paint gun can check and start painting. Or you can read the proximity sensor from the paint gun script directly, and enable paint when something is detected.

Make sure to check out the various child scripts attached to the various objects. You will have to read and understand those scripts, in order to be able to modify them.

Cheers

Re: Help me please with V-REP sensor!

Posted: 06 Dec 2017, 18:20
by Sanchez2k
Can you show an example with script ?