+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/ac791da8-1fce-47e1-acb8-b4b79f5224d0/processing/data/laser.ptd.dat fit 2026-06-24T04:16:00 - INFO: Profile Alignment 0.0.36 2026-06-24T04:16:00 - INFO: Alignment track will be output to /working/ac791da8-1fce-47e1-acb8-b4b79f5224d0/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-06-24T04:16:00 - INFO: Input: /working/ac791da8-1fce-47e1-acb8-b4b79f5224d0/processing/data/laser.ptd.dat 2026-06-24T04:16:00 - INFO: Sonar: True 2026-06-24T04:16:00 - INFO: Method: fit 2026-06-24T04:16:00 - INFO: Shape: /working/shape.shape.json 2026-06-24T04:16:00 - INFO: Shape info: /working/shape.json 2026-06-24T04:16:00 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-24T04:16:19 - INFO: Reading sonar track took 0.18164396286010742 sec! 2026-06-24T04:16:19 - INFO: Reading sonar alignment track took {0.0024530887603759766} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-24T04:16:20 - INFO: Calculating the size for all frames ... 2026-06-24T04:16:24 - INFO: 200 frames are processed in 4.12 seconds. rate: 48.50 fp/s 2026-06-24T04:16:24 - INFO: Median Scale of 200 frame found to be: 0.9079544301894601 2026-06-24T04:16:24 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-24T04:16:24 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-06-24T04:21:01 - INFO: {31899} frames are processed in {275.86} seconds. Rate: 115.64 fp/s Track data saved to /working/ac791da8-1fce-47e1-acb8-b4b79f5224d0/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/ac791da8-1fce-47e1-acb8-b4b79f5224d0/processing/data/laser_aligned.ptd.dat