+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/7638ff9b-ea81-42c1-be83-7fdc5279ebaf/processing/data/laser.ptd.dat fit 2026-08-13T23:33:18 - INFO: Profile Alignment 0.0.45 2026-08-13T23:33:18 - INFO: Alignment track will be output to /working/7638ff9b-ea81-42c1-be83-7fdc5279ebaf/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-13T23:33:18 - INFO: Input: /working/7638ff9b-ea81-42c1-be83-7fdc5279ebaf/processing/data/laser.ptd.dat 2026-08-13T23:33:18 - INFO: Sonar: True 2026-08-13T23:33:18 - INFO: Method: fit 2026-08-13T23:33:18 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-08-13T23:33:18 - INFO: Shape info: /working/shape.json 2026-08-13T23:33:18 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-13T23:33:20 - INFO: Reading sonar track took 0.06083273887634277 sec! 2026-08-13T23:33:20 - INFO: Reading sonar alignment track took {0.003993988037109375} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-13T23:33:20 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-08-13T23:33:20 - INFO: Calculating the size for all frames ... 2026-08-13T23:33:30 - INFO: 200 frames are processed in 10.19 seconds. rate: 19.62 fp/s 2026-08-13T23:33:30 - INFO: Median Scale of 200 frame found to be: 1.2234441406499519 2026-08-13T23:33:30 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-13T23:33:30 - INFO: Fit to reference shape ... 2026-08-13T23:33:57 - INFO: {1493} frames are processed in {26.60} seconds. Rate: 56.12 fp/s Track data saved to /working/7638ff9b-ea81-42c1-be83-7fdc5279ebaf/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/7638ff9b-ea81-42c1-be83-7fdc5279ebaf/processing/data/laser_aligned.ptd.dat