+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/cbb9f567-5668-4213-b1ca-a107fd85079e/processing/data/laser.ptd.dat fit 2026-08-09T23:50:31 - INFO: Profile Alignment 0.0.43 2026-08-09T23:50:31 - INFO: Alignment track will be output to /working/cbb9f567-5668-4213-b1ca-a107fd85079e/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-08-09T23:50:31 - INFO: Input: /working/cbb9f567-5668-4213-b1ca-a107fd85079e/processing/data/laser.ptd.dat 2026-08-09T23:50:31 - INFO: Sonar: True 2026-08-09T23:50:31 - INFO: Method: fit 2026-08-09T23:50:31 - INFO: Shape: /app/profile_alignment/ref_shapes/egg.shape.json 2026-08-09T23:50:31 - INFO: Shape info: /working/shape.json 2026-08-09T23:50:31 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-09T23:50:35 - INFO: Reading sonar track took 0.1276535987854004 sec! 2026-08-09T23:50:35 - INFO: Reading sonar alignment track took {0.0007414817810058594} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-09T23:50:35 - INFO: Calculating the size for all frames ... 2026-08-09T23:50:44 - INFO: 200 frames are processed in 8.96 seconds. rate: 22.33 fp/s 2026-08-09T23:50:44 - INFO: Median Scale of 200 frame found to be: 1.5735312367359033 2026-08-09T23:50:44 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-09T23:50:44 - INFO: Fit to reference shape ... 2026-08-09T23:53:11 - INFO: {9265} frames are processed in {146.47} seconds. Rate: 63.26 fp/s Track data saved to /working/cbb9f567-5668-4213-b1ca-a107fd85079e/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/cbb9f567-5668-4213-b1ca-a107fd85079e/processing/data/laser_aligned.ptd.dat