+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/656bf4ad-117b-411f-8e6d-11390ced8143/processing/data/lidar.ptd.dat fit 2026-05-04T10:49:43 - INFO: Profile Alignment 0.0.30 2026-05-04T10:49:43 - INFO: Alignment track will be output to /working/656bf4ad-117b-411f-8e6d-11390ced8143/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-04T10:49:43 - INFO: Input: /working/656bf4ad-117b-411f-8e6d-11390ced8143/processing/data/lidar.ptd.dat 2026-05-04T10:49:43 - INFO: Sonar: True 2026-05-04T10:49:43 - INFO: Method: fit 2026-05-04T10:49:43 - INFO: Shape: /working/shape.shape.json 2026-05-04T10:49:43 - INFO: Shape info: /working/shape.json 2026-05-04T10:49:43 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-04T10:49:55 - INFO: Reading sonar track took 0.16005325317382812 sec! 2026-05-04T10:49:55 - INFO: Reading sonar alignment track took {0.005899667739868164} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-04T10:49:56 - INFO: Calculating the size for all frames ... 2026-05-04T10:50:01 - INFO: 200 frames are processed in <5.49> seconds. rate: 36.42 fp/s 2026-05-04T10:50:01 - INFO: Median Scale of {200} frame found to be: {4.722717358317292} 2026-05-04T10:50:01 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-04T10:50:01 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-05-04T10:51:51 - INFO: {15738} frames are processed in {108.69} seconds. Rate: 144.79 fp/s Track data saved to /working/656bf4ad-117b-411f-8e6d-11390ced8143/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/656bf4ad-117b-411f-8e6d-11390ced8143/processing/data/laser_aligned.ptd.dat