+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/laser.ptd.dat fit 2026-06-22T03:12:22 - INFO: Profile Alignment 0.0.36 2026-06-22T03:12:22 - INFO: Alignment track will be output to /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-22T03:12:22 - INFO: Input: /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/laser.ptd.dat 2026-06-22T03:12:22 - INFO: Sonar: True 2026-06-22T03:12:22 - INFO: Method: fit 2026-06-22T03:12:22 - INFO: Shape: /working/shape.shape.json 2026-06-22T03:12:22 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-22T03:12:22 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-22T03:12:25 - INFO: Reading sonar track took 0.12120294570922852 sec! 2026-06-22T03:12:25 - INFO: Reading sonar alignment track took {0.0031583309173583984} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-22T03:12:26 - INFO: Calculating the size for all frames ... 2026-06-22T03:12:31 - INFO: 200 frames are processed in 5.32 seconds. rate: 37.61 fp/s 2026-06-22T03:12:31 - INFO: Median Scale of 200 frame found to be: 0.9022537164027046 2026-06-22T03:12:31 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-22T03:12:31 - 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: } 2026-06-22T03:13:31 - INFO: {7424} frames are processed in {59.93} seconds. Rate: 123.88 fp/s Track data saved to /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/0bc357db-b3d2-49cd-a36e-2481c48d0a1a/processing/data/laser_aligned.ptd.dat