36 #include <LinearMath/btTransform.h> 37 #include <geometry_msgs/PointStamped.h> 49 return btTransform(btQuaternion(t.transform.rotation.x, t.transform.rotation.y,
50 t.transform.rotation.z, t.transform.rotation.w),
51 btVector3(t.transform.translation.x, t.transform.translation.y, t.transform.translation.z));
76 geometry_msgs::PointStamped msg;
77 msg.header.stamp = in.
stamp_;
93 out.
stamp_ = msg.header.stamp;
117 #endif // TF2_BULLET_H void doTransform(const T &data_in, T &data_out, const geometry_msgs::TransformStamped &transform)
void fromMsg(const A &, B &b)
btTransform transformToBullet(const geometry_msgs::TransformStamped &t)
Convert a timestamped transform to the equivalent Bullet data type.