Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thanks. I am aware of those methods. So I am doing it something like this and I hope that this does the job of transforming RPY into Quaternion. Is there any other way to do this?

tf:: Quaternion rotation_rpy;
rotation_rpy.setRPY(x,y, theta);
geometry_msgs::Quaternion rotation_quat;
tf::quaternionTFToMsg(rotation_rpy, rotation_quat);