+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/325328a7-d5e7-4466-a3de-88daac405a4d/processing/data/laser.ptd.dat fit 2026-08-14T01:16:50 - INFO: Profile Alignment 0.0.45 2026-08-14T01:16:50 - INFO: Alignment track will be output to /working/325328a7-d5e7-4466-a3de-88daac405a4d/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=2026-08-14T01:16:50 - INFO: Input: /working/325328a7-d5e7-4466-a3de-88daac405a4d/processing/data/laser.ptd.dat 2026-08-14T01:16:50 - INFO: Sonar: True 2026-08-14T01:16:50 - INFO: Method: fit 2026-08-14T01:16:50 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-08-14T01:16:50 - INFO: Shape info: /working/shape.json 2026-08-14T01:16:50 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-14T01:17:01 - INFO: Reading sonar track took 0.40756797790527344 sec! 2026-08-14T01:17:01 - INFO: Reading sonar alignment track took {0.0005960464477539062} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-14T01:17:01 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-08-14T01:17:01 - INFO: Calculating the size for all frames ... 2026-08-14T01:17:12 - INFO: 200 frames are processed in 10.38 seconds. rate: 19.27 fp/s 2026-08-14T01:17:12 - INFO: Median Scale of 200 frame found to be: 1.0608861378118601 2026-08-14T01:17:12 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-14T01:17:12 - INFO: Fit to reference shape ... 2026-08-14T01:20:04 - INFO: {18680} frames are processed in {171.62} seconds. Rate: 108.85 fp/s Track data saved to /working/325328a7-d5e7-4466-a3de-88daac405a4d/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/325328a7-d5e7-4466-a3de-88daac405a4d/processing/data/laser_aligned.ptd.dat