+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/e4daa603-b8b1-4de6-adda-93946f368fd5/processing/data/lidar.ptd.dat fit 2026-05-07T07:24:39 - INFO: Profile Alignment 0.0.30 2026-05-07T07:24:39 - INFO: Alignment track will be output to /working/e4daa603-b8b1-4de6-adda-93946f368fd5/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-07T07:24:39 - INFO: Input: /working/e4daa603-b8b1-4de6-adda-93946f368fd5/processing/data/lidar.ptd.dat 2026-05-07T07:24:39 - INFO: Sonar: True 2026-05-07T07:24:39 - INFO: Method: fit 2026-05-07T07:24:39 - INFO: Shape: /working/shape.shape.json 2026-05-07T07:24:39 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-07T07:24:39 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-07T07:24:53 - INFO: Reading sonar track took 0.12941980361938477 sec! 2026-05-07T07:24:53 - INFO: Reading sonar alignment track took {0.0005974769592285156} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-07T07:24:54 - INFO: Calculating the size for all frames ... 2026-05-07T07:24:58 - INFO: 200 frames are processed in <4.87> seconds. rate: 41.09 fp/s 2026-05-07T07:24:58 - INFO: Median Scale of {200} frame found to be: {4.7050740332702565} 2026-05-07T07:24:58 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-07T07:24:58 - INFO: Fit to reference shape ... 2026-05-07T07:27:22 - INFO: {18131} frames are processed in {142.85} seconds. Rate: 126.93 fp/s Track data saved to /working/e4daa603-b8b1-4de6-adda-93946f368fd5/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/e4daa603-b8b1-4de6-adda-93946f368fd5/processing/data/laser_aligned.ptd.dat