17 lines
327 B
C++
17 lines
327 B
C++
#include <boost/python.hpp>
|
|
|
|
#define NO_IMPORT_ARRAY
|
|
#include <numpy_eigen/NumpyEigenConverter.hpp>
|
|
|
|
#include <gtsam/slam/BearingFactor.h>
|
|
|
|
using namespace boost::python;
|
|
using namespace gtsam;
|
|
|
|
using namespace std;
|
|
|
|
template<class VALUE>
|
|
void exportBearingFactor(const std::string& name){
|
|
class_<VALUE>(name, init<>())
|
|
;
|
|
} |