+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/a72d96d6-b029-491e-9645-463cc93ee5d5/processing/data/laser.ptd.dat fit 2026-08-13T23:43:43 - INFO: Profile Alignment 0.0.45 2026-08-13T23:43:43 - INFO: Alignment track will be output to /working/a72d96d6-b029-491e-9645-463cc93ee5d5/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-13T23:43:43 - INFO: Input: /working/a72d96d6-b029-491e-9645-463cc93ee5d5/processing/data/laser.ptd.dat 2026-08-13T23:43:43 - INFO: Sonar: True 2026-08-13T23:43:43 - INFO: Method: fit 2026-08-13T23:43:43 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-08-13T23:43:43 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-13T23:43:43 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-13T23:43:48 - INFO: Reading sonar track took 0.1922011375427246 sec! 2026-08-13T23:43:48 - INFO: Reading sonar alignment track took {0.0005550384521484375} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-13T23:43:48 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-08-13T23:43:48 - INFO: Calculating the size for all frames ... 2026-08-13T23:43:53 - INFO: 200 frames are processed in 4.54 seconds. rate: 44.01 fp/s 2026-08-13T23:43:53 - INFO: Median Scale of 200 frame found to be: 1.2234690471124376 2026-08-13T23:43:53 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-13T23:43:53 - INFO: Fit to reference shape ... 2026-08-13T23:45:57 - INFO: {10386} frames are processed in {123.18} seconds. Rate: 84.32 fp/s Track data saved to /working/a72d96d6-b029-491e-9645-463cc93ee5d5/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/a72d96d6-b029-491e-9645-463cc93ee5d5/processing/data/laser_aligned.ptd.dat