+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/062bb9fc-c157-4448-8e77-a18d1d06d007/processing/data/laser.ptd.dat fit 2026-08-12T00:18:38 - INFO: Profile Alignment 0.0.44 2026-08-12T00:18:38 - INFO: Alignment track will be output to /working/062bb9fc-c157-4448-8e77-a18d1d06d007/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-12T00:18:38 - INFO: Input: /working/062bb9fc-c157-4448-8e77-a18d1d06d007/processing/data/laser.ptd.dat 2026-08-12T00:18:38 - INFO: Sonar: True 2026-08-12T00:18:38 - INFO: Method: fit =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-08-12T00:18:38 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-08-12T00:18:38 - INFO: Shape info: /working/shape.json 2026-08-12T00:18:38 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-12T00:18:38 - INFO: Reading sonar track took 0.013306856155395508 sec! 2026-08-12T00:18:38 - INFO: Reading sonar alignment track took {0.003839254379272461} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-12T00:18:38 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-08-12T00:18:38 - INFO: Calculating the size for all frames ... 2026-08-12T00:18:50 - INFO: 200 frames are processed in 12.03 seconds. rate: 16.63 fp/s 2026-08-12T00:18:50 - INFO: Median Scale of 200 frame found to be: 0.8797380121957484 2026-08-12T00:18:50 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-12T00:18:50 - INFO: Fit to reference shape ... 2026-08-12T00:19:01 - INFO: {443} frames are processed in {10.01} seconds. Rate: 44.26 fp/s Track data saved to /working/062bb9fc-c157-4448-8e77-a18d1d06d007/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/062bb9fc-c157-4448-8e77-a18d1d06d007/processing/data/laser_aligned.ptd.dat