diff --git a/CMakeLists.txt b/CMakeLists.txt index 5147418..9a52fd9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,6 @@ project(urdf_geometry_parser) # Load catkin and all dependencies required for this package find_package(catkin REQUIRED COMPONENTS roscpp - tf2 urdf ) diff --git a/package.xml b/package.xml index dbb818e..716f417 100644 --- a/package.xml +++ b/package.xml @@ -19,8 +19,6 @@ roscpp urdf - tf2 - rostest xacro diff --git a/src/urdf_geometry_parser.cpp b/src/urdf_geometry_parser.cpp index 3d7e582..c375673 100644 --- a/src/urdf_geometry_parser.cpp +++ b/src/urdf_geometry_parser.cpp @@ -34,7 +34,7 @@ #include -#include +#include namespace urdf_geometry_parser{ @@ -154,11 +154,9 @@ namespace urdf_geometry_parser{ if(!getTransformVector(second_joint_name, base_link_, second_transform)) return false; - tf2::Vector3 v1(first_transform.x, first_transform.y, 0.0), - v2(second_transform.x, second_transform.y, 0.0); - distance = v1.distance(v2); - ROS_DEBUG_STREAM("first_transform : "<