g2o
Toggle main menu visibility
Loading...
Searching...
No Matches
g2o
types
slam2d
types_slam2d.cpp
Go to the documentation of this file.
1
// g2o - General Graph Optimization
2
// Copyright (C) 2011 R. Kuemmerle, G. Grisetti, W. Burgard
3
// All rights reserved.
4
//
5
// Redistribution and use in source and binary forms, with or without
6
// modification, are permitted provided that the following conditions are
7
// met:
8
//
9
// * Redistributions of source code must retain the above copyright notice,
10
// this list of conditions and the following disclaimer.
11
// * Redistributions in binary form must reproduce the above copyright
12
// notice, this list of conditions and the following disclaimer in the
13
// documentation and/or other materials provided with the distribution.
14
//
15
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
16
// IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17
// TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
18
// PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
19
// HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
21
// TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
22
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
27
#include "
types_slam2d.h
"
28
29
#include <iostream>
30
31
#include "
g2o/core/factory.h
"
32
#include "
g2o/stuff/macros.h
"
33
34
namespace
g2o
{
35
36
G2O_REGISTER_TYPE_GROUP
(slam2d);
37
38
G2O_REGISTER_TYPE
(VERTEX_SE2,
VertexSE2
);
39
G2O_REGISTER_TYPE
(VERTEX_XY,
VertexPointXY
);
40
G2O_REGISTER_TYPE
(PARAMS_SE2OFFSET,
ParameterSE2Offset
);
41
G2O_REGISTER_TYPE
(CACHE_SE2_OFFSET,
CacheSE2Offset
);
42
G2O_REGISTER_TYPE
(EDGE_PRIOR_SE2,
EdgeSE2Prior
);
43
G2O_REGISTER_TYPE
(EDGE_PRIOR_SE2_XY,
EdgeSE2XYPrior
);
44
G2O_REGISTER_TYPE
(EDGE_SE2,
EdgeSE2
);
45
G2O_REGISTER_TYPE
(EDGE_SE2_XY,
EdgeSE2PointXY
);
46
G2O_REGISTER_TYPE
(EDGE_BEARING_SE2_XY,
EdgeSE2PointXYBearing
);
47
G2O_REGISTER_TYPE
(EDGE_SE2_XY_CALIB,
EdgeSE2PointXYCalib
);
48
G2O_REGISTER_TYPE
(EDGE_SE2_OFFSET,
EdgeSE2Offset
);
49
G2O_REGISTER_TYPE
(EDGE_SE2_POINTXY_OFFSET,
EdgeSE2PointXYOffset
);
50
G2O_REGISTER_TYPE
(EDGE_POINTXY,
EdgePointXY
);
51
G2O_REGISTER_TYPE
(EDGE_SE2_TWOPOINTSXY,
EdgeSE2TwoPointsXY
);
52
G2O_REGISTER_TYPE
(EDGE_SE2_LOTSOFXY,
EdgeSE2LotsOfXY
);
53
G2O_REGISTER_TYPE
(EDGE_PRIOR_XY,
EdgeXYPrior
);
54
55
G2O_REGISTER_ACTION
(
VertexSE2WriteGnuplotAction
);
56
G2O_REGISTER_ACTION
(
VertexPointXYWriteGnuplotAction
);
57
G2O_REGISTER_ACTION
(
EdgeSE2WriteGnuplotAction
);
58
G2O_REGISTER_ACTION
(
EdgeSE2PointXYWriteGnuplotAction
);
59
G2O_REGISTER_ACTION
(
EdgeSE2PointXYBearingWriteGnuplotAction
);
60
61
#ifdef G2O_HAVE_OPENGL
62
G2O_REGISTER_ACTION
(VertexSE2DrawAction);
63
G2O_REGISTER_ACTION
(VertexPointXYDrawAction);
64
G2O_REGISTER_ACTION
(EdgeSE2DrawAction);
65
G2O_REGISTER_ACTION
(EdgeSE2PointXYDrawAction);
66
G2O_REGISTER_ACTION
(EdgeSE2PointXYBearingDrawAction);
67
68
#endif
69
}
// namespace g2o
g2o::CacheSE2Offset
caching the offset related to a vertex
Definition
parameter_se2_offset.h:72
g2o::EdgePointXY
Definition
edge_pointxy.h:38
g2o::EdgeSE2LotsOfXY
Definition
edge_se2_lotsofxy.h:39
g2o::EdgeSE2Offset
Offset edge.
Definition
edge_se2_offset.h:44
g2o::EdgeSE2PointXYBearingWriteGnuplotAction
Definition
edge_se2_pointxy_bearing.h:83
g2o::EdgeSE2PointXYBearing
Definition
edge_se2_pointxy_bearing.h:39
g2o::EdgeSE2PointXYCalib
Landmark measurement that also calibrates an offset for the landmark measurement.
Definition
edge_se2_pointxy_calib.h:42
g2o::EdgeSE2PointXYOffset
g2o edge from a track to a point node
Definition
edge_se2_pointxy_offset.h:43
g2o::EdgeSE2PointXYWriteGnuplotAction
Definition
edge_se2_pointxy.h:87
g2o::EdgeSE2PointXY
Definition
edge_se2_pointxy.h:39
g2o::EdgeSE2Prior
Prior for a two D pose.
Definition
edge_se2_prior.h:40
g2o::EdgeSE2TwoPointsXY
Definition
edge_se2_twopointsxy.h:39
g2o::EdgeSE2WriteGnuplotAction
Definition
edge_se2.h:99
g2o::EdgeSE2XYPrior
Prior for a two D pose with constraints only in xy direction (like gps).
Definition
edge_se2_xyprior.h:41
g2o::EdgeSE2
2D edge between two Vertex2
Definition
edge_se2.h:41
g2o::EdgeXYPrior
Definition
edge_xy_prior.h:38
g2o::ParameterSE2Offset
offset for an SE2
Definition
parameter_se2_offset.h:41
g2o::VertexPointXYWriteGnuplotAction
Definition
vertex_point_xy.h:80
g2o::VertexPointXY
Definition
vertex_point_xy.h:39
g2o::VertexSE2WriteGnuplotAction
Definition
vertex_se2.h:84
g2o::VertexSE2
2D pose Vertex, (x,y,theta)
Definition
vertex_se2.h:41
factory.h
G2O_REGISTER_TYPE
#define G2O_REGISTER_TYPE(name, classname)
Definition
factory.h:148
G2O_REGISTER_TYPE_GROUP
#define G2O_REGISTER_TYPE_GROUP(typeGroupName)
Definition
factory.h:156
G2O_REGISTER_ACTION
#define G2O_REGISTER_ACTION(classname)
Definition
hyper_graph_action.h:241
macros.h
g2o
Definition
dl_wrapper.cpp:55
types_slam2d.h
Generated on
for g2o by
1.17.0