+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/6d160d24-ba5c-4278-b281-259f417f5a4c/processing/data/laser.ptd.dat fit 2026-05-26T03:42:22 - INFO: Profile Alignment 0.0.32 2026-05-26T03:42:22 - INFO: Alignment track will be output to /working/6d160d24-ba5c-4278-b281-259f417f5a4c/processing/data 2026-05-26T03:42:22 - INFO: Input: /working/6d160d24-ba5c-4278-b281-259f417f5a4c/processing/data/laser.ptd.dat 2026-05-26T03:42:22 - INFO: Sonar: True 2026-05-26T03:42:22 - INFO: Method: fit 2026-05-26T03:42:22 - INFO: Shape: /working/shape.shape.json 2026-05-26T03:42:22 - INFO: Shape info: /working/shape.json 2026-05-26T03:42:22 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-26T03:42:30 - INFO: Reading sonar track took 0.16829872131347656 sec! 2026-05-26T03:42:30 - INFO: Reading sonar alignment track took {0.0006229877471923828} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-26T03:42:30 - INFO: Calculating the size for all frames ... 2026-05-26T03:42:40 - INFO: 200 frames are processed in 9.62 seconds. rate: 20.78 fp/s 2026-05-26T03:42:40 - INFO: Median Scale of 200 frame found to be: 1.4736476053165772 2026-05-26T03:42:40 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-26T03:42:40 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-05-26T03:45:10 - INFO: {11027} frames are processed in {149.90} seconds. Rate: 73.56 fp/s Track data saved to /working/6d160d24-ba5c-4278-b281-259f417f5a4c/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/6d160d24-ba5c-4278-b281-259f417f5a4c/processing/data/laser_aligned.ptd.dat