+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/51cdea41-26e9-4933-8243-b79efd729eab/processing/data/laser.ptd.dat fit 2026-07-10T02:49:04 - INFO: Profile Alignment 0.0.36 2026-07-10T02:49:04 - INFO: Alignment track will be output to /working/51cdea41-26e9-4933-8243-b79efd729eab/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-10T02:49:04 - INFO: Input: /working/51cdea41-26e9-4933-8243-b79efd729eab/processing/data/laser.ptd.dat 2026-07-10T02:49:04 - INFO: Sonar: True 2026-07-10T02:49:04 - INFO: Method: fit 2026-07-10T02:49:04 - INFO: Shape: /working/shape.shape.json 2026-07-10T02:49:04 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-10T02:49:04 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-10T02:49:11 - INFO: Reading sonar track took 0.25254178047180176 sec! 2026-07-10T02:49:11 - INFO: Reading sonar alignment track took {0.0029926300048828125} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-10T02:49:12 - INFO: Calculating the size for all frames ... 2026-07-10T02:49:16 - INFO: 200 frames are processed in 4.09 seconds. rate: 48.96 fp/s 2026-07-10T02:49:16 - INFO: Median Scale of 200 frame found to be: 1.2643443583037102 2026-07-10T02:49:16 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-10T02:49:16 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-07-10T02:51:23 - INFO: {18294} frames are processed in {126.09} seconds. Rate: 145.09 fp/s Track data saved to /working/51cdea41-26e9-4933-8243-b79efd729eab/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/51cdea41-26e9-4933-8243-b79efd729eab/processing/data/laser_aligned.ptd.dat