Skip to content
Snippets Groups Projects
Commit 36e99ac2 authored by Médéric Fourmy's avatar Médéric Fourmy
Browse files

Add time tolerance to processor pose

parent 1b182ee3
No related branches found
No related tags found
3 merge requests!39release after RAL,!38After 2nd RAL submission,!29Resolve "gtest imu and mocap"
...@@ -101,6 +101,7 @@ class ImuMocapFusion_Test : public testing::Test ...@@ -101,6 +101,7 @@ class ImuMocapFusion_Test : public testing::Test
Vector7d extr; extr << 0,0,0, 0,0,0,1; Vector7d extr; extr << 0,0,0, 0,0,0,1;
sensor_pose_ = problem_->installSensor("SensorPose", "pose", extr, intr_sp); sensor_pose_ = problem_->installSensor("SensorPose", "pose", extr, intr_sp);
auto params_proc = std::make_shared<ParamsProcessorPose>(); auto params_proc = std::make_shared<ParamsProcessorPose>();
params_proc->time_tolerance = 0.0005;
auto proc_pose = problem_->installProcessor("ProcessorPose", "pose", sensor_pose_, params_proc); auto proc_pose = problem_->installProcessor("ProcessorPose", "pose", sensor_pose_, params_proc);
// somehow by default the sensor extrinsics is fixed // somehow by default the sensor extrinsics is fixed
sensor_pose_->unfixExtrinsics(); sensor_pose_->unfixExtrinsics();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment