ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The best way to determine which transformation to inverse when confused is to draw the system. Here the transformations T1 and T2 are defined to a Origin/world frame. Now we want the transformation from T1 to T2 (the blue line). From the figure you can see that moving from T1 to Origin and from Origin to T2 will provide the same transformation. So we need to inverse T1. Therefore:
T12 = Inverse[T1] * T2
Transformation is like traveling a path and the difference reflect which direction you move. If we want the transformation from T2 to T1 it would be:
T21 = Inverse[T2] * T1

Comparision

The best way to determine which transformation to inverse when confused is to draw the system. Here the transformations T1 and T2 are defined to a Origin/world frame. Now we want the transformation from T1 to T2 (the blue line). From the figure you can see that moving from T1 to Origin and from Origin to T2 will provide the same transformation. So we need to inverse T1. Therefore:
T12 = Inverse[T1] * T2
Transformation is like traveling a path and the difference reflect which direction you move. If we want the transformation from T2 to T1 it would be:
T21 = Inverse[T2] * T1

Comparision

Ps. regarding your question about the rotation the easiest way to calculate is by using the 3x3 rotation matrix and combine it with the 3x1 translation into a homogenous transformation matrix. With these matrixes you can calculate transformation with normal matrix operations. This link:paper looks like a good introduction into the concept

The best way to determine which transformation to inverse when confused is to draw the system. Here the transformations T1 and T2 are defined to a Origin/world frame. Now we want the transformation from T1 to T2 (the blue line). From the figure you can see that moving from T1 to Origin and from Origin to T2 will provide the same transformation. So we need to inverse T1. Therefore:
T12 = Inverse[T1] * T2
Transformation is like traveling a path and the difference reflect which direction you move. If we want the transformation from T2 to T1 it would be:
T21 = Inverse[T2] * T1

Comparision

Ps. regarding your question about the rotation the easiest way to calculate is by using the 3x3 rotation matrix and combine it with the 3x1 translation into a homogenous transformation matrix. With these matrixes you can calculate transformation with normal matrix operations. This link:paper looks like a good introduction into the concept

The best way to determine which transformation to inverse when confused is to draw the system. Here the transformations T1 and T2 are defined to a Origin/world frame. Now we want the transformation from T1 to T2 (the blue line). From the figure you can see that moving from T1 to Origin and from Origin to T2 will provide the same transformation. So we need to inverse T1. Therefore:
T12 = Inverse[T1] * T2
Transformation is like traveling a path and the difference reflect which direction you move. If we want the transformation from T2 to T1 it would be:
T21 = Inverse[T2] * T1
Of cause you will only have to inverse when the transformation have the opposit direction of the one you want to move.

Comparision

Ps. regarding your question about the rotation the easiest way to calculate is by using the 3x3 rotation matrix and combine it with the 3x1 translation into a homogenous transformation matrix. With these matrixes you can calculate transformation with normal matrix operations. This paper looks like a good introduction into the concept