+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/ce22f3f7-d1ee-478f-b2c7-5064284bbeb7/processing/data/laser.ptd.dat fit 2026-05-08T02:43:18 - INFO: Profile Alignment 0.0.30 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-05-08T02:43:18 - INFO: Alignment track will be output to /working/ce22f3f7-d1ee-478f-b2c7-5064284bbeb7/processing/data 2026-05-08T02:43:18 - INFO: Input: /working/ce22f3f7-d1ee-478f-b2c7-5064284bbeb7/processing/data/laser.ptd.dat 2026-05-08T02:43:18 - INFO: Sonar: True 2026-05-08T02:43:18 - INFO: Method: fit 2026-05-08T02:43:18 - INFO: Shape: /working/shape.shape.json 2026-05-08T02:43:18 - INFO: Shape info: /working/shape.json 2026-05-08T02:43:18 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-08T02:43:29 - INFO: Reading sonar track took 0.08340883255004883 sec! 2026-05-08T02:43:29 - INFO: Reading sonar alignment track took {0.004673480987548828} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-08T02:43:29 - INFO: Calculating the size for all frames ... 2026-05-08T02:43:39 - INFO: 200 frames are processed in <9.54> seconds. rate: 20.97 fp/s 2026-05-08T02:43:39 - INFO: Median Scale of {200} frame found to be: {1.0371924492039633} 2026-05-08T02:43:39 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-08T02:43:39 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-05-08T02:47:09 - INFO: {14487} frames are processed in {208.54} seconds. Rate: 69.47 fp/s Track data saved to /working/ce22f3f7-d1ee-478f-b2c7-5064284bbeb7/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/ce22f3f7-d1ee-478f-b2c7-5064284bbeb7/processing/data/laser_aligned.ptd.dat