Skip to content
Snippets Groups Projects
Commit 14616cf9 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

fixed test of constraining segment

parent df464589
No related branches found
No related tags found
1 merge request!243Constraint prior sensor params
......@@ -71,7 +71,7 @@ TEST(ConstraintBlockAbs, ctr_block_abs_p)
TEST(ConstraintBlockAbs, ctr_block_abs_p_tail2)
{
FeatureBasePtr fea0 = cap0->addFeature(std::make_shared<FeatureBase>("POSITION TAIL 2", pose10.tail<2>(), data_cov.bottomRightCorner<2,2>()));
FeatureBasePtr fea0 = cap0->addFeature(std::make_shared<FeatureBase>("POSITION TAIL 2", pose10.segment<2>(1), data_cov.bottomRightCorner<2,2>()));
fea0->addConstraint(std::make_shared<ConstraintBlockAbsolute>(fea0->getFramePtr()->getPPtr(),1,2));
// Unfix frame 0, perturb frm0
......
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