Skip to content

Commit 7eb0930

Browse files
committed
Fix issue with json config in catchRBT
1 parent b38f92e commit 7eb0930

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

modules/tracker/rbt/test/catchRBT.cpp

+6-3
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,10 @@ SCENARIO("Instantiating a render-based tracker", "[rbt]")
578578
"delta_h" : 1
579579
}
580580
}
581-
]
581+
],
582+
"verbose": {
583+
"enabled": true
584+
}
582585
})JSON";
583586
const auto verifyBase = [&tracker]() {
584587
REQUIRE((tracker.getImageHeight() == 240 && tracker.getImageWidth() == 320));
@@ -590,7 +593,7 @@ SCENARIO("Instantiating a render-based tracker", "[rbt]")
590593

591594
REQUIRE((tracker.getOptimizationGain() == 1.0 && tracker.getMaxOptimizationIters() == 10));
592595
REQUIRE((tracker.getOptimizationInitialMu() == 0.5 && tracker.getOptimizationMuIterFactor() == 0.1));
593-
};
596+
};
594597
nlohmann::json j = nlohmann::json::parse(jsonLiteral);
595598
THEN("Loading configuration with trackers")
596599
{
@@ -662,7 +665,7 @@ SCENARIO("Running tracker on static synthetic sequences", "[rbt]")
662665
const auto setupScene = [&objFile](vpPanda3DRendererSet &renderer) {
663666
renderer.addNodeToScene(renderer.loadObject("object", objFile));
664667
renderer.addLight(vpPanda3DAmbientLight("ambient", vpRGBf(1.f)));
665-
};
668+
};
666669
const unsigned int n = 100;
667670
std::vector<vpHomogeneousMatrix> cTw;
668671
std::vector<vpHomogeneousMatrix> oTw;

0 commit comments

Comments
 (0)