From 7a453f60a21704052d0fc4aaf2cea18aeac443c7 Mon Sep 17 00:00:00 2001 From: methylDragon Date: Wed, 12 Oct 2022 21:14:40 -0700 Subject: [PATCH] fuse -> ROS 2: Clean up macro usage warnings (#280) --- .../include/fuse_constraints/absolute_constraint.h | 2 +- .../absolute_orientation_3d_stamped_constraint.h | 2 +- ...bsolute_orientation_3d_stamped_euler_constraint.h | 2 +- .../absolute_pose_2d_stamped_constraint.h | 2 +- .../absolute_pose_3d_stamped_constraint.h | 2 +- .../include/fuse_constraints/marginal_constraint.h | 2 +- .../normal_delta_orientation_3d_cost_functor.h | 2 +- .../normal_delta_pose_3d_cost_functor.h | 2 +- .../normal_prior_orientation_3d_cost_functor.h | 2 +- .../normal_prior_pose_3d_cost_functor.h | 2 +- .../include/fuse_constraints/relative_constraint.h | 2 +- .../relative_orientation_3d_stamped_constraint.h | 2 +- .../relative_pose_2d_stamped_constraint.h | 2 +- .../relative_pose_3d_stamped_constraint.h | 2 +- fuse_constraints/test/test_marginalize_variables.cpp | 6 +++--- fuse_core/include/fuse_core/async_motion_model.h | 2 +- fuse_core/include/fuse_core/async_publisher.h | 2 +- fuse_core/include/fuse_core/async_sensor_model.h | 2 +- .../fuse_core/autodiff_local_parameterization.h | 2 +- fuse_core/include/fuse_core/constraint.h | 12 ++++++------ fuse_core/include/fuse_core/graph.h | 8 ++++---- fuse_core/include/fuse_core/local_parameterization.h | 2 +- fuse_core/include/fuse_core/loss.h | 10 +++++----- fuse_core/include/fuse_core/message_buffer.h | 2 +- fuse_core/include/fuse_core/motion_model.h | 2 +- fuse_core/include/fuse_core/publisher.h | 2 +- fuse_core/include/fuse_core/sensor_model.h | 2 +- fuse_core/include/fuse_core/timestamp_manager.h | 2 +- fuse_core/include/fuse_core/transaction.h | 2 +- fuse_core/include/fuse_core/variable.h | 12 ++++++------ fuse_core/test/example_constraint.h | 2 +- fuse_core/test/example_loss.h | 2 +- fuse_core/test/example_variable.h | 2 +- fuse_graphs/benchmark/benchmark_create_problem.cpp | 2 +- fuse_graphs/include/fuse_graphs/hash_graph.h | 2 +- fuse_graphs/test/covariance_constraint.h | 2 +- fuse_graphs/test/example_constraint.h | 2 +- fuse_graphs/test/example_loss.h | 2 +- fuse_graphs/test/example_variable.h | 2 +- fuse_loss/include/fuse_loss/arctan_loss.h | 2 +- fuse_loss/include/fuse_loss/cauchy_loss.h | 2 +- fuse_loss/include/fuse_loss/composed_loss.h | 2 +- fuse_loss/include/fuse_loss/dcs_loss.h | 2 +- fuse_loss/include/fuse_loss/fair_loss.h | 2 +- fuse_loss/include/fuse_loss/geman_mcclure_loss.h | 2 +- fuse_loss/include/fuse_loss/huber_loss.h | 2 +- fuse_loss/include/fuse_loss/scaled_loss.h | 2 +- fuse_loss/include/fuse_loss/softlone_loss.h | 2 +- fuse_loss/include/fuse_loss/tolerant_loss.h | 2 +- fuse_loss/include/fuse_loss/trivial_loss.h | 2 +- fuse_loss/include/fuse_loss/tukey_loss.h | 2 +- fuse_loss/include/fuse_loss/welsch_loss.h | 2 +- fuse_models/include/fuse_models/acceleration_2d.h | 2 +- fuse_models/include/fuse_models/graph_ignition.h | 2 +- fuse_models/include/fuse_models/imu_2d.h | 2 +- fuse_models/include/fuse_models/odometry_2d.h | 2 +- .../include/fuse_models/odometry_2d_publisher.h | 2 +- fuse_models/include/fuse_models/pose_2d.h | 2 +- fuse_models/include/fuse_models/transaction.h | 2 +- fuse_models/include/fuse_models/twist_2d.h | 2 +- fuse_models/include/fuse_models/unicycle_2d.h | 2 +- .../include/fuse_models/unicycle_2d_ignition.h | 2 +- .../fuse_models/unicycle_2d_state_cost_function.h | 2 +- .../fuse_models/unicycle_2d_state_cost_functor.h | 2 +- .../unicycle_2d_state_kinematic_constraint.h | 2 +- fuse_models/test/example_constraint.h | 2 +- fuse_models/test/example_variable.h | 2 +- fuse_models/test/example_variable_stamped.h | 2 +- .../include/fuse_optimizers/batch_optimizer.h | 2 +- .../include/fuse_optimizers/fixed_lag_smoother.h | 2 +- fuse_optimizers/include/fuse_optimizers/optimizer.h | 2 +- .../include/fuse_optimizers/variable_stamp_index.h | 2 +- fuse_optimizers/test/example_optimizer.h | 2 +- fuse_optimizers/test/test_variable_stamp_index.cpp | 6 +++--- .../include/fuse_publishers/path_2d_publisher.h | 2 +- .../include/fuse_publishers/pose_2d_publisher.h | 2 +- .../include/fuse_publishers/serialized_publisher.h | 2 +- .../fuse_publishers/stamped_variable_synchronizer.h | 2 +- .../include/fuse_tutorials/beacon_publisher.h | 2 +- .../include/fuse_tutorials/range_constraint.h | 2 +- .../include/fuse_tutorials/range_sensor_model.h | 2 +- .../fuse_variables/acceleration_angular_2d_stamped.h | 2 +- .../fuse_variables/acceleration_angular_3d_stamped.h | 2 +- .../fuse_variables/acceleration_linear_2d_stamped.h | 2 +- .../fuse_variables/acceleration_linear_3d_stamped.h | 2 +- .../include/fuse_variables/fixed_size_variable.h | 2 +- .../include/fuse_variables/orientation_2d_stamped.h | 2 +- .../include/fuse_variables/orientation_3d_stamped.h | 2 +- .../include/fuse_variables/point_2d_fixed_landmark.h | 2 +- .../include/fuse_variables/point_2d_landmark.h | 2 +- .../include/fuse_variables/point_3d_fixed_landmark.h | 2 +- .../include/fuse_variables/point_3d_landmark.h | 2 +- .../include/fuse_variables/position_2d_stamped.h | 2 +- .../include/fuse_variables/position_3d_stamped.h | 2 +- fuse_variables/include/fuse_variables/stamped.h | 2 +- .../fuse_variables/velocity_angular_2d_stamped.h | 2 +- .../fuse_variables/velocity_angular_3d_stamped.h | 2 +- .../fuse_variables/velocity_linear_2d_stamped.h | 2 +- .../fuse_variables/velocity_linear_3d_stamped.h | 2 +- fuse_variables/test/test_fixed_size_variable.cpp | 2 +- 100 files changed, 121 insertions(+), 121 deletions(-) diff --git a/fuse_constraints/include/fuse_constraints/absolute_constraint.h b/fuse_constraints/include/fuse_constraints/absolute_constraint.h index 508425c53..82fc0986e 100644 --- a/fuse_constraints/include/fuse_constraints/absolute_constraint.h +++ b/fuse_constraints/include/fuse_constraints/absolute_constraint.h @@ -72,7 +72,7 @@ template class AbsoluteConstraint : public fuse_core::Constraint { public: - FUSE_CONSTRAINT_DEFINITIONS(AbsoluteConstraint); + FUSE_CONSTRAINT_DEFINITIONS(AbsoluteConstraint) /** * @brief Default constructor diff --git a/fuse_constraints/include/fuse_constraints/absolute_orientation_3d_stamped_constraint.h b/fuse_constraints/include/fuse_constraints/absolute_orientation_3d_stamped_constraint.h index c70d1308e..c4ea28b9c 100644 --- a/fuse_constraints/include/fuse_constraints/absolute_orientation_3d_stamped_constraint.h +++ b/fuse_constraints/include/fuse_constraints/absolute_orientation_3d_stamped_constraint.h @@ -65,7 +65,7 @@ namespace fuse_constraints class AbsoluteOrientation3DStampedConstraint : public fuse_core::Constraint { public: - FUSE_CONSTRAINT_DEFINITIONS_WITH_EIGEN(AbsoluteOrientation3DStampedConstraint); + FUSE_CONSTRAINT_DEFINITIONS_WITH_EIGEN(AbsoluteOrientation3DStampedConstraint) /** * @brief Default constructor diff --git a/fuse_constraints/include/fuse_constraints/absolute_orientation_3d_stamped_euler_constraint.h b/fuse_constraints/include/fuse_constraints/absolute_orientation_3d_stamped_euler_constraint.h index 38c1594f2..707569b82 100644 --- a/fuse_constraints/include/fuse_constraints/absolute_orientation_3d_stamped_euler_constraint.h +++ b/fuse_constraints/include/fuse_constraints/absolute_orientation_3d_stamped_euler_constraint.h @@ -67,7 +67,7 @@ namespace fuse_constraints class AbsoluteOrientation3DStampedEulerConstraint : public fuse_core::Constraint { public: - FUSE_CONSTRAINT_DEFINITIONS(AbsoluteOrientation3DStampedEulerConstraint); + FUSE_CONSTRAINT_DEFINITIONS(AbsoluteOrientation3DStampedEulerConstraint) using Euler = fuse_variables::Orientation3DStamped::Euler; diff --git a/fuse_constraints/include/fuse_constraints/absolute_pose_2d_stamped_constraint.h b/fuse_constraints/include/fuse_constraints/absolute_pose_2d_stamped_constraint.h index c1da692c4..072e2ae3e 100644 --- a/fuse_constraints/include/fuse_constraints/absolute_pose_2d_stamped_constraint.h +++ b/fuse_constraints/include/fuse_constraints/absolute_pose_2d_stamped_constraint.h @@ -68,7 +68,7 @@ namespace fuse_constraints class AbsolutePose2DStampedConstraint : public fuse_core::Constraint { public: - FUSE_CONSTRAINT_DEFINITIONS(AbsolutePose2DStampedConstraint); + FUSE_CONSTRAINT_DEFINITIONS(AbsolutePose2DStampedConstraint) /** * @brief Default constructor diff --git a/fuse_constraints/include/fuse_constraints/absolute_pose_3d_stamped_constraint.h b/fuse_constraints/include/fuse_constraints/absolute_pose_3d_stamped_constraint.h index 9048cc156..35d69f739 100644 --- a/fuse_constraints/include/fuse_constraints/absolute_pose_3d_stamped_constraint.h +++ b/fuse_constraints/include/fuse_constraints/absolute_pose_3d_stamped_constraint.h @@ -68,7 +68,7 @@ namespace fuse_constraints class AbsolutePose3DStampedConstraint : public fuse_core::Constraint { public: - FUSE_CONSTRAINT_DEFINITIONS_WITH_EIGEN(AbsolutePose3DStampedConstraint); + FUSE_CONSTRAINT_DEFINITIONS_WITH_EIGEN(AbsolutePose3DStampedConstraint) /** * @brief Default constructor diff --git a/fuse_constraints/include/fuse_constraints/marginal_constraint.h b/fuse_constraints/include/fuse_constraints/marginal_constraint.h index c1f80fb2f..6f83ff7b7 100644 --- a/fuse_constraints/include/fuse_constraints/marginal_constraint.h +++ b/fuse_constraints/include/fuse_constraints/marginal_constraint.h @@ -72,7 +72,7 @@ namespace fuse_constraints class MarginalConstraint : public fuse_core::Constraint { public: - FUSE_CONSTRAINT_DEFINITIONS(MarginalConstraint); + FUSE_CONSTRAINT_DEFINITIONS(MarginalConstraint) /** * @brief Default constructor diff --git a/fuse_constraints/include/fuse_constraints/normal_delta_orientation_3d_cost_functor.h b/fuse_constraints/include/fuse_constraints/normal_delta_orientation_3d_cost_functor.h index e9a1ddddc..dfab02937 100644 --- a/fuse_constraints/include/fuse_constraints/normal_delta_orientation_3d_cost_functor.h +++ b/fuse_constraints/include/fuse_constraints/normal_delta_orientation_3d_cost_functor.h @@ -69,7 +69,7 @@ namespace fuse_constraints class NormalDeltaOrientation3DCostFunctor { public: - FUSE_MAKE_ALIGNED_OPERATOR_NEW(); + FUSE_MAKE_ALIGNED_OPERATOR_NEW() /** * @brief Construct a cost function instance diff --git a/fuse_constraints/include/fuse_constraints/normal_delta_pose_3d_cost_functor.h b/fuse_constraints/include/fuse_constraints/normal_delta_pose_3d_cost_functor.h index 343174853..82095b524 100644 --- a/fuse_constraints/include/fuse_constraints/normal_delta_pose_3d_cost_functor.h +++ b/fuse_constraints/include/fuse_constraints/normal_delta_pose_3d_cost_functor.h @@ -68,7 +68,7 @@ namespace fuse_constraints class NormalDeltaPose3DCostFunctor { public: - FUSE_MAKE_ALIGNED_OPERATOR_NEW(); + FUSE_MAKE_ALIGNED_OPERATOR_NEW() /** * @brief Constructor diff --git a/fuse_constraints/include/fuse_constraints/normal_prior_orientation_3d_cost_functor.h b/fuse_constraints/include/fuse_constraints/normal_prior_orientation_3d_cost_functor.h index 7349c7e1a..a3022b60b 100644 --- a/fuse_constraints/include/fuse_constraints/normal_prior_orientation_3d_cost_functor.h +++ b/fuse_constraints/include/fuse_constraints/normal_prior_orientation_3d_cost_functor.h @@ -69,7 +69,7 @@ namespace fuse_constraints class NormalPriorOrientation3DCostFunctor { public: - FUSE_MAKE_ALIGNED_OPERATOR_NEW(); + FUSE_MAKE_ALIGNED_OPERATOR_NEW() /** * @brief Construct a cost function instance diff --git a/fuse_constraints/include/fuse_constraints/normal_prior_pose_3d_cost_functor.h b/fuse_constraints/include/fuse_constraints/normal_prior_pose_3d_cost_functor.h index a77f5627c..71e2b14ef 100644 --- a/fuse_constraints/include/fuse_constraints/normal_prior_pose_3d_cost_functor.h +++ b/fuse_constraints/include/fuse_constraints/normal_prior_pose_3d_cost_functor.h @@ -68,7 +68,7 @@ namespace fuse_constraints class NormalPriorPose3DCostFunctor { public: - FUSE_MAKE_ALIGNED_OPERATOR_NEW(); + FUSE_MAKE_ALIGNED_OPERATOR_NEW() /** * @brief Construct a cost function instance diff --git a/fuse_constraints/include/fuse_constraints/relative_constraint.h b/fuse_constraints/include/fuse_constraints/relative_constraint.h index d42853eab..f60c5f7eb 100644 --- a/fuse_constraints/include/fuse_constraints/relative_constraint.h +++ b/fuse_constraints/include/fuse_constraints/relative_constraint.h @@ -75,7 +75,7 @@ template class RelativeConstraint : public fuse_core::Constraint { public: - FUSE_CONSTRAINT_DEFINITIONS(RelativeConstraint); + FUSE_CONSTRAINT_DEFINITIONS(RelativeConstraint) /** * @brief Default constructor diff --git a/fuse_constraints/include/fuse_constraints/relative_orientation_3d_stamped_constraint.h b/fuse_constraints/include/fuse_constraints/relative_orientation_3d_stamped_constraint.h index 33ba0499c..167cf0b3d 100644 --- a/fuse_constraints/include/fuse_constraints/relative_orientation_3d_stamped_constraint.h +++ b/fuse_constraints/include/fuse_constraints/relative_orientation_3d_stamped_constraint.h @@ -64,7 +64,7 @@ namespace fuse_constraints class RelativeOrientation3DStampedConstraint : public fuse_core::Constraint { public: - FUSE_CONSTRAINT_DEFINITIONS_WITH_EIGEN(RelativeOrientation3DStampedConstraint); + FUSE_CONSTRAINT_DEFINITIONS_WITH_EIGEN(RelativeOrientation3DStampedConstraint) /** * @brief Default constructor diff --git a/fuse_constraints/include/fuse_constraints/relative_pose_2d_stamped_constraint.h b/fuse_constraints/include/fuse_constraints/relative_pose_2d_stamped_constraint.h index 18439d09e..e34ff2fcd 100644 --- a/fuse_constraints/include/fuse_constraints/relative_pose_2d_stamped_constraint.h +++ b/fuse_constraints/include/fuse_constraints/relative_pose_2d_stamped_constraint.h @@ -66,7 +66,7 @@ namespace fuse_constraints class RelativePose2DStampedConstraint : public fuse_core::Constraint { public: - FUSE_CONSTRAINT_DEFINITIONS(RelativePose2DStampedConstraint); + FUSE_CONSTRAINT_DEFINITIONS(RelativePose2DStampedConstraint) /** * @brief Default constructor diff --git a/fuse_constraints/include/fuse_constraints/relative_pose_3d_stamped_constraint.h b/fuse_constraints/include/fuse_constraints/relative_pose_3d_stamped_constraint.h index 4d2db421d..8097d3cac 100644 --- a/fuse_constraints/include/fuse_constraints/relative_pose_3d_stamped_constraint.h +++ b/fuse_constraints/include/fuse_constraints/relative_pose_3d_stamped_constraint.h @@ -65,7 +65,7 @@ namespace fuse_constraints class RelativePose3DStampedConstraint : public fuse_core::Constraint { public: - FUSE_CONSTRAINT_DEFINITIONS_WITH_EIGEN(RelativePose3DStampedConstraint); + FUSE_CONSTRAINT_DEFINITIONS_WITH_EIGEN(RelativePose3DStampedConstraint) /** * @brief Default constructor diff --git a/fuse_constraints/test/test_marginalize_variables.cpp b/fuse_constraints/test/test_marginalize_variables.cpp index 42f40b212..6824b3371 100644 --- a/fuse_constraints/test/test_marginalize_variables.cpp +++ b/fuse_constraints/test/test_marginalize_variables.cpp @@ -62,7 +62,7 @@ class GenericVariable : public fuse_core::Variable { public: - FUSE_VARIABLE_DEFINITIONS(GenericVariable); + FUSE_VARIABLE_DEFINITIONS(GenericVariable) GenericVariable() : fuse_core::Variable(fuse_core::uuid::generate()), @@ -110,7 +110,7 @@ BOOST_CLASS_EXPORT(GenericVariable); class GenericConstraint : public fuse_core::Constraint { public: - FUSE_CONSTRAINT_DEFINITIONS(GenericConstraint); + FUSE_CONSTRAINT_DEFINITIONS(GenericConstraint) GenericConstraint(std::initializer_list variable_uuids) : Constraint("test", variable_uuids) {} @@ -145,7 +145,7 @@ class GenericConstraint : public fuse_core::Constraint class FixedOrientation3DStamped : public fuse_variables::Orientation3DStamped { public: - FUSE_VARIABLE_DEFINITIONS(FixedOrientation3DStamped); + FUSE_VARIABLE_DEFINITIONS(FixedOrientation3DStamped) FixedOrientation3DStamped() = default; diff --git a/fuse_core/include/fuse_core/async_motion_model.h b/fuse_core/include/fuse_core/async_motion_model.h index 6a98544dd..8a396e4c0 100644 --- a/fuse_core/include/fuse_core/async_motion_model.h +++ b/fuse_core/include/fuse_core/async_motion_model.h @@ -85,7 +85,7 @@ namespace fuse_core class AsyncMotionModel : public MotionModel { public: - FUSE_SMART_PTR_ALIASES_ONLY(AsyncMotionModel); + FUSE_SMART_PTR_ALIASES_ONLY(AsyncMotionModel) /** * @brief Destructor diff --git a/fuse_core/include/fuse_core/async_publisher.h b/fuse_core/include/fuse_core/async_publisher.h index e7cba23b2..b7c145702 100644 --- a/fuse_core/include/fuse_core/async_publisher.h +++ b/fuse_core/include/fuse_core/async_publisher.h @@ -63,7 +63,7 @@ namespace fuse_core class AsyncPublisher : public Publisher { public: - FUSE_SMART_PTR_ALIASES_ONLY(AsyncPublisher); + FUSE_SMART_PTR_ALIASES_ONLY(AsyncPublisher) /** * @brief Destructor diff --git a/fuse_core/include/fuse_core/async_sensor_model.h b/fuse_core/include/fuse_core/async_sensor_model.h index 9107d1de4..af2c6f44f 100644 --- a/fuse_core/include/fuse_core/async_sensor_model.h +++ b/fuse_core/include/fuse_core/async_sensor_model.h @@ -87,7 +87,7 @@ namespace fuse_core class AsyncSensorModel : public SensorModel { public: - FUSE_SMART_PTR_ALIASES_ONLY(AsyncSensorModel); + FUSE_SMART_PTR_ALIASES_ONLY(AsyncSensorModel) /** * @brief Destructor diff --git a/fuse_core/include/fuse_core/autodiff_local_parameterization.h b/fuse_core/include/fuse_core/autodiff_local_parameterization.h index 1338f1bd3..b2df32c9f 100644 --- a/fuse_core/include/fuse_core/autodiff_local_parameterization.h +++ b/fuse_core/include/fuse_core/autodiff_local_parameterization.h @@ -77,7 +77,7 @@ template ); + FUSE_SMART_PTR_DEFINITIONS(AutoDiffLocalParameterization) /** * @brief Constructs new PlusFunctor and MinusFunctor instances diff --git a/fuse_core/include/fuse_core/constraint.h b/fuse_core/include/fuse_core/constraint.h index b0f97752e..f876ff84c 100644 --- a/fuse_core/include/fuse_core/constraint.h +++ b/fuse_core/include/fuse_core/constraint.h @@ -61,7 +61,7 @@ * class Derived : public Constraint * { * public: - * FUSE_CONSTRAINT_CLONE_DEFINITION(Derived); + * FUSE_CONSTRAINT_CLONE_DEFINITION(Derived) * // The rest of the derived constraint implementation * } * @endcode @@ -80,7 +80,7 @@ * class Derived : public Constraint * { * public: - * FUSE_CONSTRAINT_SERIALIZE_DEFINITION(Derived); + * FUSE_CONSTRAINT_SERIALIZE_DEFINITION(Derived) * // The rest of the derived constraint implementation * } * @endcode @@ -113,7 +113,7 @@ * class Derived : public Constraint * { * public: - * FUSE_CONSTRAINT_TYPE_DEFINITION(Derived); + * FUSE_CONSTRAINT_TYPE_DEFINITION(Derived) * // The rest of the derived constraint implementation * } * @endcode @@ -139,7 +139,7 @@ * class Derived : public Constraint * { * public: - * FUSE_CONSTRAINT_DEFINITIONS(Derived); + * FUSE_CONSTRAINT_DEFINITIONS(Derived) * // The rest of the derived constraint implementation * } * @endcode @@ -159,7 +159,7 @@ * class Derived : public Constraint * { * public: - * FUSE_CONSTRAINT_DEFINITIONS_WTIH_EIGEN(Derived); + * FUSE_CONSTRAINT_DEFINITIONS_WTIH_EIGEN(Derived) * // The rest of the derived constraint implementation * } * @endcode @@ -193,7 +193,7 @@ namespace fuse_core class Constraint { public: - FUSE_SMART_PTR_ALIASES_ONLY(Constraint); + FUSE_SMART_PTR_ALIASES_ONLY(Constraint) /** * @brief Default constructor diff --git a/fuse_core/include/fuse_core/graph.h b/fuse_core/include/fuse_core/graph.h index d2d6a3c82..67e9fa0ab 100644 --- a/fuse_core/include/fuse_core/graph.h +++ b/fuse_core/include/fuse_core/graph.h @@ -65,7 +65,7 @@ * class Derived : public Graph * { * public: - * FUSE_GRAPH_SERIALIZE_DEFINITION(Derived); + * FUSE_GRAPH_SERIALIZE_DEFINITION(Derived) * // The rest of the derived graph implementation * } * @endcode @@ -98,7 +98,7 @@ * class Derived : public Graph * { * public: - * FUSE_GRAPH_TYPE_DEFINITION(Derived); + * FUSE_GRAPH_TYPE_DEFINITION(Derived) * // The rest of the derived graph implementation * } * @endcode @@ -124,7 +124,7 @@ * class Derived : public Graph * { * public: -* FUSE_GRAPH_DEFINITIONS(Derived); +* FUSE_GRAPH_DEFINITIONS(Derived) * // The rest of the derived graph implementation * } * @endcode @@ -149,7 +149,7 @@ namespace fuse_core class Graph { public: - FUSE_SMART_PTR_ALIASES_ONLY(Graph); + FUSE_SMART_PTR_ALIASES_ONLY(Graph) /** * @brief A range of fuse_ros::Constraint objects diff --git a/fuse_core/include/fuse_core/local_parameterization.h b/fuse_core/include/fuse_core/local_parameterization.h index c7dd5602c..5f86bf310 100644 --- a/fuse_core/include/fuse_core/local_parameterization.h +++ b/fuse_core/include/fuse_core/local_parameterization.h @@ -57,7 +57,7 @@ namespace fuse_core class LocalParameterization : public ceres::LocalParameterization { public: - FUSE_SMART_PTR_ALIASES_ONLY(LocalParameterization); + FUSE_SMART_PTR_ALIASES_ONLY(LocalParameterization) /** * @brief Generalization of the subtraction operation diff --git a/fuse_core/include/fuse_core/loss.h b/fuse_core/include/fuse_core/loss.h index c4407f9e5..5e1c7e769 100644 --- a/fuse_core/include/fuse_core/loss.h +++ b/fuse_core/include/fuse_core/loss.h @@ -53,7 +53,7 @@ * class Derived : public Loss * { * public: - * FUSE_LOSS_CLONE_DEFINITION(Derived); + * FUSE_LOSS_CLONE_DEFINITION(Derived) * // The rest of the derived loss function implementation * } * @endcode @@ -72,7 +72,7 @@ * class Derived : public Loss * { * public: - * FUSE_LOSS_SERIALIZE_DEFINITION(Derived); + * FUSE_LOSS_SERIALIZE_DEFINITION(Derived) * // The rest of the derived loss function implementation * } * @endcode @@ -105,7 +105,7 @@ * class Derived : public Loss * { * public: - * FUSE_LOSS_TYPE_DEFINITION(Derived); + * FUSE_LOSS_TYPE_DEFINITION(Derived) * // The rest of the derived loss function implementation * } * @endcode @@ -131,7 +131,7 @@ * class Derived : public Loss * { * public: - * FUSE_LOSS_DEFINITIONS(Derived); + * FUSE_LOSS_DEFINITIONS(Derived) * // The rest of the derived loss function implementation * } * @endcode @@ -169,7 +169,7 @@ namespace fuse_core class Loss { public: - FUSE_SMART_PTR_ALIASES_ONLY(Loss); + FUSE_SMART_PTR_ALIASES_ONLY(Loss) static constexpr ceres::Ownership Ownership = ceres::Ownership::TAKE_OWNERSHIP; //!< The ownership of the ceres::LossFunction* returned by lossFunction() diff --git a/fuse_core/include/fuse_core/message_buffer.h b/fuse_core/include/fuse_core/message_buffer.h index b7a906e62..1c4986d8f 100644 --- a/fuse_core/include/fuse_core/message_buffer.h +++ b/fuse_core/include/fuse_core/message_buffer.h @@ -61,7 +61,7 @@ template class MessageBuffer { public: - FUSE_SMART_PTR_DEFINITIONS(MessageBuffer); + FUSE_SMART_PTR_DEFINITIONS(MessageBuffer) /** * @brief A range of messages diff --git a/fuse_core/include/fuse_core/motion_model.h b/fuse_core/include/fuse_core/motion_model.h index 1b953f5dd..8aab16b65 100644 --- a/fuse_core/include/fuse_core/motion_model.h +++ b/fuse_core/include/fuse_core/motion_model.h @@ -53,7 +53,7 @@ namespace fuse_core class MotionModel { public: - FUSE_SMART_PTR_ALIASES_ONLY(MotionModel); + FUSE_SMART_PTR_ALIASES_ONLY(MotionModel) /** * @brief Destructor diff --git a/fuse_core/include/fuse_core/publisher.h b/fuse_core/include/fuse_core/publisher.h index 418927cc2..3485b007e 100644 --- a/fuse_core/include/fuse_core/publisher.h +++ b/fuse_core/include/fuse_core/publisher.h @@ -57,7 +57,7 @@ namespace fuse_core class Publisher { public: - FUSE_SMART_PTR_ALIASES_ONLY(Publisher); + FUSE_SMART_PTR_ALIASES_ONLY(Publisher) /** * @brief Constructor diff --git a/fuse_core/include/fuse_core/sensor_model.h b/fuse_core/include/fuse_core/sensor_model.h index 7aa3e6886..d50267df5 100644 --- a/fuse_core/include/fuse_core/sensor_model.h +++ b/fuse_core/include/fuse_core/sensor_model.h @@ -68,7 +68,7 @@ using TransactionCallback = std::function { public: - FUSE_MAKE_ALIGNED_OPERATOR_NEW(); + FUSE_MAKE_ALIGNED_OPERATOR_NEW() /** * @brief Construct a cost function instance diff --git a/fuse_models/include/fuse_models/unicycle_2d_state_cost_functor.h b/fuse_models/include/fuse_models/unicycle_2d_state_cost_functor.h index 8c1b16e4a..aafb8083e 100644 --- a/fuse_models/include/fuse_models/unicycle_2d_state_cost_functor.h +++ b/fuse_models/include/fuse_models/unicycle_2d_state_cost_functor.h @@ -83,7 +83,7 @@ namespace fuse_models class Unicycle2DStateCostFunctor { public: - FUSE_MAKE_ALIGNED_OPERATOR_NEW(); + FUSE_MAKE_ALIGNED_OPERATOR_NEW() /** * @brief Construct a cost function instance diff --git a/fuse_models/include/fuse_models/unicycle_2d_state_kinematic_constraint.h b/fuse_models/include/fuse_models/unicycle_2d_state_kinematic_constraint.h index d50cf725f..97311e891 100644 --- a/fuse_models/include/fuse_models/unicycle_2d_state_kinematic_constraint.h +++ b/fuse_models/include/fuse_models/unicycle_2d_state_kinematic_constraint.h @@ -66,7 +66,7 @@ namespace fuse_models class Unicycle2DStateKinematicConstraint : public fuse_core::Constraint { public: - FUSE_CONSTRAINT_DEFINITIONS_WITH_EIGEN(Unicycle2DStateKinematicConstraint); + FUSE_CONSTRAINT_DEFINITIONS_WITH_EIGEN(Unicycle2DStateKinematicConstraint) /** * @brief Default constructor diff --git a/fuse_models/test/example_constraint.h b/fuse_models/test/example_constraint.h index 8a0d78ff1..14dfeec07 100644 --- a/fuse_models/test/example_constraint.h +++ b/fuse_models/test/example_constraint.h @@ -55,7 +55,7 @@ class ExampleConstraint : public fuse_core::Constraint { public: - FUSE_CONSTRAINT_DEFINITIONS(ExampleConstraint); + FUSE_CONSTRAINT_DEFINITIONS(ExampleConstraint) ExampleConstraint() = default; diff --git a/fuse_models/test/example_variable.h b/fuse_models/test/example_variable.h index 430324d18..0bae2cd57 100644 --- a/fuse_models/test/example_variable.h +++ b/fuse_models/test/example_variable.h @@ -50,7 +50,7 @@ class ExampleVariable : public fuse_core::Variable { public: - FUSE_VARIABLE_DEFINITIONS(ExampleVariable); + FUSE_VARIABLE_DEFINITIONS(ExampleVariable) ExampleVariable() : fuse_core::Variable(fuse_core::uuid::generate()), data_(0.0) { diff --git a/fuse_models/test/example_variable_stamped.h b/fuse_models/test/example_variable_stamped.h index e810590ae..640e33c57 100644 --- a/fuse_models/test/example_variable_stamped.h +++ b/fuse_models/test/example_variable_stamped.h @@ -51,7 +51,7 @@ class ExampleVariableStamped : public fuse_core::Variable, public fuse_variables::Stamped { public: - FUSE_VARIABLE_DEFINITIONS(ExampleVariableStamped); + FUSE_VARIABLE_DEFINITIONS(ExampleVariableStamped) ExampleVariableStamped() = default; diff --git a/fuse_optimizers/include/fuse_optimizers/batch_optimizer.h b/fuse_optimizers/include/fuse_optimizers/batch_optimizer.h index 39452b2f2..9364fc010 100644 --- a/fuse_optimizers/include/fuse_optimizers/batch_optimizer.h +++ b/fuse_optimizers/include/fuse_optimizers/batch_optimizer.h @@ -96,7 +96,7 @@ namespace fuse_optimizers class BatchOptimizer : public Optimizer { public: - FUSE_SMART_PTR_DEFINITIONS(BatchOptimizer); + FUSE_SMART_PTR_DEFINITIONS(BatchOptimizer) using ParameterType = BatchOptimizerParams; /** diff --git a/fuse_optimizers/include/fuse_optimizers/fixed_lag_smoother.h b/fuse_optimizers/include/fuse_optimizers/fixed_lag_smoother.h index eefacac2a..a83dba211 100644 --- a/fuse_optimizers/include/fuse_optimizers/fixed_lag_smoother.h +++ b/fuse_optimizers/include/fuse_optimizers/fixed_lag_smoother.h @@ -105,7 +105,7 @@ namespace fuse_optimizers class FixedLagSmoother : public Optimizer { public: - FUSE_SMART_PTR_DEFINITIONS(FixedLagSmoother); + FUSE_SMART_PTR_DEFINITIONS(FixedLagSmoother) using ParameterType = FixedLagSmootherParams; /** diff --git a/fuse_optimizers/include/fuse_optimizers/optimizer.h b/fuse_optimizers/include/fuse_optimizers/optimizer.h index 20f16f736..dadf1847f 100644 --- a/fuse_optimizers/include/fuse_optimizers/optimizer.h +++ b/fuse_optimizers/include/fuse_optimizers/optimizer.h @@ -93,7 +93,7 @@ namespace fuse_optimizers class Optimizer { public: - FUSE_SMART_PTR_ALIASES_ONLY(Optimizer); + FUSE_SMART_PTR_ALIASES_ONLY(Optimizer) /** * @brief Constructor diff --git a/fuse_optimizers/include/fuse_optimizers/variable_stamp_index.h b/fuse_optimizers/include/fuse_optimizers/variable_stamp_index.h index 4db0c9167..1a52cbbf8 100644 --- a/fuse_optimizers/include/fuse_optimizers/variable_stamp_index.h +++ b/fuse_optimizers/include/fuse_optimizers/variable_stamp_index.h @@ -56,7 +56,7 @@ namespace fuse_optimizers class VariableStampIndex { public: - FUSE_SMART_PTR_DEFINITIONS(VariableStampIndex); + FUSE_SMART_PTR_DEFINITIONS(VariableStampIndex) /** * @brief Constructor diff --git a/fuse_optimizers/test/example_optimizer.h b/fuse_optimizers/test/example_optimizer.h index 2fb976504..0153c2955 100644 --- a/fuse_optimizers/test/example_optimizer.h +++ b/fuse_optimizers/test/example_optimizer.h @@ -47,7 +47,7 @@ class ExampleOptimizer : public fuse_optimizers::Optimizer { public: - FUSE_SMART_PTR_DEFINITIONS(ExampleOptimizer); + FUSE_SMART_PTR_DEFINITIONS(ExampleOptimizer) ExampleOptimizer(fuse_core::Graph::UniquePtr graph, const ros::NodeHandle& node_handle = ros::NodeHandle(), const ros::NodeHandle& private_node_handle = ros::NodeHandle("~")) diff --git a/fuse_optimizers/test/test_variable_stamp_index.cpp b/fuse_optimizers/test/test_variable_stamp_index.cpp index 5003d3646..cfee606b2 100644 --- a/fuse_optimizers/test/test_variable_stamp_index.cpp +++ b/fuse_optimizers/test/test_variable_stamp_index.cpp @@ -58,7 +58,7 @@ class StampedVariable : public fuse_core::Variable, public fuse_variables::Stamped { public: - FUSE_VARIABLE_DEFINITIONS(StampedVariable); + FUSE_VARIABLE_DEFINITIONS(StampedVariable) explicit StampedVariable(const ros::Time& stamp = ros::Time(0, 0)) : fuse_core::Variable(fuse_core::uuid::generate()), @@ -115,7 +115,7 @@ BOOST_CLASS_EXPORT(StampedVariable); class UnstampedVariable : public fuse_core::Variable { public: - FUSE_VARIABLE_DEFINITIONS(UnstampedVariable); + FUSE_VARIABLE_DEFINITIONS(UnstampedVariable) UnstampedVariable() : fuse_core::Variable(fuse_core::uuid::generate()), @@ -170,7 +170,7 @@ BOOST_CLASS_EXPORT(UnstampedVariable); class GenericConstraint : public fuse_core::Constraint { public: - FUSE_CONSTRAINT_DEFINITIONS(GenericConstraint); + FUSE_CONSTRAINT_DEFINITIONS(GenericConstraint) GenericConstraint() = default; diff --git a/fuse_publishers/include/fuse_publishers/path_2d_publisher.h b/fuse_publishers/include/fuse_publishers/path_2d_publisher.h index 4b37bb500..7a232d9cf 100644 --- a/fuse_publishers/include/fuse_publishers/path_2d_publisher.h +++ b/fuse_publishers/include/fuse_publishers/path_2d_publisher.h @@ -57,7 +57,7 @@ namespace fuse_publishers class Path2DPublisher : public fuse_core::AsyncPublisher { public: - FUSE_SMART_PTR_DEFINITIONS(Path2DPublisher); + FUSE_SMART_PTR_DEFINITIONS(Path2DPublisher) /** * @brief Constructor diff --git a/fuse_publishers/include/fuse_publishers/pose_2d_publisher.h b/fuse_publishers/include/fuse_publishers/pose_2d_publisher.h index f1c78fa0e..9f6ecf436 100644 --- a/fuse_publishers/include/fuse_publishers/pose_2d_publisher.h +++ b/fuse_publishers/include/fuse_publishers/pose_2d_publisher.h @@ -97,7 +97,7 @@ namespace fuse_publishers class Pose2DPublisher : public fuse_core::AsyncPublisher { public: - FUSE_SMART_PTR_DEFINITIONS(Pose2DPublisher); + FUSE_SMART_PTR_DEFINITIONS(Pose2DPublisher) /** * @brief Constructor diff --git a/fuse_publishers/include/fuse_publishers/serialized_publisher.h b/fuse_publishers/include/fuse_publishers/serialized_publisher.h index 87720fb2c..c1767790e 100644 --- a/fuse_publishers/include/fuse_publishers/serialized_publisher.h +++ b/fuse_publishers/include/fuse_publishers/serialized_publisher.h @@ -53,7 +53,7 @@ namespace fuse_publishers class SerializedPublisher : public fuse_core::AsyncPublisher { public: - FUSE_SMART_PTR_DEFINITIONS(SerializedPublisher); + FUSE_SMART_PTR_DEFINITIONS(SerializedPublisher) /** * @brief Constructor diff --git a/fuse_publishers/include/fuse_publishers/stamped_variable_synchronizer.h b/fuse_publishers/include/fuse_publishers/stamped_variable_synchronizer.h index c2f95c4e9..cc71e44dd 100644 --- a/fuse_publishers/include/fuse_publishers/stamped_variable_synchronizer.h +++ b/fuse_publishers/include/fuse_publishers/stamped_variable_synchronizer.h @@ -67,7 +67,7 @@ template class StampedVariableSynchronizer { public: - FUSE_SMART_PTR_DEFINITIONS(StampedVariableSynchronizer); + FUSE_SMART_PTR_DEFINITIONS(StampedVariableSynchronizer) static const ros::Time TIME_ZERO; //!< Constant representing a zero timestamp /** diff --git a/fuse_tutorials/include/fuse_tutorials/beacon_publisher.h b/fuse_tutorials/include/fuse_tutorials/beacon_publisher.h index a6fcf333f..cefe128da 100644 --- a/fuse_tutorials/include/fuse_tutorials/beacon_publisher.h +++ b/fuse_tutorials/include/fuse_tutorials/beacon_publisher.h @@ -101,7 +101,7 @@ class BeaconPublisher : public fuse_core::AsyncPublisher public: // It is convenient to have some typedefs for various smart pointer types (shared, unique, etc.). A macro is provided // to make it easy to define these typedefs and ensures that the naming is consistent throughout all fuse packages. - FUSE_SMART_PTR_DEFINITIONS(BeaconPublisher); + FUSE_SMART_PTR_DEFINITIONS(BeaconPublisher) /** * @brief Default constructor diff --git a/fuse_tutorials/include/fuse_tutorials/range_constraint.h b/fuse_tutorials/include/fuse_tutorials/range_constraint.h index edea23756..7ab70d2ac 100644 --- a/fuse_tutorials/include/fuse_tutorials/range_constraint.h +++ b/fuse_tutorials/include/fuse_tutorials/range_constraint.h @@ -75,7 +75,7 @@ class RangeConstraint : public fuse_core::Constraint // There are some boilerplate types and functions that must be implemented for each constraint, such as shared pointer // typedefs and clone() methods. These are formulaic, but the derived type is needed for their proper implementation. // A few different macro options are provided to make implementing this boilerplate code easy. - FUSE_CONSTRAINT_DEFINITIONS(RangeConstraint); + FUSE_CONSTRAINT_DEFINITIONS(RangeConstraint) /** * @brief Default constructor diff --git a/fuse_tutorials/include/fuse_tutorials/range_sensor_model.h b/fuse_tutorials/include/fuse_tutorials/range_sensor_model.h index 78981cd50..ee69bf8e5 100644 --- a/fuse_tutorials/include/fuse_tutorials/range_sensor_model.h +++ b/fuse_tutorials/include/fuse_tutorials/range_sensor_model.h @@ -106,7 +106,7 @@ class RangeSensorModel : public fuse_core::AsyncSensorModel public: // It is convenient to have some typedefs for various smart pointer types (shared, unique, etc.). A macro is provided // to make it easy to define these typedefs and ensures that the naming is consistent throughout all fuse packages. - FUSE_SMART_PTR_DEFINITIONS(RangeSensorModel); + FUSE_SMART_PTR_DEFINITIONS(RangeSensorModel) /** * @brief Default constructor diff --git a/fuse_variables/include/fuse_variables/acceleration_angular_2d_stamped.h b/fuse_variables/include/fuse_variables/acceleration_angular_2d_stamped.h index 0e04e746b..3525058dc 100644 --- a/fuse_variables/include/fuse_variables/acceleration_angular_2d_stamped.h +++ b/fuse_variables/include/fuse_variables/acceleration_angular_2d_stamped.h @@ -60,7 +60,7 @@ namespace fuse_variables class AccelerationAngular2DStamped : public FixedSizeVariable<1>, public Stamped { public: - FUSE_VARIABLE_DEFINITIONS(AccelerationAngular2DStamped); + FUSE_VARIABLE_DEFINITIONS(AccelerationAngular2DStamped) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/include/fuse_variables/acceleration_angular_3d_stamped.h b/fuse_variables/include/fuse_variables/acceleration_angular_3d_stamped.h index 097b18d7e..1cbd4ab9a 100644 --- a/fuse_variables/include/fuse_variables/acceleration_angular_3d_stamped.h +++ b/fuse_variables/include/fuse_variables/acceleration_angular_3d_stamped.h @@ -61,7 +61,7 @@ namespace fuse_variables class AccelerationAngular3DStamped : public FixedSizeVariable<3>, public Stamped { public: - FUSE_VARIABLE_DEFINITIONS(AccelerationAngular3DStamped); + FUSE_VARIABLE_DEFINITIONS(AccelerationAngular3DStamped) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/include/fuse_variables/acceleration_linear_2d_stamped.h b/fuse_variables/include/fuse_variables/acceleration_linear_2d_stamped.h index a8c7156c1..c2a897873 100644 --- a/fuse_variables/include/fuse_variables/acceleration_linear_2d_stamped.h +++ b/fuse_variables/include/fuse_variables/acceleration_linear_2d_stamped.h @@ -60,7 +60,7 @@ namespace fuse_variables class AccelerationLinear2DStamped : public FixedSizeVariable<2>, public Stamped { public: - FUSE_VARIABLE_DEFINITIONS(AccelerationLinear2DStamped); + FUSE_VARIABLE_DEFINITIONS(AccelerationLinear2DStamped) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/include/fuse_variables/acceleration_linear_3d_stamped.h b/fuse_variables/include/fuse_variables/acceleration_linear_3d_stamped.h index 631622ad2..1bf5eb4f3 100644 --- a/fuse_variables/include/fuse_variables/acceleration_linear_3d_stamped.h +++ b/fuse_variables/include/fuse_variables/acceleration_linear_3d_stamped.h @@ -61,7 +61,7 @@ namespace fuse_variables class AccelerationLinear3DStamped : public FixedSizeVariable<3>, public Stamped { public: - FUSE_VARIABLE_DEFINITIONS(AccelerationLinear3DStamped); + FUSE_VARIABLE_DEFINITIONS(AccelerationLinear3DStamped) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/include/fuse_variables/fixed_size_variable.h b/fuse_variables/include/fuse_variables/fixed_size_variable.h index e71c8b363..485cdc150 100644 --- a/fuse_variables/include/fuse_variables/fixed_size_variable.h +++ b/fuse_variables/include/fuse_variables/fixed_size_variable.h @@ -62,7 +62,7 @@ template class FixedSizeVariable : public fuse_core::Variable { public: - FUSE_SMART_PTR_ALIASES_ONLY(FixedSizeVariable); + FUSE_SMART_PTR_ALIASES_ONLY(FixedSizeVariable) /** * @brief A static version of the variable size diff --git a/fuse_variables/include/fuse_variables/orientation_2d_stamped.h b/fuse_variables/include/fuse_variables/orientation_2d_stamped.h index 8f0492a87..2f5f84843 100644 --- a/fuse_variables/include/fuse_variables/orientation_2d_stamped.h +++ b/fuse_variables/include/fuse_variables/orientation_2d_stamped.h @@ -135,7 +135,7 @@ class Orientation2DLocalParameterization : public fuse_core::LocalParameterizati class Orientation2DStamped : public FixedSizeVariable<1>, public Stamped { public: - FUSE_VARIABLE_DEFINITIONS(Orientation2DStamped); + FUSE_VARIABLE_DEFINITIONS(Orientation2DStamped) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/include/fuse_variables/orientation_3d_stamped.h b/fuse_variables/include/fuse_variables/orientation_3d_stamped.h index 9d7af3858..e92f27a22 100644 --- a/fuse_variables/include/fuse_variables/orientation_3d_stamped.h +++ b/fuse_variables/include/fuse_variables/orientation_3d_stamped.h @@ -172,7 +172,7 @@ class Orientation3DLocalParameterization : public fuse_core::LocalParameterizati class Orientation3DStamped : public FixedSizeVariable<4>, public Stamped { public: - FUSE_VARIABLE_DEFINITIONS(Orientation3DStamped); + FUSE_VARIABLE_DEFINITIONS(Orientation3DStamped) /** * @brief Can be used to directly index variables in the quaternion diff --git a/fuse_variables/include/fuse_variables/point_2d_fixed_landmark.h b/fuse_variables/include/fuse_variables/point_2d_fixed_landmark.h index 1a5967e16..9b2981ba0 100644 --- a/fuse_variables/include/fuse_variables/point_2d_fixed_landmark.h +++ b/fuse_variables/include/fuse_variables/point_2d_fixed_landmark.h @@ -56,7 +56,7 @@ namespace fuse_variables class Point2DFixedLandmark : public FixedSizeVariable<2> { public: - FUSE_VARIABLE_DEFINITIONS(Point2DFixedLandmark); + FUSE_VARIABLE_DEFINITIONS(Point2DFixedLandmark) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/include/fuse_variables/point_2d_landmark.h b/fuse_variables/include/fuse_variables/point_2d_landmark.h index e6c7a6582..2c7c07d66 100644 --- a/fuse_variables/include/fuse_variables/point_2d_landmark.h +++ b/fuse_variables/include/fuse_variables/point_2d_landmark.h @@ -56,7 +56,7 @@ namespace fuse_variables class Point2DLandmark : public FixedSizeVariable<2> { public: - FUSE_VARIABLE_DEFINITIONS(Point2DLandmark); + FUSE_VARIABLE_DEFINITIONS(Point2DLandmark) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/include/fuse_variables/point_3d_fixed_landmark.h b/fuse_variables/include/fuse_variables/point_3d_fixed_landmark.h index 89c8590ae..f62837046 100644 --- a/fuse_variables/include/fuse_variables/point_3d_fixed_landmark.h +++ b/fuse_variables/include/fuse_variables/point_3d_fixed_landmark.h @@ -56,7 +56,7 @@ namespace fuse_variables class Point3DFixedLandmark : public FixedSizeVariable<3> { public: - FUSE_VARIABLE_DEFINITIONS(Point3DFixedLandmark); + FUSE_VARIABLE_DEFINITIONS(Point3DFixedLandmark) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/include/fuse_variables/point_3d_landmark.h b/fuse_variables/include/fuse_variables/point_3d_landmark.h index 06cf2458b..8773edd94 100644 --- a/fuse_variables/include/fuse_variables/point_3d_landmark.h +++ b/fuse_variables/include/fuse_variables/point_3d_landmark.h @@ -59,7 +59,7 @@ namespace fuse_variables class Point3DLandmark : public FixedSizeVariable<3> { public: - FUSE_VARIABLE_DEFINITIONS(Point3DLandmark); + FUSE_VARIABLE_DEFINITIONS(Point3DLandmark) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/include/fuse_variables/position_2d_stamped.h b/fuse_variables/include/fuse_variables/position_2d_stamped.h index bcd4916d2..f1bb46ca8 100644 --- a/fuse_variables/include/fuse_variables/position_2d_stamped.h +++ b/fuse_variables/include/fuse_variables/position_2d_stamped.h @@ -60,7 +60,7 @@ namespace fuse_variables class Position2DStamped : public FixedSizeVariable<2>, public Stamped { public: - FUSE_VARIABLE_DEFINITIONS(Position2DStamped); + FUSE_VARIABLE_DEFINITIONS(Position2DStamped) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/include/fuse_variables/position_3d_stamped.h b/fuse_variables/include/fuse_variables/position_3d_stamped.h index 5991bd81b..a87fea421 100644 --- a/fuse_variables/include/fuse_variables/position_3d_stamped.h +++ b/fuse_variables/include/fuse_variables/position_3d_stamped.h @@ -62,7 +62,7 @@ namespace fuse_variables class Position3DStamped : public FixedSizeVariable<3>, public Stamped { public: - FUSE_VARIABLE_DEFINITIONS(Position3DStamped); + FUSE_VARIABLE_DEFINITIONS(Position3DStamped) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/include/fuse_variables/stamped.h b/fuse_variables/include/fuse_variables/stamped.h index 535cf432b..60bf4e0f6 100644 --- a/fuse_variables/include/fuse_variables/stamped.h +++ b/fuse_variables/include/fuse_variables/stamped.h @@ -57,7 +57,7 @@ namespace fuse_variables class Stamped { public: - FUSE_SMART_PTR_ALIASES_ONLY(Stamped); + FUSE_SMART_PTR_ALIASES_ONLY(Stamped) /** * @brief Default constructor diff --git a/fuse_variables/include/fuse_variables/velocity_angular_2d_stamped.h b/fuse_variables/include/fuse_variables/velocity_angular_2d_stamped.h index ba90a2458..9608ea059 100644 --- a/fuse_variables/include/fuse_variables/velocity_angular_2d_stamped.h +++ b/fuse_variables/include/fuse_variables/velocity_angular_2d_stamped.h @@ -60,7 +60,7 @@ namespace fuse_variables class VelocityAngular2DStamped : public FixedSizeVariable<1>, public Stamped { public: - FUSE_VARIABLE_DEFINITIONS(VelocityAngular2DStamped); + FUSE_VARIABLE_DEFINITIONS(VelocityAngular2DStamped) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/include/fuse_variables/velocity_angular_3d_stamped.h b/fuse_variables/include/fuse_variables/velocity_angular_3d_stamped.h index d004abeae..b00ffde28 100644 --- a/fuse_variables/include/fuse_variables/velocity_angular_3d_stamped.h +++ b/fuse_variables/include/fuse_variables/velocity_angular_3d_stamped.h @@ -61,7 +61,7 @@ namespace fuse_variables class VelocityAngular3DStamped : public FixedSizeVariable<3>, public Stamped { public: - FUSE_VARIABLE_DEFINITIONS(VelocityAngular3DStamped); + FUSE_VARIABLE_DEFINITIONS(VelocityAngular3DStamped) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/include/fuse_variables/velocity_linear_2d_stamped.h b/fuse_variables/include/fuse_variables/velocity_linear_2d_stamped.h index 123bfa134..06076b07c 100644 --- a/fuse_variables/include/fuse_variables/velocity_linear_2d_stamped.h +++ b/fuse_variables/include/fuse_variables/velocity_linear_2d_stamped.h @@ -60,7 +60,7 @@ namespace fuse_variables class VelocityLinear2DStamped : public FixedSizeVariable<2>, public Stamped { public: - FUSE_VARIABLE_DEFINITIONS(VelocityLinear2DStamped); + FUSE_VARIABLE_DEFINITIONS(VelocityLinear2DStamped) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/include/fuse_variables/velocity_linear_3d_stamped.h b/fuse_variables/include/fuse_variables/velocity_linear_3d_stamped.h index ad4824066..213852196 100644 --- a/fuse_variables/include/fuse_variables/velocity_linear_3d_stamped.h +++ b/fuse_variables/include/fuse_variables/velocity_linear_3d_stamped.h @@ -61,7 +61,7 @@ namespace fuse_variables class VelocityLinear3DStamped : public FixedSizeVariable<3>, public Stamped { public: - FUSE_VARIABLE_DEFINITIONS(VelocityLinear3DStamped); + FUSE_VARIABLE_DEFINITIONS(VelocityLinear3DStamped) /** * @brief Can be used to directly index variables in the data array diff --git a/fuse_variables/test/test_fixed_size_variable.cpp b/fuse_variables/test/test_fixed_size_variable.cpp index b7db9883b..62806d3d9 100644 --- a/fuse_variables/test/test_fixed_size_variable.cpp +++ b/fuse_variables/test/test_fixed_size_variable.cpp @@ -43,7 +43,7 @@ class TestVariable : public fuse_variables::FixedSizeVariable<2> { public: - FUSE_VARIABLE_DEFINITIONS(TestVariable); + FUSE_VARIABLE_DEFINITIONS(TestVariable) TestVariable() : fuse_variables::FixedSizeVariable<2>(fuse_core::uuid::generate())