+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/19263b82-d54e-4276-9d33-1c75c134a9bd/processing/data/lidar.ptd.dat fit 2026-05-06T10:29:30 - INFO: Profile Alignment 0.0.30 2026-05-06T10:29:30 - INFO: Alignment track will be output to /working/19263b82-d54e-4276-9d33-1c75c134a9bd/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-06T10:29:30 - INFO: Input: /working/19263b82-d54e-4276-9d33-1c75c134a9bd/processing/data/lidar.ptd.dat 2026-05-06T10:29:30 - INFO: Sonar: True 2026-05-06T10:29:30 - INFO: Method: fit 2026-05-06T10:29:30 - INFO: Shape: /working/shape.shape.json 2026-05-06T10:29:30 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-06T10:29:30 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-06T10:30:09 - INFO: Reading sonar track took 0.6043379306793213 sec! 2026-05-06T10:30:09 - INFO: Reading sonar alignment track took {0.0006372928619384766} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-06T10:30:11 - INFO: Calculating the size for all frames ... 2026-05-06T10:30:16 - INFO: 200 frames are processed in <5.45> seconds. rate: 36.71 fp/s 2026-05-06T10:30:16 - INFO: Median Scale of {200} frame found to be: {2.1617711249576668} 2026-05-06T10:30:16 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-06T10:30:16 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-05-06T10:40:55 - INFO: {49229} frames are processed in {635.36} seconds. Rate: 77.48 fp/s Track data saved to /working/19263b82-d54e-4276-9d33-1c75c134a9bd/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/19263b82-d54e-4276-9d33-1c75c134a9bd/processing/data/laser_aligned.ptd.dat