Program Listing for File data-import-export-plugin.h

Return to documentation for file (console-plugins/vi-map-data-import-export-plugin/include/vi-map-data-import-export-plugin/data-import-export-plugin.h)

#ifndef VI_MAP_DATA_IMPORT_EXPORT_PLUGIN_DATA_IMPORT_EXPORT_PLUGIN_H_
#define VI_MAP_DATA_IMPORT_EXPORT_PLUGIN_DATA_IMPORT_EXPORT_PLUGIN_H_

#include <string>

#include <console-common/console-plugin-base.h>
#include <console-common/console.h>
#include <map-manager/map-manager.h>
#include <vi-map/vi-map.h>

namespace data_import_export {

class DataImportExportPlugin : public common::ConsolePluginBase {
 public:
  explicit DataImportExportPlugin(common::Console* console);

  std::string getPluginId() const override {
    return "data_import_export";
  }

 private:
  int exportMissionInfo() const;
  int exportPosesVelocitiesAndBiasesToCsv(
      const std::string& format = "asl") const;
  int exportNCameraCalibration() const;
  int importGpsDataFromRosbag() const;
  int exportGpsUtmToCsv() const;
  int exportGpsWgsToCsv() const;
};

}  // namespace data_import_export

#endif  // VI_MAP_DATA_IMPORT_EXPORT_PLUGIN_DATA_IMPORT_EXPORT_PLUGIN_H_