Proximity sensor detect shape

Typically: "How do I... ", "How can I... " questions
deathstar
Posts: 3
Joined: 26 Jul 2017, 22:59

Proximity sensor detect shape

Postby deathstar » 12 Sep 2017, 05:39

Hi,

I'm trying to get the proximity sensor to detect a basic shape. I've added both to the scene and wrote a simple script to get the vrep.simxReadProximitySensor() returned value. It returns True when I add a pre-existing object , such as a laptop, but it doesn't work when I used a custom shape.

It is set as renderable, collidable, detectable ...


Any suggestions?

Thanks \

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

Re: Proximity sensor detect shape

Postby coppelia » 12 Sep 2017, 15:16

Hello,

does the sensor appear to detect the object in V-REP? (i.e. is it a remote API related problem, or a proximity sensor / shape problem?

Cheers


Return to “General questions”

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot], nehagarg and 20 guests