MCPcopy Create free account
hub / github.com/AutonomousFieldRoboticsLab/SVIn / setLandmarksCsvFile

Method setLandmarksCsvFile

okvis_ros/src/Publisher.cpp:355–362  ·  view source on GitHub ↗

Set a CVS file where the landmarks will be saved to.

Source from the content-addressed store, hash-verified

353
354// Set a CVS file where the landmarks will be saved to.
355bool Publisher::setLandmarksCsvFile(std::fstream& csvFile) {
356 if (csvLandmarksFile_) {
357 csvLandmarksFile_->close();
358 }
359 csvLandmarksFile_.reset(&csvFile);
360 writeLandmarksCsvDescription();
361 return csvLandmarksFile_->good();
362}
363// Set a CVS file where the landmarks will be saved to.
364bool Publisher::setLandmarksCsvFile(std::string& csvFileName) {
365 csvLandmarksFile_.reset(new std::fstream(csvFileName.c_str(), std::ios_base::out));

Callers 1

mainFunction · 0.80

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected