PeterFWS / Structure-PLP-SLAM

[ICRA'23] The official Implementation of "Structure PLP-SLAM: Efficient Sparse Mapping and Localization using Point, Line and Plane for Monocular, RGB-D and Stereo Cameras"
GNU General Public License v3.0
408 stars 65 forks source link

the euroc example error #14

Open 5p6 opened 1 year ago

5p6 commented 1 year ago

when i run euroc-MH01 data as :./run_euroc_slam -v ../Structure-PLP-SLAM/orb_vocab/orb_vocab.dbow2 -d /home/robot/dataset/MH_01/mav0 -c /home/robot/lib/PLPSlam/Structure-PLP-SLAM/example/euroc/EuRoC_mono.yaml ,then it show a error? [2023-04-03 17:15:01.146] [I] config file loaded: /home/robot/lib/PLPSlam/Structure-PLP-SLAM/example/euroc/EuRoC_mono.yaml


Structure PLP-SLAM: Copyright (C) 2022, Department Augmented Vision, DFKI, Germany. All rights reserved.

This is free software, and you are welcome to redistribute it under certain conditions. See the LICENSE file.

Camera Configuration:

ORB Configuration:

Other Configuration: PangolinViewer:

[2023-04-03 17:15:01.170] [I] loading ORB vocabulary: ../Structure-PLP-SLAM/orb_vocab/orb_vocab.dbow2 [2023-04-03 17:15:01.438] [I] startup SLAM system [2023-04-03 17:15:01.438] [I] start mapping module [2023-04-03 17:15:01.438] [I] start global optimization module terminate called after throwing an instance of 'YAML::BadFile' what(): bad file

5p6 commented 1 year ago

i don't know hot to fix it

5p6 commented 1 year ago

when update the yaml-cpp , the new error become

[2023-04-03 23:12:06.157] [I] loading ORB vocabulary: ../Structure-PLP-SLAM/orb_vocab/orb_vocab.dbow2 [2023-04-03 23:12:06.472] [I] startup SLAM system [2023-04-03 23:12:06.472] [I] start mapping module [2023-04-03 23:12:06.472] [I] start global optimization module terminate called after throwing an instance of 'YAML::BadFile' what(): bad file: ./src/PLPSLAM/planar_mapping_parameters.yaml

5p6 commented 1 year ago

I have fixed this problem , the solution is to mkdir the build directory in the project ,then compile and make in the build , run the example in the main directory , the .. of build