+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/laser.ptd.dat fit 2026-08-06T00:37:14 - INFO: Profile Alignment 0.0.42 2026-08-06T00:37:14 - INFO: Alignment track will be output to /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-06T00:37:14 - INFO: Input: /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/laser.ptd.dat 2026-08-06T00:37:14 - INFO: Sonar: True 2026-08-06T00:37:14 - INFO: Method: fit 2026-08-06T00:37:14 - INFO: Shape: /app/profile_alignment/ref_shapes/egg.shape.json 2026-08-06T00:37:14 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-06T00:37:14 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-06T00:37:14 - INFO: Reading sonar track took 0.0207517147064209 sec! 2026-08-06T00:37:14 - INFO: Reading sonar alignment track took {0.0006241798400878906} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-06T00:37:15 - INFO: Calculating the size for all frames ... 2026-08-06T00:37:21 - INFO: 200 frames are processed in 6.72 seconds. rate: 29.75 fp/s 2026-08-06T00:37:21 - INFO: Median Scale of 200 frame found to be: 1.0312504012970112 2026-08-06T00:37:21 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-06T00:37:21 - INFO: Fit to reference shape ... 2026-08-06T00:37:33 - INFO: {1144} frames are processed in {12.02} seconds. Rate: 95.17 fp/s Track data saved to /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/laser_aligned.ptd.dat