+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/02d06271-3803-4274-ad3f-bbd571a7e753/processing/data/laser.ptd.dat fit 2026-08-06T00:38:51 - INFO: Profile Alignment 0.0.42 2026-08-06T00:38:51 - INFO: Alignment track will be output to /working/02d06271-3803-4274-ad3f-bbd571a7e753/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-06T00:38:51 - INFO: Input: /working/02d06271-3803-4274-ad3f-bbd571a7e753/processing/data/laser.ptd.dat 2026-08-06T00:38:51 - INFO: Sonar: True 2026-08-06T00:38:51 - INFO: Method: fit 2026-08-06T00:38:51 - INFO: Shape: /app/profile_alignment/ref_shapes/egg.shape.json 2026-08-06T00:38:51 - INFO: Shape info: /working/shape.json 2026-08-06T00:38:51 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-06T00:38:54 - INFO: Reading sonar track took 0.11205649375915527 sec! 2026-08-06T00:38:54 - INFO: Reading sonar alignment track took {0.0008053779602050781} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-06T00:38:54 - INFO: Calculating the size for all frames ... 2026-08-06T00:39:04 - INFO: 200 frames are processed in 10.23 seconds. rate: 19.55 fp/s 2026-08-06T00:39:04 - INFO: Median Scale of 200 frame found to be: 1.457735060121685 2026-08-06T00:39:04 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-06T00:39:04 - INFO: Fit to reference shape ... 2026-08-06T00:40:16 - INFO: {4728} frames are processed in {71.85} seconds. Rate: 65.81 fp/s Track data saved to /working/02d06271-3803-4274-ad3f-bbd571a7e753/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/02d06271-3803-4274-ad3f-bbd571a7e753/processing/data/laser_aligned.ptd.dat