+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/laser.ptd.dat fit 2026-08-09T23:35:25 - INFO: Profile Alignment 0.0.43 2026-08-09T23:35:25 - INFO: Alignment track will be output to /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-09T23:35:25 - INFO: Input: /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/laser.ptd.dat 2026-08-09T23:35:25 - INFO: Sonar: True 2026-08-09T23:35:25 - INFO: Method: fit 2026-08-09T23:35:25 - INFO: Shape: /app/profile_alignment/ref_shapes/egg.shape.json 2026-08-09T23:35:25 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-08-09T23:35:25 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-09T23:35:25 - INFO: Reading sonar track took 0.03842759132385254 sec! 2026-08-09T23:35:25 - INFO: Reading sonar alignment track took {0.002693653106689453} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-09T23:35:25 - INFO: Calculating the size for all frames ... 2026-08-09T23:35:35 - INFO: 200 frames are processed in 9.29 seconds. rate: 21.53 fp/s 2026-08-09T23:35:35 - INFO: Median Scale of 200 frame found to be: 1.0233095374019991 2026-08-09T23:35:35 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-09T23:35:35 - INFO: Fit to reference shape ... 2026-08-09T23:35:52 - INFO: {1144} frames are processed in {17.40} seconds. Rate: 65.74 fp/s Track data saved to /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/laser_aligned.ptd.dat