27 #ifndef ABSTRACT_SLAM_INTERFACE_H 28 #define ABSTRACT_SLAM_INTERFACE_H 50 virtual bool addNode(
const std::string& tag,
int id,
int dimension,
const std::vector<double>&
values) = 0;
63 virtual bool addEdge(
const std::string& tag,
int id,
int dimension,
int v1,
int v2,
const std::vector<double>& measurement,
const std::vector<double>& information) = 0;
70 virtual bool fixNode(
const std::vector<int>& nodes) = 0;
77 virtual bool queryState(
const std::vector<int>& nodes) = 0;
virtual bool fixNode(const std::vector< int > &nodes)=0
virtual bool queryState(const std::vector< int > &nodes)=0
Protocol The SLAM executable accepts such as solving the and retrieving or vertices in the explicitly state the reprensentation poses are represented by poses by VERTEX_XYZRPY In the Quaternions and other representations could be but note that it is up to the SLAM algorithm to choose the internal representation of the angles The keyword is followed by a unique vertex ID and an optional initialization of the values
virtual bool solveState()=0
interface for communicating with the SLAM algorithm
virtual bool addNode(const std::string &tag, int id, int dimension, const std::vector< double > &values)=0
virtual bool addEdge(const std::string &tag, int id, int dimension, int v1, int v2, const std::vector< double > &measurement, const std::vector< double > &information)=0