Skip to content
Snippets Groups Projects
Commit cf46655a authored by Dinesh Atchuthan's avatar Dinesh Atchuthan
Browse files

test dDv_dwb

parent 872adbc8
No related branches found
No related tags found
No related merge requests found
......@@ -146,6 +146,18 @@ TEST_F(ProcessorIMU_jacobians_bias, dDp_dwb)
"\ndDp_dwb_a - dDv_dab_ : \n" << bias_jac.dDp_dwb_ - dDp_dwb << std::endl;
}
TEST_F(ProcessorIMU_jacobians_bias, dDv_dwb_)
{
using namespace wolf;
Eigen::Matrix3s dDv_dwb;
for(int i=0;i<3;i++)
dDv_dwb.block<3,1>(0,i) = (bias_jac.Deltas_noisy_vect_(i+3).tail(3) - bias_jac.Delta0_.tail(3))/ddelta_bias;
EXPECT_TRUE((dDv_dwb - bias_jac.dDv_dwb_).isMuchSmallerThan(1,0.000001)) << "dDv_dwb : \n" << dDv_dwb << "\n bias_jac.dDv_dwb_ :\n" << bias_jac.dDv_dwb_ <<
"\ndDv_dwb_a - dDv_dwb_ : \n" << bias_jac.dDv_dwb_ - dDv_dwb << std::endl;
}
int main(int argc, char **argv)
{
using namespace wolf;
......
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