+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data/laser.ptd.dat fit 2026-08-06T01:31:59 - INFO: Profile Alignment 0.0.42 2026-08-06T01:31:59 - INFO: Alignment track will be output to /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-06T01:31:59 - INFO: Input: /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data/laser.ptd.dat 2026-08-06T01:31:59 - INFO: Sonar: True 2026-08-06T01:31:59 - INFO: Method: fit 2026-08-06T01:31:59 - INFO: Shape: /app/profile_alignment/ref_shapes/egg.shape.json 2026-08-06T01:31:59 - INFO: Shape info: /working/shape.json 2026-08-06T01:31:59 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-06T01:32:05 - INFO: Reading sonar track took 0.2735145092010498 sec! 2026-08-06T01:32:05 - INFO: Reading sonar alignment track took {0.0008075237274169922} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-06T01:32:06 - INFO: Calculating the size for all frames ... 2026-08-06T01:32:10 - INFO: 200 frames are processed in 4.19 seconds. rate: 47.71 fp/s 2026-08-06T01:32:10 - INFO: Median Scale of 200 frame found to be: 1.4791891725806936 2026-08-06T01:32:10 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-06T01:32:10 - INFO: Fit to reference shape ... 2026-08-06T01:34:04 - INFO: {19058} frames are processed in {112.81} seconds. Rate: 168.94 fp/s Track data saved to /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/e5b10bfa-e9ec-4178-bf31-55e88b315ba0/processing/data/laser_aligned.ptd.dat