+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/f0a94e5e-9dbd-4428-877e-04c9a8542dc0/processing/data/laser.ptd.dat fit 2026-07-16T23:17:00 - INFO: Profile Alignment 0.0.39 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-07-16T23:17:00 - INFO: Alignment track will be output to /working/f0a94e5e-9dbd-4428-877e-04c9a8542dc0/processing/data 2026-07-16T23:17:00 - INFO: Input: /working/f0a94e5e-9dbd-4428-877e-04c9a8542dc0/processing/data/laser.ptd.dat 2026-07-16T23:17:00 - INFO: Sonar: True 2026-07-16T23:17:00 - INFO: Method: fit 2026-07-16T23:17:00 - INFO: Shape: /working/shape.shape.json 2026-07-16T23:17:00 - INFO: Shape info: /working/shape.json 2026-07-16T23:17:00 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-16T23:17:02 - INFO: Reading sonar track took 0.07870244979858398 sec! 2026-07-16T23:17:02 - INFO: Reading sonar alignment track took {0.004608631134033203} sec! 2026-07-16T23:17:02 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-07-16T23:17:02 - INFO: Calculating the size for all frames ... =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-16T23:17:06 - INFO: 200 frames are processed in 3.94 seconds. rate: 50.79 fp/s 2026-07-16T23:17:06 - INFO: Median Scale of 200 frame found to be: 0.5329028433610151 2026-07-16T23:17:06 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-16T23:17:06 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-07-16T23:17:29 - INFO: {3664} frames are processed in {23.55} seconds. Rate: 155.61 fp/s Track data saved to /working/f0a94e5e-9dbd-4428-877e-04c9a8542dc0/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/f0a94e5e-9dbd-4428-877e-04c9a8542dc0/processing/data/laser_aligned.ptd.dat