+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/c0d3e363-f399-41d4-bce2-982f279df4cc/processing/data/laser.ptd.dat fit 2026-06-24T22:36:39 - INFO: Profile Alignment 0.0.36 2026-06-24T22:36:39 - INFO: Alignment track will be output to /working/c0d3e363-f399-41d4-bce2-982f279df4cc/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-24T22:36:39 - INFO: Input: /working/c0d3e363-f399-41d4-bce2-982f279df4cc/processing/data/laser.ptd.dat 2026-06-24T22:36:39 - INFO: Sonar: True 2026-06-24T22:36:39 - INFO: Method: fit 2026-06-24T22:36:39 - INFO: Shape: /working/shape.shape.json 2026-06-24T22:36:39 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-24T22:36:39 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-24T22:36:47 - INFO: Reading sonar track took 0.16290974617004395 sec! 2026-06-24T22:36:47 - INFO: Reading sonar alignment track took {0.0030078887939453125} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-24T22:36:47 - INFO: Calculating the size for all frames ... 2026-06-24T22:36:55 - INFO: 200 frames are processed in 7.22 seconds. rate: 27.71 fp/s 2026-06-24T22:36:55 - INFO: Median Scale of 200 frame found to be: 1.05354342711947 2026-06-24T22:36:55 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-24T22:36:55 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-06-24T22:39:15 - INFO: {16936} frames are processed in {139.58} seconds. Rate: 121.34 fp/s Track data saved to /working/c0d3e363-f399-41d4-bce2-982f279df4cc/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/c0d3e363-f399-41d4-bce2-982f279df4cc/processing/data/laser_aligned.ptd.dat