+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/fdaa1f18-f3e3-4c13-87b3-24db980bef00/processing/data/laser.ptd.dat fit 2026-08-06T01:50:07 - INFO: Profile Alignment 0.0.42 2026-08-06T01:50:07 - INFO: Alignment track will be output to /working/fdaa1f18-f3e3-4c13-87b3-24db980bef00/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-06T01:50:07 - INFO: Input: /working/fdaa1f18-f3e3-4c13-87b3-24db980bef00/processing/data/laser.ptd.dat 2026-08-06T01:50:07 - INFO: Sonar: True 2026-08-06T01:50:07 - INFO: Method: fit 2026-08-06T01:50:07 - INFO: Shape: /app/profile_alignment/ref_shapes/egg.shape.json 2026-08-06T01:50:07 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-06T01:50:07 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-06T01:50:21 - INFO: Reading sonar track took 0.5959489345550537 sec! 2026-08-06T01:50:21 - INFO: Reading sonar alignment track took {0.0006380081176757812} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-06T01:50:23 - INFO: Calculating the size for all frames ... 2026-08-06T01:50:27 - INFO: 200 frames are processed in 4.45 seconds. rate: 44.95 fp/s 2026-08-06T01:50:27 - INFO: Median Scale of 200 frame found to be: 1.5825331969728254 2026-08-06T01:50:27 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-06T01:50:27 - INFO: Fit to reference shape ... 2026-08-06T01:55:06 - INFO: {39675} frames are processed in {276.55} seconds. Rate: 143.47 fp/s Track data saved to /working/fdaa1f18-f3e3-4c13-87b3-24db980bef00/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/fdaa1f18-f3e3-4c13-87b3-24db980bef00/processing/data/laser_aligned.ptd.dat