Skip to content

Commit

Permalink
fix compatibility of saved SE2 graphs with g2o
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed May 27, 2018
1 parent f5ce164 commit 00aa1f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/graphs/include/mrpt/graphs/CNetworkOfPoses_impl.h
Expand Up @@ -61,7 +61,7 @@ namespace mrpt
static void write_VERTEX_line(const TNodeID id, const mrpt::poses::CPose2D &p, std::ostream &f)
{
// VERTEX2 id x y phi
f << "VERTEX2 " << id << " " << p.x() << " " << p.y() << " " << p.phi();
f << "VERTEX_SE2 " << id << " " << p.x() << " " << p.y() << " " << p.phi();
}
static void write_VERTEX_line(const TNodeID id, const mrpt::poses::CPose3D &p, std::ostream &f)
{
Expand Down

0 comments on commit 00aa1f1

Please sign in to comment.