2013-11-19 12:28:38 +08:00
|
|
|
#include <boost/python.hpp>
|
2015-11-21 04:40:40 +08:00
|
|
|
|
|
|
|
#define NO_IMPORT_ARRAY
|
|
|
|
#include <numpy_eigen/NumpyEigenConverter.hpp>
|
|
|
|
|
2016-01-29 08:47:12 +08:00
|
|
|
#include <gtsam/sam/BearingFactor.h>
|
2013-11-19 12:28:38 +08:00
|
|
|
|
|
|
|
using namespace boost::python;
|
|
|
|
using namespace gtsam;
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
2016-01-29 08:47:12 +08:00
|
|
|
template <class VALUE>
|
|
|
|
void exportBearingFactor(const std::string& name) {
|
|
|
|
class_<VALUE>(name, init<>());
|
|
|
|
}
|