From 6185351d285e1572499cfac4cbe86d50ea91d882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Sol=C3=A0?= <jsola@iri.upc.edu> Date: Fri, 9 Mar 2018 23:36:06 +0100 Subject: [PATCH] Remove constructor and destructor from Params structs --- src/processor_IMU.h | 12 ------------ src/processor_loopclosure_base.h | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/processor_IMU.h b/src/processor_IMU.h index 1dab8cd15..911d50f8c 100644 --- a/src/processor_IMU.h +++ b/src/processor_IMU.h @@ -17,18 +17,6 @@ struct ProcessorParamsIMU : public ProcessorParamsBase Scalar dist_traveled = 5; Scalar angle_turned = 0.5; bool voting_active = false; //IMU will not vote for key Frames to be created - - -// ProcessorParamsIMU() : -// max_time_span(0.5), -// max_buff_length(10), -// dist_traveled(5), -// angle_turned(.5), -// voting_active(false) -// { -// type = "IMU"; -// name = ""; -// } }; WOLF_PTR_TYPEDEFS(ProcessorIMU); diff --git a/src/processor_loopclosure_base.h b/src/processor_loopclosure_base.h index fa3af48e3..1dd3becb3 100644 --- a/src/processor_loopclosure_base.h +++ b/src/processor_loopclosure_base.h @@ -8,7 +8,7 @@ namespace wolf{ struct ProcessorParamsLoopClosure : public ProcessorParamsBase { - virtual ~ProcessorParamsLoopClosure() = default; +// virtual ~ProcessorParamsLoopClosure() = default; // add neccesery parameters for loop closure initialisation here and initialize // them in constructor -- GitLab