+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/79aa1111-e3d9-4bb0-ac7b-251745de0001/processing/data/lidar.ptd.dat fit 2026-05-04T10:26:58 - INFO: Profile Alignment 0.0.30 2026-05-04T10:26:58 - INFO: Alignment track will be output to /working/79aa1111-e3d9-4bb0-ac7b-251745de0001/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-04T10:26:58 - INFO: Input: /working/79aa1111-e3d9-4bb0-ac7b-251745de0001/processing/data/lidar.ptd.dat 2026-05-04T10:26:58 - INFO: Sonar: True 2026-05-04T10:26:58 - INFO: Method: fit 2026-05-04T10:26:58 - INFO: Shape: /working/shape.shape.json 2026-05-04T10:26:58 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-04T10:26:58 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-04T10:27:25 - INFO: Reading sonar track took 0.5939228534698486 sec! 2026-05-04T10:27:25 - INFO: Reading sonar alignment track took {0.0008246898651123047} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-04T10:27:27 - INFO: Calculating the size for all frames ... 2026-05-04T10:27:34 - INFO: 200 frames are processed in <6.69> seconds. rate: 29.91 fp/s 2026-05-04T10:27:34 - INFO: Median Scale of {200} frame found to be: {2.15635342036615} 2026-05-04T10:27:34 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-04T10:27:34 - INFO: Fit to reference shape ... 2026-05-04T10:35:36 - INFO: {31150} frames are processed in {479.93} seconds. Rate: 64.91 fp/s Track data saved to /working/79aa1111-e3d9-4bb0-ac7b-251745de0001/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/79aa1111-e3d9-4bb0-ac7b-251745de0001/processing/data/laser_aligned.ptd.dat