Recommended way to construct quaternion from roll/pitch/yaw with tf2?
What is the recommended way to construct a quaternion from roll/pitch/yaw with tf2?
The tf2 wiki page gives this code:
tf::Quaternion q = tf::createQuaternionFromRPY(0, 0, 0);
Unfortunately tf itself is deprecated and I'm looking for a pure tf2 solution. I can't find the createQuaternionFromRPY
function in tf2, although the migration guide says it is a superset of tf. Am I missing something?