Wrap few more missing methods on ISAM2 and NonlinearFactorGraph

release/4.3a0
Ellon Mendes 2015-11-23 23:22:18 +01:00
parent 7576dc359d
commit bc73a5132a
2 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,7 @@ class_<ISAM2Result>("ISAM2Result")
Values (ISAM2::*calculateEstimate_0)() const = &ISAM2::calculateEstimate;
class_<ISAM2>("ISAM2")
.def(init<const ISAM2Params &>())
// TODO(Ellon): wrap all optional values of update
.def("update",&ISAM2::update, update_overloads())
.def("calculate_estimate", calculateEstimate_0)

View File

@ -38,6 +38,8 @@ void exportNonlinearFactorGraph(){
.def("size",&NonlinearFactorGraph::size)
.def("push_back", push_back1)
.def("add", add1)
.def("resize", &NonlinearFactorGraph::resize)
.def("empty", &NonlinearFactorGraph::empty)
;
}