+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/299e649d-8293-4559-bc6e-257f44225eba/processing/data/laser.ptd.dat fit 2026-07-29T05:24:00 - INFO: Profile Alignment 0.0.42 2026-07-29T05:24:00 - INFO: Alignment track will be output to /working/299e649d-8293-4559-bc6e-257f44225eba/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-29T05:24:00 - INFO: Input: /working/299e649d-8293-4559-bc6e-257f44225eba/processing/data/laser.ptd.dat 2026-07-29T05:24:00 - INFO: Sonar: True 2026-07-29T05:24:00 - INFO: Method: fit 2026-07-29T05:24:00 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-07-29T05:24:00 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-29T05:24:00 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-29T05:24:25 - INFO: Reading sonar track took 0.7205362319946289 sec! 2026-07-29T05:24:25 - INFO: Reading sonar alignment track took {0.004294633865356445} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-29T05:24:27 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-07-29T05:24:27 - INFO: Calculating the size for all frames ... 2026-07-29T05:24:33 - INFO: 200 frames are processed in 6.29 seconds. rate: 31.82 fp/s 2026-07-29T05:24:33 - INFO: Median Scale of 200 frame found to be: 1.5342546115010276 2026-07-29T05:24:33 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-29T05:24:33 - INFO: Fit to reference shape ... 2026-07-29T05:29:49 - INFO: {50223} frames are processed in {312.51} seconds. Rate: 160.71 fp/s Track data saved to /working/299e649d-8293-4559-bc6e-257f44225eba/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/299e649d-8293-4559-bc6e-257f44225eba/processing/data/laser_aligned.ptd.dat