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 » 13 Apr 2017, 17:10

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: 6185
Joined: 14 Dec 2012, 00:25

Re: distance between e puck and blob

Post by coppelia » 18 Apr 2017, 08:02

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