updated to the new gtsam version.

release/4.3a0
Vadim Indelman 2013-08-23 18:15:28 +00:00
parent 6ab49e95da
commit e6d5c2bf73
1 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@ using namespace gtsam;
// Disabled this test because it is currently failing - remove the lines "#if 0" and "#endif" below // Disabled this test because it is currently failing - remove the lines "#if 0" and "#endif" below
// to reenable the test. // to reenable the test.
#if 0 //#if 0
/* ************************************************************************* */ /* ************************************************************************* */
LieVector predictionError(const Pose2& org1_T_org2, const gtsam::Key& key, const TransformBtwRobotsUnaryFactorEM<gtsam::Pose2>& factor){ LieVector predictionError(const Pose2& org1_T_org2, const gtsam::Key& key, const TransformBtwRobotsUnaryFactorEM<gtsam::Pose2>& factor){
gtsam::Values values; gtsam::Values values;
@ -211,10 +211,10 @@ TEST( TransformBtwRobotsUnaryFactorEM, Optimize)
values.insert(key, gtsam::Pose2()); values.insert(key, gtsam::Pose2());
gtsam::NonlinearFactorGraph graph; gtsam::NonlinearFactorGraph graph;
graph.add(g1); graph.push_back(g1);
graph.add(g2); graph.push_back(g2);
graph.add(g3); graph.push_back(g3);
graph.add(g4); graph.push_back(g4);
gtsam::GaussNewtonParams params; gtsam::GaussNewtonParams params;
gtsam::GaussNewtonOptimizer optimizer(graph, values, params); gtsam::GaussNewtonOptimizer optimizer(graph, values, params);
@ -332,7 +332,7 @@ TEST( TransformBtwRobotsUnaryFactorEM, Jacobian)
// //
//} //}
#endif //#endif
/* ************************************************************************* */ /* ************************************************************************* */
int main() { TestResult tr; return TestRegistry::runAllTests(tr);} int main() { TestResult tr; return TestRegistry::runAllTests(tr);}