+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/9dc45259-4aef-43a9-ae7a-c211a9026ff9/processing/data/laser.ptd.dat fit 2026-05-27T23:31:02 - INFO: Profile Alignment 0.0.32 2026-05-27T23:31:02 - INFO: Alignment track will be output to /working/9dc45259-4aef-43a9-ae7a-c211a9026ff9/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-27T23:31:02 - INFO: Input: /working/9dc45259-4aef-43a9-ae7a-c211a9026ff9/processing/data/laser.ptd.dat 2026-05-27T23:31:02 - INFO: Sonar: True =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-05-27T23:31:02 - INFO: Method: fit 2026-05-27T23:31:02 - INFO: Shape: /working/shape.shape.json 2026-05-27T23:31:02 - INFO: Shape info: /working/shape.json 2026-05-27T23:31:02 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-27T23:31:04 - INFO: Reading sonar track took 0.05461883544921875 sec! 2026-05-27T23:31:04 - INFO: Reading sonar alignment track took {0.006966829299926758} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-27T23:31:04 - INFO: Calculating the size for all frames ... 2026-05-27T23:31:13 - INFO: 200 frames are processed in 9.15 seconds. rate: 21.87 fp/s 2026-05-27T23:31:13 - INFO: Median Scale of 200 frame found to be: 1.527871951098787 2026-05-27T23:31:13 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-27T23:31:13 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-05-27T23:31:56 - INFO: {2856} frames are processed in {42.95} seconds. Rate: 66.49 fp/s Track data saved to /working/9dc45259-4aef-43a9-ae7a-c211a9026ff9/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/9dc45259-4aef-43a9-ae7a-c211a9026ff9/processing/data/laser_aligned.ptd.dat