Page 1 of 1

distance between e puck and blob

Posted: 13 Apr 2017, 17:10
by mmhwmoh
Hi there

I am wondering how can I measure the distance between an e puck and a circular disk in V-REP using LUA programming?

Many thanks

Re: distance between e puck and blob

Posted: 18 Apr 2017, 08:02
by coppelia
Hello,

you could use the minimum distance calculation module. But this is probably overkill. An easier way would be to meanuse the distance between the epuck's center and the cylinder's center position.

Cheers