diff --git a/moveit_core/robot_state/test/test_aabb.cpp b/moveit_core/robot_state/test/test_aabb.cpp index cae7b5f730..c55258016d 100644 --- a/moveit_core/robot_state/test/test_aabb.cpp +++ b/moveit_core/robot_state/test/test_aabb.cpp @@ -42,7 +42,12 @@ #include #include #include +// TODO: Remove conditional include when released to all active distros. +#if __has_include() +#include +#else #include +#endif #include // To visualize bbox of the PR2, set this to 1. diff --git a/moveit_kinematics/cached_ik_kinematics_plugin/include/moveit/cached_ik_kinematics_plugin/cached_ik_kinematics_plugin.hpp b/moveit_kinematics/cached_ik_kinematics_plugin/include/moveit/cached_ik_kinematics_plugin/cached_ik_kinematics_plugin.hpp index 0ca3ff009e..a0cce0ab4b 100644 --- a/moveit_kinematics/cached_ik_kinematics_plugin/include/moveit/cached_ik_kinematics_plugin/cached_ik_kinematics_plugin.hpp +++ b/moveit_kinematics/cached_ik_kinematics_plugin/include/moveit/cached_ik_kinematics_plugin/cached_ik_kinematics_plugin.hpp @@ -40,8 +40,17 @@ #include #include #include +// TODO: Remove conditional includes when released to all active distros. +#if __has_include() +#include +#else #include +#endif +#if __has_include() +#include +#else #include +#endif #include #include #include diff --git a/moveit_kinematics/kdl_kinematics_plugin/src/kdl_kinematics_plugin.cpp b/moveit_kinematics/kdl_kinematics_plugin/src/kdl_kinematics_plugin.cpp index 3d7f69bac1..5df94a9873 100644 --- a/moveit_kinematics/kdl_kinematics_plugin/src/kdl_kinematics_plugin.cpp +++ b/moveit_kinematics/kdl_kinematics_plugin/src/kdl_kinematics_plugin.cpp @@ -39,7 +39,12 @@ #include #include +// TODO: Remove conditional include when released to all active distros. +#if __has_include() +#include +#else #include +#endif #include #include diff --git a/moveit_planners/chomp/chomp_motion_planner/src/chomp_planner.cpp b/moveit_planners/chomp/chomp_motion_planner/src/chomp_planner.cpp index 24ffe990b2..09a7251d67 100644 --- a/moveit_planners/chomp/chomp_motion_planner/src/chomp_planner.cpp +++ b/moveit_planners/chomp/chomp_motion_planner/src/chomp_planner.cpp @@ -38,7 +38,12 @@ #include #include #include +// TODO: Remove conditional include when released to all active distros. +#if __has_include() +#include +#else #include +#endif #include #include #include diff --git a/moveit_planners/pilz_industrial_motion_planner/include/pilz_industrial_motion_planner/trajectory_functions.hpp b/moveit_planners/pilz_industrial_motion_planner/include/pilz_industrial_motion_planner/trajectory_functions.hpp index 1f898b4ea0..b76ff8a705 100644 --- a/moveit_planners/pilz_industrial_motion_planner/include/pilz_industrial_motion_planner/trajectory_functions.hpp +++ b/moveit_planners/pilz_industrial_motion_planner/include/pilz_industrial_motion_planner/trajectory_functions.hpp @@ -39,7 +39,12 @@ #include #include #include +// TODO: Remove conditional include when released to all active distros. +#if __has_include() +#include +#else #include +#endif #include #include diff --git a/moveit_planners/pilz_industrial_motion_planner/src/trajectory_functions.cpp b/moveit_planners/pilz_industrial_motion_planner/src/trajectory_functions.cpp index e4c5d6a4d8..c1fccdf3bd 100644 --- a/moveit_planners/pilz_industrial_motion_planner/src/trajectory_functions.cpp +++ b/moveit_planners/pilz_industrial_motion_planner/src/trajectory_functions.cpp @@ -35,7 +35,12 @@ #include #include +// TODO: Remove conditional include when released to all active distros. +#if __has_include() +#include +#else #include +#endif #include #include #include diff --git a/moveit_planners/pilz_industrial_motion_planner/src/trajectory_generator_circ.cpp b/moveit_planners/pilz_industrial_motion_planner/src/trajectory_generator_circ.cpp index 4e92524bfc..388542daf3 100644 --- a/moveit_planners/pilz_industrial_motion_planner/src/trajectory_generator_circ.cpp +++ b/moveit_planners/pilz_industrial_motion_planner/src/trajectory_generator_circ.cpp @@ -43,10 +43,10 @@ #include #include #include -#include #include #include #include +#include #include #include diff --git a/moveit_planners/pilz_industrial_motion_planner/src/trajectory_generator_lin.cpp b/moveit_planners/pilz_industrial_motion_planner/src/trajectory_generator_lin.cpp index 4b51582099..77ed726c0e 100644 --- a/moveit_planners/pilz_industrial_motion_planner/src/trajectory_generator_lin.cpp +++ b/moveit_planners/pilz_industrial_motion_planner/src/trajectory_generator_lin.cpp @@ -43,11 +43,16 @@ #include #include #include +// TODO: Remove conditional include when released to all active distros. +#if __has_include() +#include +#else #include -#include +#endif #include #include #include +#include #include #include diff --git a/moveit_planners/pilz_industrial_motion_planner/test/test_utils.hpp b/moveit_planners/pilz_industrial_motion_planner/test/test_utils.hpp index 87c2d319ab..5adb93a6a9 100644 --- a/moveit_planners/pilz_industrial_motion_planner/test/test_utils.hpp +++ b/moveit_planners/pilz_industrial_motion_planner/test/test_utils.hpp @@ -56,8 +56,17 @@ #include #include #include +// TODO: Remove conditional include swhen released to all active distros. +#if __has_include() +#include +#else #include +#endif +#if __has_include() +#include +#else #include +#endif #include #include diff --git a/moveit_planners/test_configs/prbt_ikfast_manipulator_plugin/src/prbt_manipulator_ikfast_moveit_plugin.cpp b/moveit_planners/test_configs/prbt_ikfast_manipulator_plugin/src/prbt_manipulator_ikfast_moveit_plugin.cpp index 4df96995c5..4ea25702de 100644 --- a/moveit_planners/test_configs/prbt_ikfast_manipulator_plugin/src/prbt_manipulator_ikfast_moveit_plugin.cpp +++ b/moveit_planners/test_configs/prbt_ikfast_manipulator_plugin/src/prbt_manipulator_ikfast_moveit_plugin.cpp @@ -43,12 +43,12 @@ #include -#include #include #include #include #include #include +#include #include #include #include diff --git a/moveit_ros/perception/depth_image_octomap_updater/src/depth_image_octomap_updater.cpp b/moveit_ros/perception/depth_image_octomap_updater/src/depth_image_octomap_updater.cpp index 6912877fad..be57f380b0 100644 --- a/moveit_ros/perception/depth_image_octomap_updater/src/depth_image_octomap_updater.cpp +++ b/moveit_ros/perception/depth_image_octomap_updater/src/depth_image_octomap_updater.cpp @@ -38,8 +38,17 @@ #include #include #include +// TODO: Remove conditional includes when released to all active distros. +#if __has_include() +#include +#else #include +#endif +#if __has_include() +#include +#else #include +#endif #include #include #include diff --git a/moveit_ros/perception/pointcloud_octomap_updater/src/pointcloud_octomap_updater.cpp b/moveit_ros/perception/pointcloud_octomap_updater/src/pointcloud_octomap_updater.cpp index c652430513..74a6fcebae 100644 --- a/moveit_ros/perception/pointcloud_octomap_updater/src/pointcloud_octomap_updater.cpp +++ b/moveit_ros/perception/pointcloud_octomap_updater/src/pointcloud_octomap_updater.cpp @@ -38,8 +38,17 @@ #include #include #include +// TODO: Remove conditional includes when released to all active distros. +#if __has_include() +#include +#else #include +#endif +#if __has_include() +#include +#else #include +#endif #include #include #include diff --git a/moveit_ros/planning/planning_scene_monitor/src/planning_scene_monitor.cpp b/moveit_ros/planning/planning_scene_monitor/src/planning_scene_monitor.cpp index 478e98d1b9..0f3d1a067b 100644 --- a/moveit_ros/planning/planning_scene_monitor/src/planning_scene_monitor.cpp +++ b/moveit_ros/planning/planning_scene_monitor/src/planning_scene_monitor.cpp @@ -41,8 +41,17 @@ #include #include +// TODO: Remove conditional includes when released to all active distros. +#if __has_include() +#include +#else #include +#endif +#if __has_include() +#include +#else #include +#endif #include #include diff --git a/moveit_ros/planning_interface/move_group_interface/src/move_group_interface.cpp b/moveit_ros/planning_interface/move_group_interface/src/move_group_interface.cpp index b7238268d5..37c2471c2a 100644 --- a/moveit_ros/planning_interface/move_group_interface/src/move_group_interface.cpp +++ b/moveit_ros/planning_interface/move_group_interface/src/move_group_interface.cpp @@ -61,7 +61,12 @@ #include #include +// TODO: Remove conditional include when released to all active distros. +#if __has_include() +#include +#else #include +#endif #include #include #include diff --git a/moveit_ros/planning_interface/test/move_group_ompl_constraints_test.cpp b/moveit_ros/planning_interface/test/move_group_ompl_constraints_test.cpp index 8d72dee6de..9324e9a4d7 100644 --- a/moveit_ros/planning_interface/test/move_group_ompl_constraints_test.cpp +++ b/moveit_ros/planning_interface/test/move_group_ompl_constraints_test.cpp @@ -41,7 +41,12 @@ // ROS #include +// TODO: Remove conditional include when released to all active distros. +#if __has_include() +#include +#else #include +#endif #include // MoveIt diff --git a/moveit_ros/robot_interaction/src/interaction_handler.cpp b/moveit_ros/robot_interaction/src/interaction_handler.cpp index 8d79f91519..3426dee360 100644 --- a/moveit_ros/robot_interaction/src/interaction_handler.cpp +++ b/moveit_ros/robot_interaction/src/interaction_handler.cpp @@ -43,7 +43,12 @@ #include #include #include +// TODO: Remove conditional include when released to all active distros. +#if __has_include() +#include +#else #include +#endif #include #include #include diff --git a/moveit_ros/robot_interaction/src/interactive_marker_helpers.cpp b/moveit_ros/robot_interaction/src/interactive_marker_helpers.cpp index fe6fce7250..5d550af50d 100644 --- a/moveit_ros/robot_interaction/src/interactive_marker_helpers.cpp +++ b/moveit_ros/robot_interaction/src/interactive_marker_helpers.cpp @@ -36,7 +36,12 @@ #include #include +// TODO: Remove conditional include when released to all active distros. +#if __has_include() +#include +#else #include +#endif #include namespace robot_interaction diff --git a/moveit_ros/robot_interaction/src/robot_interaction.cpp b/moveit_ros/robot_interaction/src/robot_interaction.cpp index 23d5cbacd5..98c97087b5 100644 --- a/moveit_ros/robot_interaction/src/robot_interaction.cpp +++ b/moveit_ros/robot_interaction/src/robot_interaction.cpp @@ -44,7 +44,12 @@ #include #include #include +// TODO: Remove conditional include when released to all active distros. +#if __has_include() +#include +#else #include +#endif #include #include