From 7a1558b37f7db8aefcfc1de4a40253c619687d74 Mon Sep 17 00:00:00 2001 From: Timothy Wiley Date: Fri, 21 Apr 2017 10:28:40 +1000 Subject: [PATCH] cleanup geometry/poses header --- crosbot/include/crosbot/geometry/poses.hpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/crosbot/include/crosbot/geometry/poses.hpp b/crosbot/include/crosbot/geometry/poses.hpp index 00427f2..39ea11c 100644 --- a/crosbot/include/crosbot/geometry/poses.hpp +++ b/crosbot/include/crosbot/geometry/poses.hpp @@ -333,28 +333,6 @@ public: }; #endif -/** - * Methods to transform between Poses and btTransforms - */ -//inline void getPoseFromTransform(const btTransform& trans, geometry_msgs::Pose& pose) { -// const btVector3& pos = trans.getOrigin(); -// pose.position.x = pos.x(); -// pose.position.y = pos.y(); -// pose.position.z = pos.z(); -// btQuaternion q = trans.getRotation(); -// pose.orientation.x = q.x(); -// pose.orientation.y = q.y(); -// pose.orientation.z = q.z(); -// pose.orientation.w = q.w(); -//} -// -//inline void getTransformFromPose(const geometry_msgs::Pose& pose, btTransform& trans) { -// btVector3 pos(pose.position.x, pose.position.y, pose.position.z); -// trans.setOrigin(pos); -// btQuaternion q(pose.orientation.x, pose.orientation.y, pose.orientation.z, pose.orientation.w); -// trans.setRotation(q); -//} - } // namespace crosbot -- GitLab