50 const std::string&
tag()
const {
return _tag;}
59 AddNode(
const std::string&
tag,
int id,
int dimension,
const std::vector<double>&
values = std::vector<double>()) :
61 _id(id), _dimension(dimension), _values(
values)
65 int id()
const {
return _id;}
67 const std::vector<double>&
values() {
return _values;}
78 AddEdge(
const std::string&
tag,
int id,
int dimension,
int id1,
int id2,
const std::vector<double>&
values,
const std::vector<double> information) :
80 _id(id), _dimension(dimension), _id1(id1), _id2(id2), _values(values), _information(information)
84 int id()
const {
return _id;}
86 int id1()
const {
return _id1;}
87 int id2()
const {
return _id2;}
88 const std::vector<double>&
values() {
return _values;}
89 const std::vector<double>&
information() {
return _information;}
112 explicit QueryState(
const std::string&
tag,
const std::vector<int>& ids = std::vector<int>()) :
116 const std::vector<int>&
ids() {
return _ids;}
124 explicit FixNode(
const std::string&
tag,
const std::vector<int>& ids) :
128 const std::vector<int>&
ids() {
return _ids;}
const std::vector< double > & values()
CommandType commandType() const
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
std::vector< double > _information
AddEdge(const std::string &tag, int id, int dimension, int id1, int id2, const std::vector< double > &values, const std::vector< double > information)
CommandNode(CommandType commandType, const std::string &tag)
const std::vector< double > & values()
std::vector< double > _values
QueryState(const std::string &tag, const std::vector< int > &ids=std::vector< int >())
SolveSate(const std::string &tag)
const std::vector< int > & ids()
FixNode(const std::string &tag, const std::vector< int > &ids)
const std::string & tag() const
const std::vector< int > & ids()
AddNode(const std::string &tag, int id, int dimension, const std::vector< double > &values=std::vector< double >())
std::vector< double > _values
const std::vector< double > & information()