+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/e3df0bbe-97cf-4dbd-904d-e607401d1c20/processing/data/laser.ptd.dat fit 2026-06-24T04:14:32 - INFO: Profile Alignment 0.0.36 2026-06-24T04:14:32 - INFO: Alignment track will be output to /working/e3df0bbe-97cf-4dbd-904d-e607401d1c20/processing/data 2026-06-24T04:14:32 - INFO: Input: /working/e3df0bbe-97cf-4dbd-904d-e607401d1c20/processing/data/laser.ptd.dat 2026-06-24T04:14:32 - INFO: Sonar: True 2026-06-24T04:14:32 - INFO: Method: fit 2026-06-24T04:14:32 - INFO: Shape: /working/shape.shape.json 2026-06-24T04:14:32 - INFO: Shape info: /working/shape.json 2026-06-24T04:14:32 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-24T04:14:40 - INFO: Reading sonar track took 0.019023418426513672 sec! 2026-06-24T04:14:40 - INFO: Reading sonar alignment track took {0.005750179290771484} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-24T04:14:40 - INFO: Calculating the size for all frames ... 2026-06-24T04:14:49 - INFO: 200 frames are processed in 8.67 seconds. rate: 23.06 fp/s 2026-06-24T04:14:49 - INFO: Median Scale of 200 frame found to be: 1.0452699229990925 2026-06-24T04:14:49 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-24T04:14:49 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-06-24T04:16:16 - INFO: {12390} frames are processed in {86.62} seconds. Rate: 143.04 fp/s Track data saved to /working/e3df0bbe-97cf-4dbd-904d-e607401d1c20/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/e3df0bbe-97cf-4dbd-904d-e607401d1c20/processing/data/laser_aligned.ptd.dat