distance between e puck and blob

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

distance between e puck and blob

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

Re: distance between e puck and blob

Postby 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


Return to “General questions”

Who is online

Users browsing this forum: No registered users and 30 guests