+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/9a57b602-0220-456c-8bbe-2fc0126f93f9/processing/data/laser.ptd.dat fit 2026-07-29T06:00:31 - INFO: Profile Alignment 0.0.42 2026-07-29T06:00:31 - INFO: Alignment track will be output to /working/9a57b602-0220-456c-8bbe-2fc0126f93f9/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-07-29T06:00:31 - INFO: Input: /working/9a57b602-0220-456c-8bbe-2fc0126f93f9/processing/data/laser.ptd.dat 2026-07-29T06:00:31 - INFO: Sonar: True 2026-07-29T06:00:31 - INFO: Method: fit 2026-07-29T06:00:31 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-07-29T06:00:31 - INFO: Shape info: /working/shape.json 2026-07-29T06:00:31 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-29T06:00:37 - INFO: Reading sonar track took 0.2874290943145752 sec! 2026-07-29T06:00:37 - INFO: Reading sonar alignment track took {0.0008697509765625} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-29T06:00:38 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-07-29T06:00:38 - INFO: Calculating the size for all frames ... 2026-07-29T06:00:46 - INFO: 200 frames are processed in 8.02 seconds. rate: 24.94 fp/s 2026-07-29T06:00:46 - INFO: Median Scale of 200 frame found to be: 0.6029389178426707 2026-07-29T06:00:46 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-29T06:00:46 - INFO: Fit to reference shape ... 2026-07-29T06:02:05 - INFO: {8700} frames are processed in {78.16} seconds. Rate: 111.31 fp/s Track data saved to /working/9a57b602-0220-456c-8bbe-2fc0126f93f9/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/9a57b602-0220-456c-8bbe-2fc0126f93f9/processing/data/laser_aligned.ptd.dat