27#ifndef EXAMPLE_SLAM_INTERFACE_H
28#define EXAMPLE_SLAM_INTERFACE_H
47 bool addNode(
const std::string& tag,
int id,
int dimension,
48 const std::vector<double>& values);
50 bool addEdge(
const std::string& tag,
int id,
int dimension,
int v1,
int v2,
51 const std::vector<double>& measurement,
52 const std::vector<double>& information);
54 bool fixNode(
const std::vector<int>& nodes);
56 bool queryState(
const std::vector<int>& nodes);
63 std::map<int, std::pair<std::string, std::vector<double> > >
example for an interface to a SLAM algorithm
bool addNode(const std::string &tag, int id, int dimension, const std::vector< double > &values)
std::map< int, std::pair< std::string, std::vector< double > > > _vertices
bool addEdge(const std::string &tag, int id, int dimension, int v1, int v2, const std::vector< double > &measurement, const std::vector< double > &information)
bool fixNode(const std::vector< int > &nodes)
bool queryState(const std::vector< int > &nodes)
interface for communicating with the SLAM algorithm