Skip to content

Commit 0c0f47f

Browse files
committed
Simplify include of tf2_eigen.hpp
1 parent 35063ff commit 0c0f47f

File tree

14 files changed

+0
-56
lines changed

14 files changed

+0
-56
lines changed

core/src/solvers/cartesian_path.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@
4242
#include <moveit/trajectory_processing/time_parameterization.hpp>
4343
#include <moveit/kinematics_base/kinematics_base.hpp>
4444
#include <moveit/robot_state/cartesian_interpolator.hpp>
45-
#if __has_include(<tf2_eigen/tf2_eigen.hpp>)
4645
#include <tf2_eigen/tf2_eigen.hpp>
47-
#else
48-
#include <tf2_eigen/tf2_eigen.h>
49-
#endif
5046

5147
using namespace trajectory_processing;
5248

core/src/solvers/pipeline_planner.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,7 @@
4343
#include <moveit_msgs/msg/motion_plan_request.hpp>
4444
#include <moveit/kinematic_constraints/utils.hpp>
4545

46-
#if __has_include(<tf2_eigen/tf2_eigen.hpp>)
4746
#include <tf2_eigen/tf2_eigen.hpp>
48-
#else
49-
#include <tf2_eigen/tf2_eigen.h>
50-
#endif
5147

5248
namespace moveit {
5349
namespace task_constructor {

core/src/stages/compute_ik.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,7 @@
4444
#include <moveit/robot_state/robot_state.hpp>
4545

4646
#include <Eigen/Geometry>
47-
#if __has_include(<tf2_eigen/tf2_eigen.hpp>)
4847
#include <tf2_eigen/tf2_eigen.hpp>
49-
#else
50-
#include <tf2_eigen/tf2_eigen.h>
51-
#endif
5248
#include <chrono>
5349
#include <functional>
5450
#include <iterator>

core/src/stages/fix_collision_objects.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,7 @@
4444
#include <moveit/task_constructor/cost_terms.h>
4545

4646
#include <rviz_marker_tools/marker_creation.h>
47-
#if __has_include(<tf2_eigen/tf2_eigen.hpp>)
4847
#include <tf2_eigen/tf2_eigen.hpp>
49-
#else
50-
#include <tf2_eigen/tf2_eigen.h>
51-
#endif
5248
#include <Eigen/Geometry>
5349
#include <rclcpp/logging.hpp>
5450

core/src/stages/generate_grasp_pose.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,7 @@
4343
#include <moveit/robot_state/conversions.hpp>
4444

4545
#include <Eigen/Geometry>
46-
#if __has_include(<tf2_eigen/tf2_eigen.hpp>)
4746
#include <tf2_eigen/tf2_eigen.hpp>
48-
#else
49-
#include <tf2_eigen/tf2_eigen.h>
50-
#endif
5147

5248
namespace moveit {
5349
namespace task_constructor {

core/src/stages/generate_place_pose.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,7 @@
4545
#include <moveit/robot_state/attached_body.hpp>
4646

4747
#include <Eigen/Geometry>
48-
#if __has_include(<tf2_eigen/tf2_eigen.hpp>)
4948
#include <tf2_eigen/tf2_eigen.hpp>
50-
#else
51-
#include <tf2_eigen/tf2_eigen.h>
52-
#endif
5349

5450
namespace moveit {
5551
namespace task_constructor {

core/src/stages/generate_random_pose.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,7 @@
4141
#include <rviz_marker_tools/marker_creation.h>
4242

4343
#include <Eigen/Geometry>
44-
#if __has_include(<tf2_eigen/tf2_eigen.hpp>)
4544
#include <tf2_eigen/tf2_eigen.hpp>
46-
#else
47-
#include <tf2_eigen/tf2_eigen.h>
48-
#endif
4945

5046
#include <fmt/format.h>
5147
#include <chrono>

core/src/stages/move_relative.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,7 @@
4141

4242
#include <moveit/planning_scene/planning_scene.hpp>
4343
#include <rviz_marker_tools/marker_creation.h>
44-
#if __has_include(<tf2_eigen/tf2_eigen.hpp>)
4544
#include <tf2_eigen/tf2_eigen.hpp>
46-
#else
47-
#include <tf2_eigen/tf2_eigen.h>
48-
#endif
4945

5046
namespace moveit {
5147
namespace task_constructor {

core/src/stages/move_to.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,7 @@
4444
#include <moveit/task_constructor/utils.h>
4545

4646
#include <rviz_marker_tools/marker_creation.h>
47-
#if __has_include(<tf2_eigen/tf2_eigen.hpp>)
4847
#include <tf2_eigen/tf2_eigen.hpp>
49-
#else
50-
#include <tf2_eigen/tf2_eigen.h>
51-
#endif
5248
#include <moveit/robot_state/conversions.hpp>
5349

5450
namespace moveit {

core/src/stages/simple_grasp.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,7 @@
4444
#include <moveit/planning_scene/planning_scene.hpp>
4545

4646
#include <Eigen/Geometry>
47-
#if __has_include(<tf2_eigen/tf2_eigen.hpp>)
4847
#include <tf2_eigen/tf2_eigen.hpp>
49-
#else
50-
#include <tf2_eigen/tf2_eigen.h>
51-
#endif
5248

5349
namespace moveit {
5450
namespace task_constructor {

0 commit comments

Comments
 (0)