13 lines
254 B
C++
13 lines
254 B
C++
|
|
#include <boost/python.hpp>
|
||
|
|
#include <gtsam/slam/BearingFactor.h>
|
||
|
|
|
||
|
|
using namespace boost::python;
|
||
|
|
using namespace gtsam;
|
||
|
|
|
||
|
|
using namespace std;
|
||
|
|
|
||
|
|
template<class VALUE>
|
||
|
|
void exposeBearingFactor(const std::string& name){
|
||
|
|
class_<VALUE>(name, init<>())
|
||
|
|
;
|
||
|
|
}
|