ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Something along these lines should work:
tf::Quaternion q = tf::createQuaternionFromYaw(0.0);
tf::quaternionTFToMsg(q, imu.orientation);