+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/157af8c3-a509-45cb-9348-95d6e2b1dfdc/processing/data/laser.ptd.dat fit 2026-06-23T00:14:52 - INFO: Profile Alignment 0.0.36 2026-06-23T00:14:52 - INFO: Alignment track will be output to /working/157af8c3-a509-45cb-9348-95d6e2b1dfdc/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-23T00:14:52 - INFO: Input: /working/157af8c3-a509-45cb-9348-95d6e2b1dfdc/processing/data/laser.ptd.dat 2026-06-23T00:14:52 - INFO: Sonar: True =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-06-23T00:14:52 - INFO: Method: fit 2026-06-23T00:14:52 - INFO: Shape: /working/shape.shape.json 2026-06-23T00:14:52 - INFO: Shape info: /working/shape.json 2026-06-23T00:14:52 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-23T00:15:01 - INFO: Reading sonar track took 0.6056523323059082 sec! 2026-06-23T00:15:01 - INFO: Reading sonar alignment track took {0.002829313278198242} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-23T00:15:02 - INFO: Calculating the size for all frames ... 2026-06-23T00:15:10 - INFO: 200 frames are processed in 7.63 seconds. rate: 26.21 fp/s 2026-06-23T00:15:10 - INFO: Median Scale of 200 frame found to be: 0.8878610730533658 2026-06-23T00:15:10 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-23T00:15:10 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-06-23T00:17:43 - INFO: {18055} frames are processed in {151.84} seconds. Rate: 118.91 fp/s Track data saved to /working/157af8c3-a509-45cb-9348-95d6e2b1dfdc/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/157af8c3-a509-45cb-9348-95d6e2b1dfdc/processing/data/laser_aligned.ptd.dat