+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/e1960004-031f-4286-ad7c-946f4128334f/processing/data/laser.ptd.dat fit 2026-07-20T04:27:05 - INFO: Profile Alignment 0.0.39 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-07-20T04:27:05 - INFO: Alignment track will be output to /working/e1960004-031f-4286-ad7c-946f4128334f/processing/data 2026-07-20T04:27:05 - INFO: Input: /working/e1960004-031f-4286-ad7c-946f4128334f/processing/data/laser.ptd.dat 2026-07-20T04:27:05 - INFO: Sonar: True 2026-07-20T04:27:05 - INFO: Method: fit 2026-07-20T04:27:05 - INFO: Shape: /working/shape.shape.json 2026-07-20T04:27:05 - INFO: Shape info: /working/shape.json 2026-07-20T04:27:05 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-20T04:27:22 - INFO: Reading sonar track took 0.002841472625732422 sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-20T04:27:23 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-07-20T04:27:23 - INFO: Calculating the size for all frames ... 2026-07-20T04:27:30 - INFO: 200 frames are processed in 7.66 seconds. rate: 26.12 fp/s 2026-07-20T04:27:30 - INFO: Median Scale of 200 frame found to be: 1.537271291785222 2026-07-20T04:27:30 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-20T04:27:30 - INFO: Fit to reference shape ... 2026-07-20T04:31:10 - INFO: {32286} frames are processed in {217.88} seconds. Rate: 148.18 fp/s Track data saved to /working/e1960004-031f-4286-ad7c-946f4128334f/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/e1960004-031f-4286-ad7c-946f4128334f/processing/data/laser_aligned.ptd.dat