I was wondering if there is any good way to estimate the difference between two joint states of a robotic arm.
Currently I am using something like this: $\sqrt{\sum_i^N{(JStateA[i]-JStateB[i])^2}}$. Where $JStateA$ and $JStateB$ are the two joint states.
However, this formula gives the same weight to all joints. Ideally, I would like the formula to reflect that moving the first joint (that moves the whole arm) is a much more significant change than moving the last joint (which only moves the hand).