+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/179b623c-9125-4fed-bab3-991ebc2144c0/processing/data/laser.ptd.dat fit 2026-08-06T00:45:26 - INFO: Profile Alignment 0.0.42 2026-08-06T00:45:26 - INFO: Alignment track will be output to /working/179b623c-9125-4fed-bab3-991ebc2144c0/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-06T00:45:26 - INFO: Input: /working/179b623c-9125-4fed-bab3-991ebc2144c0/processing/data/laser.ptd.dat 2026-08-06T00:45:26 - INFO: Sonar: True 2026-08-06T00:45:26 - INFO: Method: fit 2026-08-06T00:45:26 - INFO: Shape: /app/profile_alignment/ref_shapes/egg.shape.json 2026-08-06T00:45:26 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-06T00:45:26 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-06T00:45:31 - INFO: Reading sonar track took 0.10623741149902344 sec! 2026-08-06T00:45:31 - INFO: Reading sonar alignment track took {0.0005023479461669922} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-06T00:45:31 - INFO: Calculating the size for all frames ... 2026-08-06T00:45:40 - INFO: 200 frames are processed in 8.38 seconds. rate: 23.86 fp/s 2026-08-06T00:45:40 - INFO: Median Scale of 200 frame found to be: 1.3524911982158367 2026-08-06T00:45:40 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-06T00:45:40 - INFO: Fit to reference shape ... 2026-08-06T00:46:51 - INFO: {6205} frames are processed in {70.57} seconds. Rate: 87.92 fp/s Track data saved to /working/179b623c-9125-4fed-bab3-991ebc2144c0/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/179b623c-9125-4fed-bab3-991ebc2144c0/processing/data/laser_aligned.ptd.dat