+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/5f7a4c82-dc99-40c4-8916-f9757bcfbff0/processing/data/laser.ptd.dat fit 2026-08-10T01:04:13 - INFO: Profile Alignment 0.0.43 2026-08-10T01:04:13 - INFO: Alignment track will be output to /working/5f7a4c82-dc99-40c4-8916-f9757bcfbff0/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-10T01:04:13 - INFO: Input: /working/5f7a4c82-dc99-40c4-8916-f9757bcfbff0/processing/data/laser.ptd.dat 2026-08-10T01:04:13 - INFO: Sonar: True 2026-08-10T01:04:13 - INFO: Method: fit 2026-08-10T01:04:13 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-08-10T01:04:13 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-10T01:04:13 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-10T01:04:25 - INFO: Reading sonar track took 0.3598957061767578 sec! 2026-08-10T01:04:25 - INFO: Reading sonar alignment track took {0.0005857944488525391} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-10T01:04:26 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-08-10T01:04:26 - INFO: Calculating the size for all frames ... 2026-08-10T01:04:31 - INFO: 200 frames are processed in 5.43 seconds. rate: 36.84 fp/s 2026-08-10T01:04:31 - INFO: Median Scale of 200 frame found to be: 0.8982120044309967 2026-08-10T01:04:31 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-10T01:04:31 - INFO: Fit to reference shape ... 2026-08-10T01:09:06 - INFO: {38721} frames are processed in {273.14} seconds. Rate: 141.76 fp/s Track data saved to /working/5f7a4c82-dc99-40c4-8916-f9757bcfbff0/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/5f7a4c82-dc99-40c4-8916-f9757bcfbff0/processing/data/laser_aligned.ptd.dat