+ [ 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-24T22:47:32 - INFO: Profile Alignment 0.0.36 2026-06-24T22:47:32 - INFO: Alignment track will be output to /working/157af8c3-a509-45cb-9348-95d6e2b1dfdc/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-24T22:47:32 - INFO: Input: /working/157af8c3-a509-45cb-9348-95d6e2b1dfdc/processing/data/laser.ptd.dat 2026-06-24T22:47:32 - INFO: Sonar: True 2026-06-24T22:47:32 - INFO: Method: fit 2026-06-24T22:47:32 - INFO: Shape: /working/shape.shape.json 2026-06-24T22:47:32 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-24T22:47:32 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-24T22:47:39 - INFO: Reading sonar track took 0.29581642150878906 sec! 2026-06-24T22:47:39 - INFO: Reading sonar alignment track took {0.0006844997406005859} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-24T22:47:40 - INFO: Calculating the size for all frames ... 2026-06-24T22:47:44 - INFO: 200 frames are processed in 4.30 seconds. rate: 46.56 fp/s 2026-06-24T22:47:44 - INFO: Median Scale of 200 frame found to be: 0.8886077076860758 2026-06-24T22:47:44 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-24T22:47:44 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-06-24T22:50:32 - INFO: {18055} frames are processed in {166.54} seconds. Rate: 108.41 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