diff --git a/demos/hello_wolf/hello_wolf.cpp b/demos/hello_wolf/hello_wolf.cpp index 6eb046afc12489d0799680cbc82cf8de5f1163bf..6a97736930a36dc8ef9c35aad8f16e64ea813b8b 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 b8cc00e1ef80a7a4c1e0d9c1d3b0753608b33653..ae386c73195b0978db3d023634af2dbdd56a009b 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 2eee6e3b8d43638a010b7959d700b7d1b4fa05a0..8a741637a8387941436bed89fc34d66985646a43 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 3e15c1af8ce3eaff8e3bed47f04ce68b498ba67a..d1310a3d2e8658decc19ead49d7b719b343d5ed8 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 269a65b44c5e9f4b68f699d79df64883d151f4b2..fe151eb5cb61c9bbc1ae2be8b7defa0aacbfa889 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 4bda28a91680b0f8b171c49876f5882da608b376..71edc63d0cc6ad97ffdfbe07c1b930cbb0df5fac 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 ed4215d12e13403c135b433c440f7f1493612bca..045e751bcdf20f60b6cf123871808c3c06010b87 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 b17b318f9be4506f9eecbf27669defd2b3fd282c..ec5947bb6e2c3c5d557142abf8cc1a6bc3382d83 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 c6e90d7a5b91de8a6db43b29cdb292078ba655b4..2c91ebe38c287ff47442da21f405f878c0e3bf83 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 d839c4cbeb25e8e1a6471ac1d6aca781f9bb4041..20aa4916782ab47bfa61421c2d2f816387fe5b47 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 4ae33e98db23cee63948cc3a76e121f66c3e75c7..16a1b03cd9cd9574569ea4a09d19b0e9e2a4d435 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 7019025dc74d3db5d2c668d5d7ea7f55f234e31f..82e17f02fd966f27b09897ceac054ad449c40025 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 e468787a9fda0decf01374f44018887fb59c04b9..678c9401c4d266088c425008a0ab8480583900f8 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 5d04c78a8591b9cf413d47e9d023dcf3d31844f6..300c02ff4ab983b7f454ea8002cd04555f87f4f5 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 411a057635d27c7ac164536525a34ae28caf8268..f504266da65df16ffbf9dc32acc43aa6de995284 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 f818f97ee35b288943e3c989bb12933c96074d61..615870535950b2816742dca84843420e3d617765 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 718ca9809fb860ae4b1b431d66b798e3f37210f6..a8eaf1cf31347e0febc1d7345ff7dd26254d385a 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 fcab277470397448464745ff1031d60fa335bf55..05f5276f9d56708346f299e0923226c73b3d5ff2 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 d67ab498bd30238c90c082d9536a37bd4014d069..1998d3260c5552133fc08ac72cfcef9e4866ac25 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 ebc8ddcb56672022b858f5b93620e32b182bea7b..7bd933dfb4eab2510e9a0a99c3b75311f3025583 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 1a1a7f834b1a4c2ff074c170b7c25620e14e3708..16b34ac8fa5d2ce978e5051e0d4bd9b3edfff45f 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 7ec49fdee46c118d8d7907e17a43f5a2c598e661..d9f9244df7f68bf7403cbeb52a977e5c8164b49a 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 72e91fee29beb4e01777332d72371a5d338fd682..18a56846b52e00ee39b4202d6c715f59f0675151 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 aabfada74ff97166ff7468ffe48cd8c46db4034f..9177eb1f5dc79615e122fc5ec5147a82035a31b9 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"