ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Use the following line to re-normalize the quaternion of a transform, usually required after multiplying multiple transforms
my_tf.setRotation(my_tf.getRotation().normalize());
2 | No.2 Revision |
Use the following line to re-normalize the quaternion of a transform, usually required after multiplying multiple transforms
my_tf.setRotation(my_tf.getRotation().normalize());
However, a more likely case is that you are trying to work with an uninitialized transform.