+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data/laser.ptd.dat fit 2026-05-27T23:29:02 - INFO: Profile Alignment 0.0.32 2026-05-27T23:29:02 - INFO: Alignment track will be output to /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-27T23:29:02 - INFO: Input: /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data/laser.ptd.dat 2026-05-27T23:29:02 - INFO: Sonar: True 2026-05-27T23:29:02 - INFO: Method: fit 2026-05-27T23:29:02 - INFO: Shape: /working/shape.shape.json 2026-05-27T23:29:02 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-27T23:29:02 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-27T23:29:16 - INFO: Reading sonar track took 0.3662419319152832 sec! 2026-05-27T23:29:16 - INFO: Reading sonar alignment track took {0.0005359649658203125} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-27T23:29:17 - INFO: Calculating the size for all frames ... 2026-05-27T23:29:23 - INFO: 200 frames are processed in 6.58 seconds. rate: 30.39 fp/s 2026-05-27T23:29:23 - INFO: Median Scale of 200 frame found to be: 1.4739877699407393 2026-05-27T23:29:23 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-27T23:29:23 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-05-27T23:32:28 - INFO: {19057} frames are processed in {183.41} seconds. Rate: 103.90 fp/s Track data saved to /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data/laser_aligned.ptd.dat