Page 1 of 1

motionPlanningDemo1 distance measure

Posted: 06 Jul 2017, 18:32
by kurtserP
I'm trying to understand the mening of the distance measure between configurations and as function of a metric.
As presented in motionPlanningDemo1:

Code: Select all

x=(config1[i]-config2[i])*metric[i]
This implied that the distance is a distance of angles multiplied by a metric, but what does the metric represents? The length of the joint? Why is that then linear?

I would appreciate an example.
Thank you

Re: motionPlanningDemo1 distance measure

Posted: 06 Jul 2017, 19:58
by coppelia
Hello,

imagine a robot in configuration A, a robot in configuration B, and a robot in configuration C. We want to know which is shorter: move from A to B, or to move from A to C? In order to answer that question, we somehow need to be able to measure a distance between 2 configurations? do we simply square all joint angles, add them, then extract the square root? And what happens if we have linear and angular actuators? Is one radian equivalent to 1 meter (in terms of distance)? A distance metric allows to help answer above questions. The way the metric is defined depends on the task, the robot, etc.

Cheers

Re: motionPlanningDemo1 distance measure

Posted: 08 Jul 2017, 18:05
by kurtserP
Dear coppelia,
Thank you for your quick and full answer.
Is there any meaning to the number that are currently there in the demo?

Re: motionPlanningDemo1 distance measure

Posted: 10 Jul 2017, 09:57
by coppelia
Actually yes, but this really depends on your robot and application. In a serial manipulator for instance, you usually want to give more weight to the base joints, since a displacement of them can cause a large displacement of the end-effector.

Cheers