Can anyone explain how pose_dist is calculated? I understand that, unlike point_dist(), it takes rotations into account, but I’d like to know how it is calculated. point_dist() needs not explanation, but pose_dist() confuses me a bit, since just rotating the tool flange on the spot will produce a positive-magnitude distance due to rotation only. I would have assumed that a zero radius rotation would also produce zero distance, and that is not the case.
Idea is that it is always non zero for two different poses, even when euclidean distance is 0. For long cartesian moves, and small tool rotations, both are the same. For short moves, and large rotations, rotation “distance” takes preference.
interpolate_pose() uses logic similar to pose_dist() to ensure non zero distance even when interpolating between waypoints that differ just by TCP rotation.
Makes sense. Euclidean distance is expressed in meters with point_dist. Which unit is the value returned by pose_dist expressed in?
You can’t say about specific units in this case. It’s more like time that it takes for TCP to get from one waypoint to another, than actual distance traveled.
Is there any specific application that you’re thinking about?
Mainly for the calculation of parametric blend radiuses. From this it seems that point_dist should always be used for this purpose.