+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/be064e3b-76d8-45bb-8322-3f079d4e0755/processing/data/laser.ptd.dat fit 2026-05-27T23:21:47 - INFO: Profile Alignment 0.0.32 2026-05-27T23:21:47 - INFO: Alignment track will be output to /working/be064e3b-76d8-45bb-8322-3f079d4e0755/processing/data 2026-05-27T23:21:47 - INFO: Input: /working/be064e3b-76d8-45bb-8322-3f079d4e0755/processing/data/laser.ptd.dat 2026-05-27T23:21:47 - INFO: Sonar: True 2026-05-27T23:21:47 - INFO: Method: fit 2026-05-27T23:21:47 - INFO: Shape: /working/shape.shape.json 2026-05-27T23:21:47 - INFO: Shape info: /working/shape.json 2026-05-27T23:21:47 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-27T23:21:57 - INFO: Reading sonar track took 0.2766408920288086 sec! 2026-05-27T23:21:57 - INFO: Reading sonar alignment track took {0.0045337677001953125} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-27T23:21:58 - INFO: Calculating the size for all frames ... 2026-05-27T23:22:08 - INFO: 200 frames are processed in 10.46 seconds. rate: 19.13 fp/s 2026-05-27T23:22:08 - INFO: Median Scale of 200 frame found to be: 1.4743467679874294 2026-05-27T23:22:08 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-27T23:22:08 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-05-27T23:25:29 - INFO: {13744} frames are processed in {199.29} seconds. Rate: 68.97 fp/s Track data saved to /working/be064e3b-76d8-45bb-8322-3f079d4e0755/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/be064e3b-76d8-45bb-8322-3f079d4e0755/processing/data/laser_aligned.ptd.dat