+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/laser.ptd.dat fit 2026-06-03T06:39:31 - INFO: Profile Alignment 0.0.35 2026-06-03T06:39:31 - INFO: Alignment track will be output to /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-06-03T06:39:31 - INFO: Input: /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/laser.ptd.dat 2026-06-03T06:39:31 - INFO: Sonar: True 2026-06-03T06:39:31 - INFO: Method: fit =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-06-03T06:39:31 - INFO: Shape: /working/shape.shape.json 2026-06-03T06:39:31 - INFO: Shape info: /working/shape.json 2026-06-03T06:39:31 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-06-03T06:39:32 - INFO: Reading sonar track took 0.008408546447753906 sec! 2026-06-03T06:39:32 - INFO: Reading sonar alignment track took {0.00070953369140625} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-06-03T06:39:32 - INFO: Calculating the size for all frames ... Optimization failed for a frame: ABNORMAL: Optimization failed for a frame: ABNORMAL: 2026-06-03T06:39:39 - INFO: 200 frames are processed in 7.04 seconds. rate: 28.39 fp/s 2026-06-03T06:39:39 - INFO: Median Scale of 200 frame found to be: 1.2123366259029975 2026-06-03T06:39:39 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-06-03T06:39:39 - INFO: Fit to reference shape ... 2026-06-03T06:39:50 - INFO: {1168} frames are processed in {10.93} seconds. Rate: 106.81 fp/s Track data saved to /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/786f9f9d-3d05-42d3-bc3f-67633b19095a/processing/data/laser_aligned.ptd.dat + apt install -y --no-install-recommends jq WARNING: apt does not have a stable CLI interface. Use with caution in scripts. Reading package lists... Building dependency tree...Error: Unable to locate package jq Reading state information... + jq -r .width_mm /working/shape.json /argo/staging/script: 11: jq: not found