pamela-project / slambench

SLAM performance evaluation framework
https://apt.cs.manchester.ac.uk/projects/PAMELA/
Other
311 stars 84 forks source link

segment error in orbslam2 evaluation #46

Closed Yueting-Li closed 2 years ago

Yueting-Li commented 3 years ago

Hi, I want to evaluate orbslam2 with TUM datasets. But when I input "./build/bin/benchmark_loader -i datasets/TUM/freiburg1/rgbd_dataset_freiburg1_xyz.slam -load ./build/lib/liborbslam2-original-library.so",the terminal shows segment error.Below is the output on terminal.Can anyone give me some advice?Thank you!

Parameter input assigned value datasets/TUM/freiburg1/rgbd_dataset_freiburg1_xyz.slam Parameter load-slam-library assigned value ./build/lib/liborbslam2-original-library.so new library name: ./build/lib/liborbslam2-original-library.so Configuration consumed 0 bytes SLAM library loaded: ./build/lib/liborbslam2-original-library.so Process every frame mode enabled SLAMBench Report run started: 2021-09-01 05:04:29

frame-limit: 0 log-file: input: datasets/TUM/freiburg1/rgbd_dataset_freiburg1_xyz.slam load-slam-library: ./build/lib/liborbslam2-original-library.so dse: false help: false realtime-mode: false realtime-multiplier: 1 file-output: Depth-intrinsics-parameters: 0.9235938,1.229375,0.5171875,0.4875 Depth-disparity-params: 0.001,0 Grey-intrinsics-parameters: 0.8082812,1.076042,0.4978125,0.531875 RGB-intrinsics-parameters: 0.8082812,1.076042,0.4978125,0.531875 mode: auto settings: vocabulary: ./benchmarks/orbslam2/src/original/Vocabulary/ORBvoc.bin max-features: 1000 scale-levels: 8 scale-factor: 1.2 initial-fast-threshold: 20 second-fast-threshold: 7 camera-fps: 40 depth-threshold: 40 Start memory tracking Test XU3 Monitoring. XU3 Monitoring failed. There is no available power monitoring techniques on this system.

ORB-SLAM2 Copyright (C) 2014-2016 Raul Mur-Artal, University of Zaragoza. This program comes with ABSOLUTELY NO WARRANTY; This is free software, and you are welcome to redistribute it under certain conditions. See LICENSE.txt.

Input sensor was set to: RGB-D No settings file specified

Loading ORB Vocabulary. This could take a while... Vocabulary loaded!

Camera Parameters:

ORB Extractor Parameters:

Depth Threshold (Close/Far Points): 2.7068178654

Frame Number Timestamp AbsoluteError MeanATE MaxATE RPE_RMSE Duration_Frame CPU_Memory GPU_Memory CUDA_Memory XY Z New map created with 835 points 1 1305031102.1753039360 -nan -nan 0.0000000000 0.0000000000 0.0278600000 374143281 0 758251520 0.0000000000 0.0000000000 1.0000000000 Segment error

Yueting-Li commented 2 years ago

I find why segment error occurs! Just delete ‘-march=native’ in CMakelists.txt(both in orbslam2 and g2o).