+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/820c4c8a-dc49-4cc8-aa1b-62ad40a15fad/processing/data/laser.ptd.dat fit 2026-08-14T00:54:03 - INFO: Profile Alignment 0.0.45 2026-08-14T00:54:03 - INFO: Alignment track will be output to /working/820c4c8a-dc49-4cc8-aa1b-62ad40a15fad/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-14T00:54:03 - INFO: Input: /working/820c4c8a-dc49-4cc8-aa1b-62ad40a15fad/processing/data/laser.ptd.dat 2026-08-14T00:54:03 - INFO: Sonar: True 2026-08-14T00:54:03 - INFO: Method: fit 2026-08-14T00:54:03 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-08-14T00:54:03 - INFO: Shape info: /working/shape.json 2026-08-14T00:54:03 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-14T00:54:10 - INFO: Reading sonar track took 0.19289636611938477 sec! 2026-08-14T00:54:11 - INFO: Reading sonar alignment track took {0.0009233951568603516} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-14T00:54:11 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-08-14T00:54:11 - INFO: Calculating the size for all frames ... 2026-08-14T00:54:21 - INFO: 200 frames are processed in 9.93 seconds. rate: 20.14 fp/s 2026-08-14T00:54:21 - INFO: Median Scale of 200 frame found to be: 0.899202569159445 2026-08-14T00:54:21 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-14T00:54:21 - INFO: Fit to reference shape ... 2026-08-14T00:57:15 - INFO: {11492} frames are processed in {173.49} seconds. Rate: 66.24 fp/s Track data saved to /working/820c4c8a-dc49-4cc8-aa1b-62ad40a15fad/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/820c4c8a-dc49-4cc8-aa1b-62ad40a15fad/processing/data/laser_aligned.ptd.dat