Simple C++14 Logger for logging positional data to an osm file
Pass an STL container of point types (point type can be an STL container or an Eigen::Matrix<T, S, 1>) or a point type to OsmLogger::log to add it to the Osm XML. Use OsmLogger::dump or access OsmLogger::osm_xml directly.
g++ -std=c++14 `pkg-config --cflags --libs pugixml eigen3` test.cpp -o test
#include "OsmLogger.hpp"
...
OsmLogger::instance().log(std::vector<Eigen::Vector3d>{Eigen::Vector3d(77, 88, 0), Eigen::Vector3d(99, 11, 0)});