2013-11-19 12:28:38 +08:00
|
|
|
#include <boost/python.hpp>
|
|
|
|
|
#include <gtsam/slam/BetweenFactor.h>
|
|
|
|
|
|
|
|
|
|
using namespace boost::python;
|
|
|
|
|
using namespace gtsam;
|
|
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
template<class VALUE>
|
2013-11-20 10:30:44 +08:00
|
|
|
void exportBetweenFactor(const std::string& name){
|
2013-11-19 12:28:38 +08:00
|
|
|
class_<VALUE>(name, init<>())
|
|
|
|
|
.def(init<Key, Key, VALUE, SharedNoiseModel>())
|
|
|
|
|
;
|
|
|
|
|
}
|