+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/ede8c492-45b4-480c-9aa1-2bd6577c71d8/processing/data/laser.ptd.dat fit 2026-05-20T01:27:24 - INFO: Profile Alignment 0.0.32 2026-05-20T01:27:24 - INFO: Alignment track will be output to /working/ede8c492-45b4-480c-9aa1-2bd6577c71d8/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-20T01:27:24 - INFO: Input: /working/ede8c492-45b4-480c-9aa1-2bd6577c71d8/processing/data/laser.ptd.dat 2026-05-20T01:27:24 - INFO: Sonar: True 2026-05-20T01:27:24 - INFO: Method: fit 2026-05-20T01:27:24 - INFO: Shape: /working/shape.shape.json 2026-05-20T01:27:24 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-20T01:27:24 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-20T01:27:59 - INFO: Reading sonar track took 1.0456857681274414 sec! 2026-05-20T01:27:59 - INFO: Reading sonar alignment track took {0.0008299350738525391} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-20T01:28:02 - INFO: Calculating the size for all frames ... 2026-05-20T01:28:06 - INFO: 200 frames are processed in 4.54 seconds. rate: 44.07 fp/s 2026-05-20T01:28:06 - INFO: Median Scale of 200 frame found to be: 1.2181158734800968 2026-05-20T01:28:06 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-20T01:28:07 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-05-20T01:35:29 - INFO: {71770} frames are processed in {437.97} seconds. Rate: 163.87 fp/s Track data saved to /working/ede8c492-45b4-480c-9aa1-2bd6577c71d8/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/ede8c492-45b4-480c-9aa1-2bd6577c71d8/processing/data/laser_aligned.ptd.dat