nkwangyh / CubemapSLAM

A Piecewise-Pinhole Monocular Fisheye SLAM System
Other
219 stars 53 forks source link

can not run #3

Open tub-sgg opened 5 years ago

tub-sgg commented 5 years ago

Loading ORB Vocabulary. This could take a while... terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped)

tub-sgg commented 5 years ago

lafida indoor dynamic

../bin/cubemap_lafida ../Vocabulary/ORBvoc.txt \ ../Config/lafida_cam0_params.yaml \ "$DATASET_PATH" \ "$IMG_TS_PATH" \ "$CUBE_MASK" \ ../bin/trajs/lafida_indoor_dynamic.txt \ ../bin/trajs/lafida_indoor_dynamic_perf.txt

what's this? ../bin/trajs/lafida_indoor_dynamic.txt \ ../bin/trajs/lafida_indoor_dynamic_perf.txt

tub-sgg commented 5 years ago

DATASET_PATH="/home/alex/Downloads/indoor_dynamic/imgs/cam0" IMG_TS_PATH="/home/alex/Downloads/indoor_dynamic/images_and_timestamps.txt" here I have already changed but still can not run

kaustubh-sadekar commented 4 years ago

Just a minor change. I guess the script is called inside the Scripts folder so you need to add .. before your path for DATASET_PATH and IMG_TS_PATH. For ref. DATASET_PATH="/home/alex/Downloads/indoor_dynamic/imgs/cam0" should be DATASET_PATH="../home/alex/Downloads/indoor_dynamic/imgs/cam0".

luzhaozhang2276 commented 4 years ago

@tub-sgg u need to check the if there's /Vocabulary/ORBvoc.txt, if not, unzip ORBvoc.txt.tar.gz to get it