distance between e puck and blob

Typically: "How do I... ", "How can I... " questions
Post Reply
mmhwmoh
Posts: 4
Joined: 21 Mar 2017, 00:01

distance between e puck and blob

Post 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

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

Re: distance between e puck and blob

Post 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

Post Reply