fix deprecated dExpInv_exp to ExpmapDerivative in simpleHeli
parent
ef2c9371a9
commit
19f823a1fa
|
|
@ -60,7 +60,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
if (H3) {
|
if (H3) {
|
||||||
Matrix D_exphxi_xi = Pose3::dExpInv_exp(h_*xik)*h_;
|
Matrix D_exphxi_xi = Pose3::ExpmapDerivative(h_*xik)*h_;
|
||||||
Matrix D_hx_xi = D_hx_gkxi * D_gkxi_exphxi * D_exphxi_xi;
|
Matrix D_hx_xi = D_hx_gkxi * D_gkxi_exphxi * D_exphxi_xi;
|
||||||
*H3 = D_hx_xi;
|
*H3 = D_hx_xi;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -57,7 +57,7 @@ TEST(Reconstruction, ExpmapInvDeriv) {
|
||||||
),
|
),
|
||||||
Vector6(Vector::Zero(6)), 1e-5
|
Vector6(Vector::Zero(6)), 1e-5
|
||||||
);
|
);
|
||||||
Matrix dExpInv = Pose3::dExpInv_exp(h*V1_g1);
|
Matrix dExpInv = Pose3::ExpmapDerivative(h*V1_g1);
|
||||||
EXPECT(assert_equal(numericalExpmap, dExpInv, 1e-2));
|
EXPECT(assert_equal(numericalExpmap, dExpInv, 1e-2));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue