Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the euroc example error #14

Open
5p6 opened this issue Apr 3, 2023 · 3 comments
Open

the euroc example error #14

5p6 opened this issue Apr 3, 2023 · 3 comments

Comments

@5p6
Copy link

5p6 commented Apr 3, 2023

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:

  • name: EuRoC monocular
  • setup: Monocular
  • fps: 20
  • cols: 752
  • rows: 480
  • color: Gray
  • model: Perspective
    • fx: 458.654
    • fy: 457.296
    • cx: 367.215
    • cy: 248.375
    • k1: -0.283408
    • k2: 0.0739591
    • p1: 0.00019359
    • p2: 1.76187e-05
    • k3: 0
    • min x: -135.812
    • max x: 895.507
    • min y: -92.8751
    • max y: 565.556

ORB Configuration:

  • number of keypoints: 1000
  • scale factor: 1.2
  • number of levels: 8
  • initial fast threshold: 20
  • minimum fast threshold: 7

Other Configuration:
PangolinViewer:

  • camera_line_width: 3
  • camera_size: 0.08
  • graph_line_width: 1
  • keyframe_line_width: 1
  • keyframe_size: 0.07
  • point_size: 2
  • viewpoint_f: 400
  • viewpoint_x: 0
  • viewpoint_y: -0.65
  • viewpoint_z: -1.9

[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
Copy link
Author

5p6 commented Apr 3, 2023

i don't know hot to fix it

@5p6
Copy link
Author

5p6 commented Apr 3, 2023

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
Copy link
Author

5p6 commented Apr 9, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant