ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
TF datatypes are actually re-cast Bullet Datatypes. If you have a tf::Quaternion, you can use any of the functions dejan linked to above, but specifically, you want these two:
2 | No.2 Revision |
TF datatypes are actually re-cast Bullet Datatypes. If you have a tf::Quaternion, you can use any of the functions dejan linked to above, but specifically, you want these two:
double btQuaternion::GetAngle()
btVector3 btQuaternion::GetAxis()
When you want to change the value of a tf::Quaternion from an axis/angle representation, you can use this member function:
btQuaternion::SetRotation(const btVector3 &axis, const double &angle)
3 | No.3 Revision |
TF datatypes are actually re-cast Bullet Datatypes. If you have a tf::Quaternion, you can use any of the functions dejan linked to above, but specifically, you want these two:
double btQuaternion::GetAngle()
btVector3 btQuaternion::GetAxis()
When you want to change the value of a tf::Quaternion from an axis/angle representation, you can use this member function:
void btQuaternion::SetRotation(const btVector3 &axis, const double &angle)