+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/3bd1f3ee-5011-405b-9b3e-6f2c7cef93f4/processing/data/laser.ptd.dat fit 2026-07-29T05:14:35 - INFO: Profile Alignment 0.0.42 2026-07-29T05:14:35 - INFO: Alignment track will be output to /working/3bd1f3ee-5011-405b-9b3e-6f2c7cef93f4/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-29T05:14:35 - INFO: Input: /working/3bd1f3ee-5011-405b-9b3e-6f2c7cef93f4/processing/data/laser.ptd.dat 2026-07-29T05:14:35 - INFO: Sonar: True 2026-07-29T05:14:35 - INFO: Method: fit 2026-07-29T05:14:35 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-07-29T05:14:35 - INFO: Shape info: /working/shape.json 2026-07-29T05:14:35 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-29T05:14:37 - INFO: Reading sonar track took 0.10297489166259766 sec! 2026-07-29T05:14:37 - INFO: Reading sonar alignment track took {0.005513668060302734} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-29T05:14:37 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-07-29T05:14:37 - INFO: Calculating the size for all frames ... 2026-07-29T05:14:42 - INFO: 200 frames are processed in 4.86 seconds. rate: 41.19 fp/s 2026-07-29T05:14:42 - INFO: Median Scale of 200 frame found to be: 0.909648951005589 2026-07-29T05:14:42 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-29T05:14:42 - INFO: Fit to reference shape ... 2026-07-29T05:15:18 - INFO: {4559} frames are processed in {36.07} seconds. Rate: 126.38 fp/s Track data saved to /working/3bd1f3ee-5011-405b-9b3e-6f2c7cef93f4/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/3bd1f3ee-5011-405b-9b3e-6f2c7cef93f4/processing/data/laser_aligned.ptd.dat