+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/b99e6104-b84a-4dde-9b85-1ba77cf0b6a3/processing/data/lidar.ptd.dat fit 2026-05-04T03:12:50 - INFO: Profile Alignment 0.0.30 2026-05-04T03:12:50 - INFO: Alignment track will be output to /working/b99e6104-b84a-4dde-9b85-1ba77cf0b6a3/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=2026-05-04T03:12:50 - INFO: Input: /working/b99e6104-b84a-4dde-9b85-1ba77cf0b6a3/processing/data/lidar.ptd.dat 2026-05-04T03:12:50 - INFO: Sonar: True 2026-05-04T03:12:50 - INFO: Method: fit 2026-05-04T03:12:50 - INFO: Shape: /working/shape.shape.json 2026-05-04T03:12:50 - INFO: Shape info: /working/shape.json 2026-05-04T03:12:50 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-04T03:13:02 - INFO: Reading sonar track took 0.15155911445617676 sec! 2026-05-04T03:13:02 - INFO: Reading sonar alignment track took {0.0009505748748779297} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-04T03:13:02 - INFO: Calculating the size for all frames ... 2026-05-04T03:13:14 - INFO: 200 frames are processed in <11.21> seconds. rate: 17.83 fp/s 2026-05-04T03:13:14 - INFO: Median Scale of {200} frame found to be: {4.60910791236104} 2026-05-04T03:13:14 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-04T03:13:14 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } 2026-05-04T03:14:49 - INFO: {10284} frames are processed in {94.18} seconds. Rate: 109.19 fp/s Track data saved to /working/b99e6104-b84a-4dde-9b85-1ba77cf0b6a3/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/b99e6104-b84a-4dde-9b85-1ba77cf0b6a3/processing/data/laser_aligned.ptd.dat