+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/bf93c59f-27bf-49ef-9b80-e53a775838a6/processing/data/lidar.ptd.dat fit 2026-05-07T06:06:31 - INFO: Profile Alignment 0.0.30 2026-05-07T06:06:31 - INFO: Alignment track will be output to /working/bf93c59f-27bf-49ef-9b80-e53a775838a6/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-07T06:06:31 - INFO: Input: /working/bf93c59f-27bf-49ef-9b80-e53a775838a6/processing/data/lidar.ptd.dat 2026-05-07T06:06:31 - INFO: Sonar: True 2026-05-07T06:06:31 - INFO: Method: fit 2026-05-07T06:06:31 - INFO: Shape: /working/shape.shape.json 2026-05-07T06:06:31 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-05-07T06:06:31 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-05-07T06:06:40 - INFO: Reading sonar track took 0.15115880966186523 sec! 2026-05-07T06:06:40 - INFO: Reading sonar alignment track took {0.0006744861602783203} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-05-07T06:06:41 - INFO: Calculating the size for all frames ... 2026-05-07T06:06:45 - INFO: 200 frames are processed in <4.39> seconds. rate: 45.53 fp/s 2026-05-07T06:06:45 - INFO: Median Scale of {200} frame found to be: {1.6045745269111777} 2026-05-07T06:06:45 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-05-07T06:06:45 - INFO: Fit to reference shape ... 2026-05-07T06:08:58 - INFO: {12168} frames are processed in {132.52} seconds. Rate: 91.82 fp/s Track data saved to /working/bf93c59f-27bf-49ef-9b80-e53a775838a6/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/bf93c59f-27bf-49ef-9b80-e53a775838a6/processing/data/laser_aligned.ptd.dat