+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/91f69ecb-49e7-43b1-a7b3-422d7b7f9dd5/processing/data/laser.ptd.dat fit 2026-07-29T05:07:41 - INFO: Profile Alignment 0.0.42 2026-07-29T05:07:41 - INFO: Alignment track will be output to /working/91f69ecb-49e7-43b1-a7b3-422d7b7f9dd5/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-29T05:07:41 - INFO: Input: /working/91f69ecb-49e7-43b1-a7b3-422d7b7f9dd5/processing/data/laser.ptd.dat 2026-07-29T05:07:41 - INFO: Sonar: True 2026-07-29T05:07:41 - INFO: Method: fit 2026-07-29T05:07:41 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-07-29T05:07:41 - INFO: Shape info: /working/shape.json 2026-07-29T05:07:41 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-29T05:07:44 - INFO: Reading sonar track took 0.17502951622009277 sec! 2026-07-29T05:07:44 - INFO: Reading sonar alignment track took {0.0052182674407958984} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-29T05:07:45 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-07-29T05:07:45 - INFO: Calculating the size for all frames ... 2026-07-29T05:07:49 - INFO: 200 frames are processed in 4.03 seconds. rate: 49.61 fp/s 2026-07-29T05:07:49 - INFO: Median Scale of 200 frame found to be: 0.9127686978270633 2026-07-29T05:07:49 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-29T05:07:49 - INFO: Fit to reference shape ... 2026-07-29T05:09:00 - INFO: {7613} frames are processed in {70.94} seconds. Rate: 107.32 fp/s Track data saved to /working/91f69ecb-49e7-43b1-a7b3-422d7b7f9dd5/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/91f69ecb-49e7-43b1-a7b3-422d7b7f9dd5/processing/data/laser_aligned.ptd.dat