Help me please with V-REP sensor!

Typically: "How do I... ", "How can I... " questions
Post Reply
Sanchez2k
Posts: 4
Joined: 01 Dec 2017, 01:29

Help me please with V-REP sensor!

Post 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!

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

Re: Help me please with V-REP sensor!

Post 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

Sanchez2k
Posts: 4
Joined: 01 Dec 2017, 01:29

Re: Help me please with V-REP sensor!

Post by Sanchez2k »

Can you show an example with script ?

Post Reply