+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/57814df5-88b8-445f-b071-7804203d5b76/processing/data/laser.ptd.dat fit 2026-05-15T02:29:59 - INFO: Profile Alignment 0.0.32 2026-05-15T02:29:59 - INFO: Alignment track will be output to /working/57814df5-88b8-445f-b071-7804203d5b76/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-15T02:29:59 - INFO: Input: /working/57814df5-88b8-445f-b071-7804203d5b76/processing/data/laser.ptd.dat 2026-05-15T02:29:59 - INFO: Sonar: True 2026-05-15T02:29:59 - INFO: Method: fit 2026-05-15T02:29:59 - INFO: Shape: /working/shape.shape.json 2026-05-15T02:29:59 - INFO: Shape info: /working/shape.json 2026-05-15T02:29:59 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-15T02:30:07 - INFO: Reading sonar track took 0.2644479274749756 sec! 2026-05-15T02:30:07 - INFO: Reading sonar alignment track took {0.0006601810455322266} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-15T02:30:08 - INFO: Calculating the size for all frames ... 2026-05-15T02:30:16 - INFO: 200 frames are processed in 8.18 seconds. rate: 24.45 fp/s 2026-05-15T02:30:16 - INFO: Median Scale of 200 frame found to be: 0.6250894450910727 2026-05-15T02:30:16 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-15T02:30:16 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-05-15T02:32:29 - INFO: {11188} frames are processed in {131.93} seconds. Rate: 84.80 fp/s Track data saved to /working/57814df5-88b8-445f-b071-7804203d5b76/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/57814df5-88b8-445f-b071-7804203d5b76/processing/data/laser_aligned.ptd.dat