Skip to content

Commit

Permalink
Update devel to build on Ubuntu Jammy (22.04) (#326)
Browse files Browse the repository at this point in the history
* Update to C++17 for use with Ubuntu Jammy
* Include Rviz and Eigen as system includes, which supresses warnings within the included libraries
* use pluginlib and class_list_macros .hpp include instead of deprecated .h From: Lucas Walter <[email protected]>
  • Loading branch information
svwilliams authored May 12, 2023
1 parent f6c4c2f commit 31e8310
Show file tree
Hide file tree
Showing 72 changed files with 150 additions and 147 deletions.
34 changes: 17 additions & 17 deletions fuse_constraints/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ target_link_libraries(${PROJECT_NAME}
)
set_target_properties(${PROJECT_NAME}
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand Down Expand Up @@ -135,7 +135,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(test_absolute_constraint
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand All @@ -161,7 +161,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(test_absolute_orientation_3d_stamped_constraint
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand All @@ -187,7 +187,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(test_absolute_orientation_3d_stamped_euler_constraint
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand All @@ -211,7 +211,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(test_absolute_pose_2d_stamped_constraint
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand All @@ -235,7 +235,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(test_absolute_pose_3d_stamped_constraint
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand All @@ -257,7 +257,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(test_marginal_constraint
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand All @@ -280,7 +280,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(test_marginalize_variables
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand All @@ -304,7 +304,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(test_normal_delta_pose_2d
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand All @@ -328,7 +328,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(test_normal_prior_pose_2d
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand All @@ -352,7 +352,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(test_relative_constraint
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand All @@ -376,7 +376,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(test_relative_pose_2d_stamped_constraint
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand All @@ -400,7 +400,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(test_relative_pose_3d_stamped_constraint
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand All @@ -419,7 +419,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(test_uuid_ordering
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand All @@ -436,7 +436,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(test_variable_constraints
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)

Expand All @@ -458,7 +458,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(benchmark_normal_delta_pose_2d
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)
endif()
Expand All @@ -477,7 +477,7 @@ if(CATKIN_ENABLE_TESTING)
)
set_target_properties(benchmark_normal_prior_pose_2d
PROPERTIES
CXX_STANDARD 14
CXX_STANDARD 17
CXX_STANDARD_REQUIRED YES
)
endif()
Expand Down
2 changes: 1 addition & 1 deletion fuse_constraints/src/absolute_constraint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
#include <fuse_constraints/absolute_constraint.h>

#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>

#include <boost/serialization/export.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <fuse_constraints/absolute_orientation_3d_stamped_constraint.h>

#include <fuse_constraints/normal_prior_orientation_3d_cost_functor.h>
#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>

#include <boost/serialization/export.hpp>
#include <ceres/autodiff_cost_function.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <fuse_constraints/absolute_orientation_3d_stamped_euler_constraint.h>

#include <fuse_constraints/normal_prior_orientation_3d_euler_cost_functor.h>
#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>

#include <boost/serialization/export.hpp>
#include <ceres/autodiff_cost_function.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <fuse_constraints/absolute_pose_2d_stamped_constraint.h>

#include <fuse_constraints/normal_prior_pose_2d.h>
#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>

#include <boost/serialization/export.hpp>
#include <ceres/autodiff_cost_function.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <fuse_constraints/absolute_pose_3d_stamped_constraint.h>

#include <fuse_constraints/normal_prior_pose_3d_cost_functor.h>
#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>

#include <boost/serialization/export.hpp>
#include <ceres/autodiff_cost_function.h>
Expand Down
2 changes: 1 addition & 1 deletion fuse_constraints/src/marginal_constraint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

#include <fuse_constraints/marginal_cost_function.h>
#include <fuse_core/constraint.h>
#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>

#include <boost/serialization/export.hpp>
#include <Eigen/Core>
Expand Down
2 changes: 1 addition & 1 deletion fuse_constraints/src/relative_constraint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
*/
#include <fuse_constraints/relative_constraint.h>

#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>

#include <boost/serialization/export.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <fuse_constraints/relative_orientation_3d_stamped_constraint.h>

#include <fuse_constraints/normal_delta_orientation_3d_cost_functor.h>
#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>

#include <boost/serialization/export.hpp>
#include <ceres/autodiff_cost_function.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <fuse_constraints/relative_pose_2d_stamped_constraint.h>

#include <fuse_constraints/normal_delta_pose_2d.h>
#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>

#include <boost/serialization/export.hpp>
#include <ceres/autodiff_cost_function.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <fuse_constraints/relative_pose_3d_stamped_constraint.h>

#include <fuse_constraints/normal_delta_pose_3d_cost_functor.h>
#include <pluginlib/class_list_macros.h>
#include <pluginlib/class_list_macros.hpp>

#include <boost/serialization/export.hpp>
#include <ceres/autodiff_cost_function.h>
Expand Down
Loading

0 comments on commit 31e8310

Please sign in to comment.