ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

You can do that with a tf::Quaternion

tf::Quaternion q;
q.setRPY(from_degrees(roll), from_degrees(pitch), from_degrees(yaw) );

You can do that with a tf::Quaternion

tf::Quaternion q;
q.setRPY(from_degrees(roll), from_degrees(pitch), from_degrees(yaw) );
from_degrees(yaw));