From e6b814b038b64264ed88b8c73ccd98a76ca62ce9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu> Date: Tue, 8 Nov 2022 17:30:04 +0100 Subject: [PATCH] remove eclipse autogenerated (file, author...) --- demos/hello_wolf/hello_wolf.cpp | 20 +++---------------- demos/hello_wolf/hello_wolf_autoconf.cpp | 7 ------- demos/hello_wolf/landmark_point_2d.cpp | 6 ------ src/capture/capture_motion.cpp | 6 ------ src/processor/processor_diff_drive.cpp | 6 ------ src/processor/processor_tracker_landmark.cpp | 6 ------ src/processor/track_matrix.cpp | 6 ------ src/sensor/sensor_diff_drive.cpp | 8 +------- .../local_parametrization_homogeneous.cpp | 6 ------ .../dummy/processor_tracker_feature_dummy.cpp | 6 ------ .../processor_tracker_landmark_dummy.cpp | 6 ------ test/gtest_factor_absolute.cpp | 6 ------ test/gtest_factor_autodiff_distance_3d.cpp | 6 ------ test/gtest_factor_block_difference.cpp | 8 +------- test/gtest_factor_diff_drive.cpp | 16 +++++---------- test/gtest_factor_pose_2d.cpp | 6 ------ test/gtest_factor_pose_3d.cpp | 6 ------ test/gtest_local_param.cpp | 6 ------ test/gtest_logging.cpp | 6 ------ test/gtest_map_yaml.cpp | 6 ------ test/gtest_processor_odom_3d.cpp | 6 ------ test/gtest_rotation.cpp | 6 ------ test/gtest_sensor_diff_drive.cpp | 12 +++-------- test/gtest_track_matrix.cpp | 6 ------ 24 files changed, 13 insertions(+), 166 deletions(-) diff --git a/demos/hello_wolf/hello_wolf.cpp b/demos/hello_wolf/hello_wolf.cpp index 6eb046afc..6a9773693 100644 --- a/demos/hello_wolf/hello_wolf.cpp +++ b/demos/hello_wolf/hello_wolf.cpp @@ -19,20 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file hello_wolf.cpp - * - * Created on: Dec 1, 2017 -- two months exactly after Oct-1st, we still have 4 political prisoners. - * - * ### - * ## ## - * ### - * ## ## - * ## ## - * - * \author: jsola - */ - // wolf core includes #include "../../include/core/ceres_wrapper/solver_ceres.h" @@ -130,7 +116,7 @@ int main() // sensor odometer 2d ParamsSensorOdomPtr intrinsics_odo = std::make_shared<ParamsSensorOdom>(); - SpecSensorComposite priors_odo = {{'P',SpecStateSensor("StatePoint2d", Vector2d::Zero())}, + SpecStateSensorComposite priors_odo = {{'P',SpecStateSensor("StatePoint2d", Vector2d::Zero())}, {'O',SpecStateSensor("StateAngle", Vector1d::Zero())}}; SensorBasePtr sensor_odo = SensorBase::emplace<SensorOdom2d>(problem->getHardware(), intrinsics_odo, @@ -149,7 +135,7 @@ int main() // sensor Range and Bearing ParamsSensorRangeBearingPtr intrinsics_rb = std::make_shared<ParamsSensorRangeBearing>(); - SpecSensorComposite priors_rb = {{'P',SpecStateSensor("StatePoint2d", Vector2d(1,1))}, + SpecStateSensorComposite priors_rb = {{'P',SpecStateSensor("StatePoint2d", Vector2d(1,1))}, {'O',SpecStateSensor("StateAngle", Vector1d::Zero())}}; intrinsics_rb->noise_range_metres_std = 0.1; intrinsics_rb->noise_bearing_degrees_std = 1.0; @@ -165,7 +151,7 @@ int main() // initialize TimeStamp t(0.0); // t : 0.0 - SpecComposite prior; + SpecStateComposite prior; prior.emplace('P',SpecState("StatePoint2d", Vector2d::Zero(), "factor", Vector2d::Constant(sqrt(0.1)))); prior.emplace('O',SpecState("StateAngle", Vector1d::Zero(), "factor", Vector1d::Constant(sqrt(0.1)))); FrameBasePtr KF1 = problem->setPrior(prior, t); // KF1 : (0,0,0) diff --git a/demos/hello_wolf/hello_wolf_autoconf.cpp b/demos/hello_wolf/hello_wolf_autoconf.cpp index b8cc00e1e..ae386c731 100644 --- a/demos/hello_wolf/hello_wolf_autoconf.cpp +++ b/demos/hello_wolf/hello_wolf_autoconf.cpp @@ -19,13 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file hello_wolf_autoconf.cpp - * - * Created on: Jul 16, 2019 - * \author: jsola - */ - // wolf core includes #include "core/ceres_wrapper/solver_ceres.h" diff --git a/demos/hello_wolf/landmark_point_2d.cpp b/demos/hello_wolf/landmark_point_2d.cpp index 2eee6e3b8..8a741637a 100644 --- a/demos/hello_wolf/landmark_point_2d.cpp +++ b/demos/hello_wolf/landmark_point_2d.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file landmark_point_2d.cpp - * - * Created on: Dec 4, 2017 - * \author: jsola - */ #include "landmark_point_2d.h" #include "core/state_block/state_block_derived.h" diff --git a/src/capture/capture_motion.cpp b/src/capture/capture_motion.cpp index 3e15c1af8..d1310a3d2 100644 --- a/src/capture/capture_motion.cpp +++ b/src/capture/capture_motion.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file capture_motion.cpp - * - * Created on: Oct 14, 2017 - * \author: jsola - */ #include "core/capture/capture_motion.h" diff --git a/src/processor/processor_diff_drive.cpp b/src/processor/processor_diff_drive.cpp index 269a65b44..fe151eb5c 100644 --- a/src/processor/processor_diff_drive.cpp +++ b/src/processor/processor_diff_drive.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file processor_diff_drive.cpp - * - * Created on: Jul 22, 2019 - * \author: jsola - */ #include "core/processor/processor_diff_drive.h" diff --git a/src/processor/processor_tracker_landmark.cpp b/src/processor/processor_tracker_landmark.cpp index 4bda28a91..71edc63d0 100644 --- a/src/processor/processor_tracker_landmark.cpp +++ b/src/processor/processor_tracker_landmark.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file processor_tracker_landmark.cpp - * - * Created on: Apr 7, 2016 - * \author: jvallve - */ #include "core/processor/processor_tracker_landmark.h" #include "core/map/map_base.h" diff --git a/src/processor/track_matrix.cpp b/src/processor/track_matrix.cpp index ed4215d12..045e751bc 100644 --- a/src/processor/track_matrix.cpp +++ b/src/processor/track_matrix.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file track_matrix.cpp - * - * Created on: Mar 24, 2018 - * \author: jsola - */ #include "core/processor/track_matrix.h" diff --git a/src/sensor/sensor_diff_drive.cpp b/src/sensor/sensor_diff_drive.cpp index b17b318f9..ec5947bb6 100644 --- a/src/sensor/sensor_diff_drive.cpp +++ b/src/sensor/sensor_diff_drive.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file sensor_diff_drive.cpp - * - * Created on: Jul 22, 2019 - * \author: jsola - */ #include "core/sensor/sensor_diff_drive.h" #include "core/state_block/state_block_derived.h" @@ -34,7 +28,7 @@ namespace wolf { SensorDiffDrive::SensorDiffDrive(ParamsSensorDiffDrivePtr _params, - const SpecSensorComposite& _priors) : + const SpecStateSensorComposite& _priors) : SensorBase("SensorDiffDrive", 2, _params, diff --git a/src/state_block/local_parametrization_homogeneous.cpp b/src/state_block/local_parametrization_homogeneous.cpp index c6e90d7a5..2c91ebe38 100644 --- a/src/state_block/local_parametrization_homogeneous.cpp +++ b/src/state_block/local_parametrization_homogeneous.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/* - * \file local_parametrization_homogeneous.cpp - * - * Created on: 24/02/2016 - * Author: jsola - */ #include "core/state_block/local_parametrization_homogeneous.h" #include "iostream" diff --git a/test/dummy/processor_tracker_feature_dummy.cpp b/test/dummy/processor_tracker_feature_dummy.cpp index d839c4cbe..20aa49167 100644 --- a/test/dummy/processor_tracker_feature_dummy.cpp +++ b/test/dummy/processor_tracker_feature_dummy.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file processor_tracker_feature_dummy.cpp - * - * Created on: Apr 11, 2016 - * \author: jvallve - */ #include "processor_tracker_feature_dummy.h" #include "core/feature/feature_base.h" diff --git a/test/dummy/processor_tracker_landmark_dummy.cpp b/test/dummy/processor_tracker_landmark_dummy.cpp index 4ae33e98d..16a1b03cd 100644 --- a/test/dummy/processor_tracker_landmark_dummy.cpp +++ b/test/dummy/processor_tracker_landmark_dummy.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file processor_tracker_landmark_dummy.cpp - * - * Created on: Apr 12, 2016 - * \author: jvallve - */ #include "processor_tracker_landmark_dummy.h" #include "core/landmark/landmark_base.h" diff --git a/test/gtest_factor_absolute.cpp b/test/gtest_factor_absolute.cpp index 7019025dc..82e17f02f 100644 --- a/test/gtest_factor_absolute.cpp +++ b/test/gtest_factor_absolute.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file gtest_factor_absolute.cpp - * - * Created on: Dec 9, 2017 - * \author: datchuth - */ #include "core/ceres_wrapper/solver_ceres.h" #include "core/utils/utils_gtest.h" diff --git a/test/gtest_factor_autodiff_distance_3d.cpp b/test/gtest_factor_autodiff_distance_3d.cpp index e468787a9..678c9401c 100644 --- a/test/gtest_factor_autodiff_distance_3d.cpp +++ b/test/gtest_factor_autodiff_distance_3d.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file gtest_factor_autodiff_distance_3d.cpp - * - * Created on: Apr 10, 2018 - * \author: jsola - */ #include "core/factor/factor_distance_3d.h" #include "core/ceres_wrapper/solver_ceres.h" diff --git a/test/gtest_factor_block_difference.cpp b/test/gtest_factor_block_difference.cpp index 5d04c78a8..300c02ff4 100644 --- a/test/gtest_factor_block_difference.cpp +++ b/test/gtest_factor_block_difference.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file gtest_factor_block_difference.cpp - * - * Created on: Feb 29, 2020 - * \author: mfourmy - */ #include "core/utils/utils_gtest.h" @@ -68,7 +62,7 @@ class FixtureFactorBlockDifference : public testing::Test TimeStamp t1(1); VectorComposite state_zero = problem_->stateZero(); - SpecComposite priors; + SpecStateComposite priors; priors.emplace('P', SpecState("StatePoint3d", state_zero.vector("P"), "fix")); priors.emplace('O', SpecState("StateQuaternion", state_zero.vector("O"), "fix")); priors.emplace('V', SpecState("StateVector3d", state_zero.vector("V"), "fix")); diff --git a/test/gtest_factor_diff_drive.cpp b/test/gtest_factor_diff_drive.cpp index 411a05763..f504266da 100644 --- a/test/gtest_factor_diff_drive.cpp +++ b/test/gtest_factor_diff_drive.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file gtest_factor_diff_drive.cpp - * - * Created on: Jul 24, 2019 - * \author: jsola - */ #include "core/utils/utils_gtest.h" @@ -165,7 +159,7 @@ class FactorDiffDriveTest : public testing::Test params_sen->ticks_per_wheel_revolution = 100; // DO NOT MODIFY THESE VALUES !!! params_sen->name = "cool sensor"; - SpecSensorComposite priors; + SpecStateSensorComposite priors; priors.emplace('P',SpecStateSensor("StatePoint2d", Vector2d::Zero())); //default "fix", not dynamic priors.emplace('O',SpecStateSensor("StateAngle", Vector1d::Zero())); //default "fix", not dynamic priors.emplace('I',SpecStateSensor("StateParams3", Vector3d::Ones(), "initial_guess")); // not dynamic @@ -461,7 +455,7 @@ TEST(FactorDiffDrive, preintegrate_and_solve_sensor_intrinsics_gt) params_sen->ticks_per_wheel_revolution = 100; // DO NOT MODIFY THESE VALUES !!! params_sen->name = "cool sensor"; - SpecSensorComposite prior_sen; + SpecStateSensorComposite prior_sen; prior_sen.emplace('P',SpecStateSensor("StatePoint2d", Vector2d::Zero())); //default "fix", not dynamic prior_sen.emplace('O',SpecStateSensor("StateAngle", Vector1d::Zero())); //default "fix", not dynamic prior_sen.emplace('I',SpecStateSensor("StateParams3", Vector3d::Ones(), "initial_guess")); // not dynamic @@ -491,7 +485,7 @@ TEST(FactorDiffDrive, preintegrate_and_solve_sensor_intrinsics_gt) Vector3d x2(3.0, -3.0, 0.0); // set prior at t=0 and processor origin - SpecComposite problem_prior; + SpecStateComposite problem_prior; problem_prior.emplace('P', SpecState("StatePoint2d", Vector2d::Zero(), "factor", Vector2d::Constant(0.1))); problem_prior.emplace('O', SpecState("StateAngle", Vector1d::Zero(), "factor", Vector1d::Constant(0.1))); auto F0 = problem->setPrior(problem_prior, t); @@ -600,7 +594,7 @@ TEST(FactorDiffDrive, preintegrate_and_solve_sensor_intrinsics) params_sen->ticks_per_wheel_revolution = 100; // DO NOT MODIFY THESE VALUES !!! params_sen->name = "cool sensor"; - SpecSensorComposite prior_sen; + SpecStateSensorComposite prior_sen; prior_sen.emplace('P',SpecStateSensor("StatePoint2d", Vector2d::Zero())); //default "fix", not dynamic prior_sen.emplace('O',SpecStateSensor("StateAngle", Vector1d::Zero())); //default "fix", not dynamic prior_sen.emplace('I',SpecStateSensor("StateParams3", Vector3d::Ones(), "initial_guess")); // not dynamic @@ -629,7 +623,7 @@ TEST(FactorDiffDrive, preintegrate_and_solve_sensor_intrinsics) Vector3d x2(3.0, -3.0, 0.0); // set prior at t=0 and processor origin - SpecComposite problem_prior; + SpecStateComposite problem_prior; problem_prior.emplace('P', SpecState("StatePoint2d", Vector2d::Zero(), "factor", Vector2d::Constant(1))); problem_prior.emplace('O', SpecState("StateAngle", Vector1d::Zero(), "factor", Vector1d::Constant(1))); auto F0 = problem->setPrior(problem_prior, t); diff --git a/test/gtest_factor_pose_2d.cpp b/test/gtest_factor_pose_2d.cpp index f818f97ee..615870535 100644 --- a/test/gtest_factor_pose_2d.cpp +++ b/test/gtest_factor_pose_2d.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file gtest_factor_pose_2d.cpp - * - * Created on: Mar 30, 2017 - * \author: jsola - */ #include "core/ceres_wrapper/solver_ceres.h" #include "core/factor/factor_pose_2d.h" diff --git a/test/gtest_factor_pose_3d.cpp b/test/gtest_factor_pose_3d.cpp index 718ca9809..a8eaf1cf3 100644 --- a/test/gtest_factor_pose_3d.cpp +++ b/test/gtest_factor_pose_3d.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file gtest_factor_fix_3d.cpp - * - * Created on: Mar 30, 2017 - * \author: jsola - */ #include "core/utils/utils_gtest.h" #include "core/ceres_wrapper/solver_ceres.h" diff --git a/test/gtest_local_param.cpp b/test/gtest_local_param.cpp index fcab27747..05f5276f9 100644 --- a/test/gtest_local_param.cpp +++ b/test/gtest_local_param.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/* - * \file test_local_param_quat.cpp - * - * Created on: Feb 19, 2016 - * author: jsola - */ #include "core/utils/utils_gtest.h" diff --git a/test/gtest_logging.cpp b/test/gtest_logging.cpp index d67ab498b..1998d3260 100644 --- a/test/gtest_logging.cpp +++ b/test/gtest_logging.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file test_wolf_logging.cpp - * - * Created on: Oct 28, 2016 - * \author: Jeremie Deray - */ #include "core/common/wolf.h" #include "core/utils/utils_gtest.h" diff --git a/test/gtest_map_yaml.cpp b/test/gtest_map_yaml.cpp index ebc8ddcb5..7bd933dfb 100644 --- a/test/gtest_map_yaml.cpp +++ b/test/gtest_map_yaml.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file test_map_yaml.cpp - * - * Created on: Jul 27, 2016 - * \author: jsola - */ #include "core/utils/utils_gtest.h" #include "core/common/wolf.h" diff --git a/test/gtest_processor_odom_3d.cpp b/test/gtest_processor_odom_3d.cpp index 1a1a7f834..16b34ac8f 100644 --- a/test/gtest_processor_odom_3d.cpp +++ b/test/gtest_processor_odom_3d.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file gtest_odom_3d.cpp - * - * Created on: Nov 11, 2016 - * \author: jsola - */ #include "core/utils/utils_gtest.h" diff --git a/test/gtest_rotation.cpp b/test/gtest_rotation.cpp index 7ec49fdee..d9f9244df 100644 --- a/test/gtest_rotation.cpp +++ b/test/gtest_rotation.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file gtest_rotation.cpp - * - * Created on: Oct 13, 2016 - * \author: AtDinesh - */ //Eigen #include <Eigen/Geometry> diff --git a/test/gtest_sensor_diff_drive.cpp b/test/gtest_sensor_diff_drive.cpp index 72e91fee2..18a56846b 100644 --- a/test/gtest_sensor_diff_drive.cpp +++ b/test/gtest_sensor_diff_drive.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file gtest_sensor_diff_drive.cpp - * - * Created on: Jul 22, 2019 - * \author: jsola - */ #include "core/sensor/sensor_diff_drive.h" #include "core/sensor/factory_sensor.h" @@ -45,7 +39,7 @@ TEST(SensorDiffDrive, constructor_priors) { auto param = std::make_shared<ParamsSensorDiffDrive>(); - SpecSensorComposite priors{{'P',SpecStateSensor("StatePoint2d", p_state)}, //default "fix", not dynamic + SpecStateSensorComposite priors{{'P',SpecStateSensor("StatePoint2d", p_state)}, //default "fix", not dynamic {'O',SpecStateSensor("StateAngle", o_state)}, //default "fix", not dynamic {'I',SpecStateSensor("StateParams3", i_state)}}; //default "fix", not dynamic @@ -102,7 +96,7 @@ TEST(SensorDiffDrive, getParams) param->ticks_per_wheel_revolution = 400; param->ticks_std_factor = 2; - SpecSensorComposite priors{{'P',SpecStateSensor("StatePoint2d", p_state)}, //default "fix", not dynamic + SpecStateSensorComposite priors{{'P',SpecStateSensor("StatePoint2d", p_state)}, //default "fix", not dynamic {'O',SpecStateSensor("StateAngle", o_state)}, //default "fix", not dynamic {'I',SpecStateSensor("StateParams3", i_state)}}; //default "fix", not dynamic @@ -121,7 +115,7 @@ TEST(SensorDiffDrive, computeNoiseCov) param->ticks_per_wheel_revolution = 400; param->ticks_std_factor = 2; - SpecSensorComposite priors{{'P',SpecStateSensor("StatePoint2d", p_state)}, //default "fix", not dynamic + SpecStateSensorComposite priors{{'P',SpecStateSensor("StatePoint2d", p_state)}, //default "fix", not dynamic {'O',SpecStateSensor("StateAngle", o_state)}, //default "fix", not dynamic {'I',SpecStateSensor("StateParams3", i_state)}}; //default "fix", not dynamic diff --git a/test/gtest_track_matrix.cpp b/test/gtest_track_matrix.cpp index aabfada74..9177eb1f5 100644 --- a/test/gtest_track_matrix.cpp +++ b/test/gtest_track_matrix.cpp @@ -19,12 +19,6 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // //--------LICENSE_END-------- -/** - * \file gtest_track_matrix.cpp - * - * Created on: Mar 24, 2018 - * \author: jsola - */ #include "core/utils/utils_gtest.h" -- GitLab