Config.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. /**
  2. * This file is part of ORB-SLAM3
  3. *
  4. * Copyright (C) 2017-2021 Carlos Campos, Richard Elvira, Juan J. Gómez Rodríguez, José M.M. Montiel and Juan D. Tardós, University of Zaragoza.
  5. * Copyright (C) 2014-2016 Raúl Mur-Artal, José M.M. Montiel and Juan D. Tardós, University of Zaragoza.
  6. *
  7. * ORB-SLAM3 is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
  8. * License as published by the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * ORB-SLAM3 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
  12. * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License along with ORB-SLAM3.
  16. * If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #ifndef CONFIG_H
  19. #define CONFIG_H
  20. #include <unistd.h>
  21. #include <stdio.h>
  22. #include <stdlib.h>
  23. #include <string>
  24. namespace ORB_SLAM3
  25. {
  26. class ViewerConfig
  27. {
  28. };
  29. class CameraConfig
  30. {
  31. };
  32. class ORBExtractorConfig
  33. {
  34. };
  35. class IMUConfig
  36. {
  37. };
  38. class ConfigParser
  39. {
  40. public:
  41. bool ParseConfigFile(std::string &strConfigFile);
  42. private:
  43. ViewerConfig mViewerConfig;
  44. CameraConfig mCameraConfig;
  45. ORBExtractorConfig mORBConfig;
  46. IMUConfig mIMUConfig;
  47. };
  48. }
  49. #endif // CONFIG_H