float yaw ;yaw += M_PI/2;yaw = std::atan2(std::sin(yaw), std::cos(yaw));geometry_msgs::Quaternion q = tf::createQuaternionMsgFromYaw(-yaw);object.pose.orientation = q;
|
|
|
來自: 新用戶76786117 > 《待分類》