ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The tf.TransformerROS
class has a fromTranslationRotation
method that will turn a translation and quaternion into a 4x4 matrix representation. If you set the translation to zero then it will give you just the rotation in the matrix.
2 | No.2 Revision |
The tf.TransformerROS
class has a fromTranslationRotation
method that will turn a translation and quaternion into a 4x4 matrix representation. If you set the translation to zero then it will give you just the rotation in the matrix.matrix. The asMatrix
method is also relevant if you have just the target frame, because it will also do the lookup for you.