+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/c32217b8-413c-43ee-abec-11dc5708b94e/processing/data/laser.ptd.dat fit 2026-08-05T10:32:34 - INFO: Profile Alignment 0.0.42 2026-08-05T10:32:34 - INFO: Alignment track will be output to /working/c32217b8-413c-43ee-abec-11dc5708b94e/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-08-05T10:32:34 - INFO: Input: /working/c32217b8-413c-43ee-abec-11dc5708b94e/processing/data/laser.ptd.dat 2026-08-05T10:32:34 - INFO: Sonar: True 2026-08-05T10:32:34 - INFO: Method: fit 2026-08-05T10:32:34 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-08-05T10:32:34 - INFO: Shape info: /working/shape.json 2026-08-05T10:32:34 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-05T10:32:46 - INFO: Reading sonar track took 0.2816483974456787 sec! 2026-08-05T10:32:46 - INFO: Reading sonar alignment track took {0.004370689392089844} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-05T10:32:47 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-08-05T10:32:47 - INFO: Calculating the size for all frames ... 2026-08-05T10:32:56 - INFO: 200 frames are processed in 8.71 seconds. rate: 22.95 fp/s 2026-08-05T10:32:56 - INFO: Median Scale of 200 frame found to be: 1.1921334488193367 2026-08-05T10:32:56 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-05T10:32:56 - INFO: Fit to reference shape ... 2026-08-05T10:36:44 - INFO: {22606} frames are processed in {225.57} seconds. Rate: 100.22 fp/s Track data saved to /working/c32217b8-413c-43ee-abec-11dc5708b94e/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/c32217b8-413c-43ee-abec-11dc5708b94e/processing/data/laser_aligned.ptd.dat