+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/a5536710-fdfb-4e3d-9932-1ea501286855/processing/data/laser.ptd.dat fit 2026-05-08T02:35:31 - INFO: Profile Alignment 0.0.30 2026-05-08T02:35:31 - INFO: Alignment track will be output to /working/a5536710-fdfb-4e3d-9932-1ea501286855/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=2026-05-08T02:35:31 - INFO: Input: /working/a5536710-fdfb-4e3d-9932-1ea501286855/processing/data/laser.ptd.dat 2026-05-08T02:35:31 - INFO: Sonar: True 2026-05-08T02:35:31 - INFO: Method: fit 2026-05-08T02:35:31 - INFO: Shape: /working/shape.shape.json 2026-05-08T02:35:31 - INFO: Shape info: /working/shape.json 2026-05-08T02:35:31 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-08T02:35:42 - INFO: Reading sonar track took 0.41444897651672363 sec! 2026-05-08T02:35:42 - INFO: Reading sonar alignment track took {0.0007619857788085938} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-08T02:35:43 - INFO: Calculating the size for all frames ... 2026-05-08T02:35:51 - INFO: 200 frames are processed in <7.35> seconds. rate: 27.22 fp/s 2026-05-08T02:35:51 - INFO: Median Scale of {200} frame found to be: {0.8890648486957007} 2026-05-08T02:35:51 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-08T02:35:51 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-05-08T02:39:31 - INFO: {17772} frames are processed in {218.91} seconds. Rate: 81.19 fp/s Track data saved to /working/a5536710-fdfb-4e3d-9932-1ea501286855/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/a5536710-fdfb-4e3d-9932-1ea501286855/processing/data/laser_aligned.ptd.dat