+ [ 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-06T00:51:41 - INFO: Profile Alignment 0.0.42 2026-08-06T00:51:41 - INFO: Alignment track will be output to /working/cbb9f567-5668-4213-b1ca-a107fd85079e/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-06T00:51:41 - INFO: Input: /working/cbb9f567-5668-4213-b1ca-a107fd85079e/processing/data/laser.ptd.dat 2026-08-06T00:51:41 - INFO: Sonar: True 2026-08-06T00:51:41 - INFO: Method: fit =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-08-06T00:51:41 - INFO: Shape: /app/profile_alignment/ref_shapes/egg.shape.json 2026-08-06T00:51:41 - INFO: Shape info: /working/shape.json 2026-08-06T00:51:41 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-06T00:51:45 - INFO: Reading sonar track took 0.14499378204345703 sec! 2026-08-06T00:51:45 - INFO: Reading sonar alignment track took {0.0005161762237548828} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-06T00:51:45 - INFO: Calculating the size for all frames ... 2026-08-06T00:51:54 - INFO: 200 frames are processed in 8.60 seconds. rate: 23.26 fp/s 2026-08-06T00:51:54 - INFO: Median Scale of 200 frame found to be: 1.5781563766530247 2026-08-06T00:51:54 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-06T00:51:54 - INFO: Fit to reference shape ... 2026-08-06T00:53:59 - INFO: {9263} frames are processed in {124.66} seconds. Rate: 74.31 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