+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/3702093f-607d-462c-aaeb-31c2cfd3870f/processing/data/laser.ptd.dat fit 2026-08-05T10:11:16 - INFO: Profile Alignment 0.0.42 2026-08-05T10:11:16 - INFO: Alignment track will be output to /working/3702093f-607d-462c-aaeb-31c2cfd3870f/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-05T10:11:16 - INFO: Input: /working/3702093f-607d-462c-aaeb-31c2cfd3870f/processing/data/laser.ptd.dat 2026-08-05T10:11:16 - INFO: Sonar: True 2026-08-05T10:11:16 - INFO: Method: fit 2026-08-05T10:11:16 - INFO: Shape: /app/profile_alignment/ref_shapes/egg.shape.json 2026-08-05T10:11:16 - INFO: Shape info: /working/shape.json 2026-08-05T10:11:16 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-05T10:11:36 - INFO: Reading sonar track took 0.7109391689300537 sec! 2026-08-05T10:11:36 - INFO: Reading sonar alignment track took {0.0006494522094726562} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-05T10:11:38 - INFO: Calculating the size for all frames ... 2026-08-05T10:11:43 - INFO: 200 frames are processed in 5.10 seconds. rate: 39.23 fp/s 2026-08-05T10:11:43 - INFO: Median Scale of 200 frame found to be: 1.5294494245249712 2026-08-05T10:11:43 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-05T10:11:43 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-08-05T10:17:59 - INFO: {48518} frames are processed in {373.20} seconds. Rate: 130.01 fp/s Track data saved to /working/3702093f-607d-462c-aaeb-31c2cfd3870f/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/3702093f-607d-462c-aaeb-31c2cfd3870f/processing/data/laser_aligned.ptd.dat