+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/839dbb4a-9d43-4862-8fbc-4c2ec6b07ae7/processing/data/laser.ptd.dat fit 2026-08-06T01:06:08 - INFO: Profile Alignment 0.0.42 2026-08-06T01:06:08 - INFO: Alignment track will be output to /working/839dbb4a-9d43-4862-8fbc-4c2ec6b07ae7/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-06T01:06:08 - INFO: Input: /working/839dbb4a-9d43-4862-8fbc-4c2ec6b07ae7/processing/data/laser.ptd.dat 2026-08-06T01:06:08 - INFO: Sonar: True 2026-08-06T01:06:08 - INFO: Method: fit 2026-08-06T01:06:08 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-08-06T01:06:08 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-06T01:06:08 - INFO: Track format: json Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-06T01:06:11 - INFO: Reading sonar track took 0.20362019538879395 sec! 2026-08-06T01:06:11 - INFO: Reading sonar alignment track took {0.0006372928619384766} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-06T01:06:11 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-08-06T01:06:11 - INFO: Calculating the size for all frames ... 2026-08-06T01:06:15 - INFO: 200 frames are processed in 3.19 seconds. rate: 62.68 fp/s 2026-08-06T01:06:15 - INFO: Median Scale of 200 frame found to be: 0.8811099963304136 2026-08-06T01:06:15 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-06T01:06:15 - INFO: Fit to reference shape ... 2026-08-06T01:07:16 - INFO: {11504} frames are processed in {60.88} seconds. Rate: 188.97 fp/s Track data saved to /working/839dbb4a-9d43-4862-8fbc-4c2ec6b07ae7/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/839dbb4a-9d43-4862-8fbc-4c2ec6b07ae7/processing/data/laser_aligned.ptd.dat