+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/29d3f04d-bc10-4e33-9c15-7c55cf92a4a4/processing/data/laser.ptd.dat fit 2026-05-20T01:10:50 - INFO: Profile Alignment 0.0.32 2026-05-20T01:10:50 - INFO: Alignment track will be output to /working/29d3f04d-bc10-4e33-9c15-7c55cf92a4a4/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-20T01:10:50 - INFO: Input: /working/29d3f04d-bc10-4e33-9c15-7c55cf92a4a4/processing/data/laser.ptd.dat =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-05-20T01:10:50 - INFO: Sonar: True 2026-05-20T01:10:50 - INFO: Method: fit 2026-05-20T01:10:50 - INFO: Shape: /working/shape.shape.json 2026-05-20T01:10:50 - INFO: Shape info: /working/shape.json 2026-05-20T01:10:50 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-20T01:10:53 - INFO: Reading sonar track took 0.09100174903869629 sec! 2026-05-20T01:10:53 - INFO: Reading sonar alignment track took {0.007984638214111328} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-20T01:10:54 - INFO: Calculating the size for all frames ... 2026-05-20T01:11:02 - INFO: 200 frames are processed in 8.41 seconds. rate: 23.78 fp/s 2026-05-20T01:11:02 - INFO: Median Scale of 200 frame found to be: 1.2195377532495097 2026-05-20T01:11:02 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-20T01:11:02 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-05-20T01:11:42 - INFO: {3457} frames are processed in {39.96} seconds. Rate: 86.52 fp/s Track data saved to /working/29d3f04d-bc10-4e33-9c15-7c55cf92a4a4/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/29d3f04d-bc10-4e33-9c15-7c55cf92a4a4/processing/data/laser_aligned.ptd.dat