Failed to save mesh to disk
10179013 opened this issue · 0 comments
10179013 commented
I followed the tutorial Stereo Dense Reconstruction to execute this step and reported an error (all the previous commands were executed normally), and the mesh could not be saved. How should I solve this problem?
maplab <euroc_ml1_opt>:/$ create_tsdf_from_depth_resource --flagfile=/home/smile/app_install/learn_slam/maplab_ws/src/maplab/algorithms/dense-reconstruction/stereo-dense-reconstruction/parameter/stereo_params.gflags
I20230604 21:51:43.619097 22498 dense-reconstruction-plugin.cc:80] No mission id list was provided, operating on all missions!
I20230604 21:51:43.623459 22498 dense-reconstruction-plugin.cc:380]
====================== TSDF Map Config ========================
- tsdf_voxel_size: 0.1
- tsdf_voxels_per_side: 16
==============================================================
I20230604 21:51:43.623486 22498 dense-reconstruction-plugin.cc:381]
================== TSDF Integrator Config ====================
General:
- default_truncation_distance: 0.3
- voxel_carving_enabled: 1
- min_ray_length_m: 0.05
- max_ray_length_m: 7
- allow_clear: 1
- max_weight: 10000
- weight_ray_by_range: 0
- clearing_ray_weight_factor: 0.1
- use_symmetric_weight_dropoff: 1
- use_weight_dropoff: 0
- use_const_weight: 0
- integrator_threads: 16
MergedTsdfIntegrator:
- enable_anti_grazing: 0
FastTsdfIntegrator:
- start_voxel_subsampling_factor: 2
- max_consecutive_ray_collisions: 0
- clear_checks_every_n_frames: 1
- max_integration_time_s: 3.40282e+38
==============================================================
I20230604 21:51:43.623499 22498 dense-reconstruction-plugin.cc:382]
================== Mesh Integrator Config ====================
- use_color: 1
- min_weight: 0.0001
- integrator_threads: 16
==============================================================
I20230604 21:51:43.623510 22498 depth-integration-inl.h:75] Integrating mission 7533..0000
Progress: 99.0% [#################################################-]I20230604 21:51:43.625864 22498 depth-integration-inl.h:252] Integrating mission 7533..0000
I20230604 21:51:43.626895 22498 depth-integration-inl.h:292] All resources within this time range will be integrated: [1403636579963555500ns,1403636763563555500ns]
I20230604 21:51:43.626920 22498 dense-reconstruction-plugin.cc:394] TSDF map:
I20230604 21:51:43.626924 22498 dense-reconstruction-plugin.cc:395] allocated blocks: 0
I20230604 21:51:43.626926 22498 dense-reconstruction-plugin.cc:397] size: 2e-05MB
I20230604 21:51:43.626930 22498 dense-reconstruction-plugin.cc:400] TSDF mesh layer:
I20230604 21:51:43.626933 22498 dense-reconstruction-plugin.cc:401] size: 8e-06MB
I20230604 21:51:43.626936 22498 dense-reconstruction-plugin.cc:408] Integrated 0k points in 0.00341343s (0k points/s)
I20230604 21:51:43.627511 22498 dense-reconstruction-plugin.cc:424] Exporting mesh to 'output_mesh.ply' ...
E20230604 21:51:43.627543 22498 dense-reconstruction-plugin.cc:434] Failed to save mesh to disk!
I20230604 21:51:43.627823 22498 dense-reconstruction-plugin.cc:457]
Timings:
SM Timing
-----------
dense_reconstruction: TSDF 2 00:00:00.007031 (00:00:00.003516 +- 00:00:00.000145) [00:00:00.003413,00:00:00.003618]
dense_reconstruction: TSDF mesh export 2 00:00:00.000020 (00:00:00.000010 +- 00:00:00.000012) [00:00:00.000001,00:00:00.000019]
I don't know why, the resources displayed after res_stats are all empty