lardemua / atom

Calibration tools for multi-sensor, multi-modal robotic systems
GNU General Public License v3.0
245 stars 28 forks source link

lidar_rgb evaluation crashing #957

Open brunofavs opened 1 month ago

brunofavs commented 1 month ago

When running lidar_evaluation I had this crash :

clear && rosrun atom_calibration calibrate \
-json $ATOM_DATASETS/softbot/long_train_dataset1/dataset_corrected.json \
-v \
-ss 1 -nig 0.1 0.1 \
-ntfv 0.7 0.7 \
-ntfl "world:base_footprint" \
-csf 'lambda x: int(x) in [0, 2, 3, 5, 6, 7, 8, 9, 10, 11, 13, 14, 17, 18]' \
-ctgt \
-atsf "lambda x : x in []" \
-ftol 1e-4 -xtol 1e-4 -gtol 1e-4
No LiDAR point mapped into the image for collection 000
No LiDAR point mapped into the image for collection 002
No LiDAR point mapped into the image for collection 010
No LiDAR point mapped into the image for collection 019
No LiDAR point mapped into the image for collection 022
No LiDAR point mapped into the image for collection 025
No LiDAR point mapped into the image for collection 026
No LiDAR point mapped into the image for collection 028
No LiDAR point mapped into the image for collection 031
No LiDAR point mapped into the image for collection 034
No LiDAR point mapped into the image for collection 038
No LiDAR point mapped into the image for collection 040

  File "/home/bruno/atom_ws/src/atom/atom_evaluation/scripts/lidar_to_rgb_evaluation", line 287, in <module>
    value = '%.4f' % (total / count)
ZeroDivisionError: division by zero
INFO - 2024-05-14 00:33:35,405 - core - signal_shutdown [atexit]
miguelriemoliveira commented 1 month ago

I will not be able to pick this up right now ...