+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/bf9d5283-0454-4be0-b46b-23811198ceb0/processing/data/laser.ptd.dat fit 2026-08-04T23:53:22 - INFO: Profile Alignment 0.0.42 2026-08-04T23:53:22 - INFO: Alignment track will be output to /working/bf9d5283-0454-4be0-b46b-23811198ceb0/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-04T23:53:22 - INFO: Input: /working/bf9d5283-0454-4be0-b46b-23811198ceb0/processing/data/laser.ptd.dat 2026-08-04T23:53:22 - INFO: Sonar: True 2026-08-04T23:53:22 - INFO: Method: fit 2026-08-04T23:53:22 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-08-04T23:53:22 - INFO: Shape info: /working/shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-08-04T23:53:22 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-04T23:53:23 - INFO: Reading sonar track took 0.12958192825317383 sec! 2026-08-04T23:53:23 - INFO: Reading sonar alignment track took {0.003048419952392578} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-04T23:53:23 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-08-04T23:53:23 - INFO: Calculating the size for all frames ... 2026-08-04T23:53:28 - INFO: 200 frames are processed in 4.83 seconds. rate: 41.44 fp/s 2026-08-04T23:53:28 - INFO: Median Scale of 200 frame found to be: 0.52270156256755 2026-08-04T23:53:28 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-04T23:53:28 - INFO: Fit to reference shape ... 2026-08-04T23:53:51 - INFO: {2736} frames are processed in {22.46} seconds. Rate: 121.79 fp/s Track data saved to /working/bf9d5283-0454-4be0-b46b-23811198ceb0/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/bf9d5283-0454-4be0-b46b-23811198ceb0/processing/data/laser_aligned.ptd.dat