+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/ecb5d694-b03c-4eda-85fb-465e3643bad4/processing/data/laser.ptd.dat fit 2026-08-05T10:03:39 - INFO: Profile Alignment 0.0.42 2026-08-05T10:03:39 - INFO: Alignment track will be output to /working/ecb5d694-b03c-4eda-85fb-465e3643bad4/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-05T10:03:39 - INFO: Input: /working/ecb5d694-b03c-4eda-85fb-465e3643bad4/processing/data/laser.ptd.dat =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-08-05T10:03:39 - INFO: Sonar: True 2026-08-05T10:03:39 - INFO: Method: fit 2026-08-05T10:03:39 - INFO: Shape: /app/profile_alignment/ref_shapes/egg.shape.json 2026-08-05T10:03:39 - INFO: Shape info: /working/shape.json 2026-08-05T10:03:39 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-05T10:03:39 - INFO: Reading sonar track took 0.024739503860473633 sec! 2026-08-05T10:03:39 - INFO: Reading sonar alignment track took {0.0005865097045898438} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-05T10:03:39 - INFO: Calculating the size for all frames ... Optimization failed for a frame: ABNORMAL: 2026-08-05T10:03:50 - INFO: 200 frames are processed in 10.60 seconds. rate: 18.86 fp/s 2026-08-05T10:03:50 - INFO: Median Scale of 200 frame found to be: 1.585954038079239 2026-08-05T10:03:50 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-05T10:03:50 - INFO: Fit to reference shape ... 2026-08-05T10:03:58 - INFO: {486} frames are processed in {7.40} seconds. Rate: 65.71 fp/s Track data saved to /working/ecb5d694-b03c-4eda-85fb-465e3643bad4/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/ecb5d694-b03c-4eda-85fb-465e3643bad4/processing/data/laser_aligned.ptd.dat