Skip to content

Simple C++14 header-only class to log positional data to an osm xml

License

Notifications You must be signed in to change notification settings

pageldev/OsmLogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OsmLogger

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.

Compile

g++ -std=c++14 `pkg-config --cflags --libs pugixml eigen3` test.cpp -o test

Example

#include "OsmLogger.hpp"
...
OsmLogger::instance().log(std::vector<Eigen::Vector3d>{Eigen::Vector3d(77, 88, 0), Eigen::Vector3d(99, 11, 0)});

About

Simple C++14 header-only class to log positional data to an osm xml

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages