+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/e30e9542-6357-49d0-b47f-a84aeea33cf1/processing/data/laser.ptd.dat fit 2026-07-29T06:01:03 - INFO: Profile Alignment 0.0.42 2026-07-29T06:01:03 - INFO: Alignment track will be output to /working/e30e9542-6357-49d0-b47f-a84aeea33cf1/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-29T06:01:03 - INFO: Input: /working/e30e9542-6357-49d0-b47f-a84aeea33cf1/processing/data/laser.ptd.dat 2026-07-29T06:01:03 - INFO: Sonar: True 2026-07-29T06:01:03 - INFO: Method: fit 2026-07-29T06:01:03 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-07-29T06:01:03 - INFO: Shape info: /working/shape.json 2026-07-29T06:01:03 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-29T06:01:06 - INFO: Reading sonar track took 0.1517643928527832 sec! 2026-07-29T06:01:06 - INFO: Reading sonar alignment track took {0.0006420612335205078} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-29T06:01:07 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-07-29T06:01:07 - INFO: Calculating the size for all frames ... 2026-07-29T06:01:12 - INFO: 200 frames are processed in 5.55 seconds. rate: 36.01 fp/s 2026-07-29T06:01:12 - INFO: Median Scale of 200 frame found to be: 0.7185329202050542 2026-07-29T06:01:12 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-29T06:01:12 - INFO: Fit to reference shape ... 2026-07-29T06:02:15 - INFO: {6403} frames are processed in {62.75} seconds. Rate: 102.04 fp/s Track data saved to /working/e30e9542-6357-49d0-b47f-a84aeea33cf1/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/e30e9542-6357-49d0-b47f-a84aeea33cf1/processing/data/laser_aligned.ptd.dat