+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data/laser.ptd.dat fit 2026-08-10T00:29:49 - INFO: Profile Alignment 0.0.43 2026-08-10T00:29:49 - INFO: Alignment track will be output to /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-10T00:29:49 - INFO: Input: /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data/laser.ptd.dat 2026-08-10T00:29:49 - INFO: Sonar: True 2026-08-10T00:29:49 - INFO: Method: fit 2026-08-10T00:29:49 - INFO: Shape: /app/profile_alignment/ref_shapes/egg.shape.json 2026-08-10T00:29:49 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-10T00:29:49 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-10T00:29:59 - INFO: Reading sonar track took 0.2757747173309326 sec! 2026-08-10T00:29:59 - INFO: Reading sonar alignment track took {0.0005311965942382812} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-10T00:29:59 - INFO: Calculating the size for all frames ... 2026-08-10T00:30:05 - INFO: 200 frames are processed in 5.16 seconds. rate: 38.78 fp/s 2026-08-10T00:30:05 - INFO: Median Scale of 200 frame found to be: 1.4726457460795799 2026-08-10T00:30:05 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-10T00:30:05 - INFO: Fit to reference shape ... 2026-08-10T00:32:30 - INFO: {19058} frames are processed in {143.88} seconds. Rate: 132.46 fp/s Track data saved to /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data/laser_aligned.ptd.dat