+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/3ba3e25b-30a5-4dcb-94a0-4bffb5a8b5bc/processing/data/laser.ptd.dat fit 2026-07-29T22:07:33 - INFO: Profile Alignment 0.0.42 2026-07-29T22:07:33 - INFO: Alignment track will be output to /working/3ba3e25b-30a5-4dcb-94a0-4bffb5a8b5bc/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-29T22:07:33 - INFO: Input: /working/3ba3e25b-30a5-4dcb-94a0-4bffb5a8b5bc/processing/data/laser.ptd.dat 2026-07-29T22:07:33 - INFO: Sonar: True 2026-07-29T22:07:33 - INFO: Method: fit 2026-07-29T22:07:33 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-07-29T22:07:33 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-29T22:07:33 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-29T22:07:38 - INFO: Reading sonar track took 0.21111392974853516 sec! 2026-07-29T22:07:38 - INFO: Reading sonar alignment track took {0.0007297992706298828} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-29T22:07:38 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-07-29T22:07:38 - INFO: Calculating the size for all frames ... 2026-07-29T22:07:42 - INFO: 200 frames are processed in 4.27 seconds. rate: 46.82 fp/s 2026-07-29T22:07:42 - INFO: Median Scale of 200 frame found to be: 1.1796454102796066 2026-07-29T22:07:42 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-29T22:07:42 - INFO: Fit to reference shape ... 2026-07-29T22:09:10 - INFO: {11091} frames are processed in {87.14} seconds. Rate: 127.28 fp/s Track data saved to /working/3ba3e25b-30a5-4dcb-94a0-4bffb5a8b5bc/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/3ba3e25b-30a5-4dcb-94a0-4bffb5a8b5bc/processing/data/laser_aligned.ptd.dat