Skip to content

Commit

Permalink
fixed more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoussan committed Jun 7, 2024
1 parent 5e91f37 commit 1ab6467
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class RosGraphLocalizerParameterReaderTest : public ::testing::Test {
};

TEST_F(RosGraphLocalizerParameterReaderTest, RosGraphLocalizerNodeletParams) {
EXPECT_EQ(params_.max_graph_vio_state_buffer_size, 30);
EXPECT_EQ(params_.max_graph_vio_state_buffer_size, 10);
EXPECT_EQ(params_.max_vl_matched_projections_buffer_size, 10);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ TEST_F(RosPoseExtrapolatorParameterReaderTest, RosPoseExtrapolatorParams) {
gtsam::Point3(0.0386, 0.0247, -0.01016));
EXPECT_MATRIX_NEAR(params_.imu_integrator.body_T_imu, expected_body_T_imu, 1e-6);
EXPECT_NEAR(params_.imu_integrator.gyro_sigma, 0.00001, 1e-6);
EXPECT_NEAR(params_.imu_integrator.accel_sigma, 0.00015, 1e-6);
EXPECT_NEAR(params_.imu_integrator.accel_bias_sigma, 0.0077, 1e-6);
EXPECT_NEAR(params_.imu_integrator.gyro_bias_sigma, 0.0001, 1e-6);
EXPECT_NEAR(params_.imu_integrator.accel_sigma, 0.0005, 1e-6);
EXPECT_NEAR(params_.imu_integrator.accel_bias_sigma, 0.0005, 1e-6);
EXPECT_NEAR(params_.imu_integrator.gyro_bias_sigma, 0.0000035, 1e-6);
EXPECT_NEAR(params_.imu_integrator.integration_variance, 0.0001, 1e-6);
EXPECT_NEAR(params_.imu_integrator.bias_acc_omega_int, 0.000015, 1e-6);
EXPECT_NEAR(params_.imu_integrator.bias_acc_omega_int, 0.00015, 1e-6);
// IMU filter
EXPECT_EQ(params_.imu_integrator.filter.quiet_accel, "ButterO3S125Lp3N33_33");
EXPECT_EQ(params_.imu_integrator.filter.quiet_ang_vel, "ButterO1S125Lp3N33_33");
Expand Down

0 comments on commit 1ab6467

Please sign in to comment.