+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/1a4adc0b-7eef-4776-b0e7-c4044f45379f/processing/data/laser.ptd.dat fit 2026-08-04T23:53:55 - INFO: Profile Alignment 0.0.42 2026-08-04T23:53:55 - INFO: Alignment track will be output to /working/1a4adc0b-7eef-4776-b0e7-c4044f45379f/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-08-04T23:53:55 - INFO: Input: /working/1a4adc0b-7eef-4776-b0e7-c4044f45379f/processing/data/laser.ptd.dat 2026-08-04T23:53:55 - INFO: Sonar: True 2026-08-04T23:53:55 - INFO: Method: fit 2026-08-04T23:53:55 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-08-04T23:53:55 - INFO: Shape info: /working/shape.json 2026-08-04T23:53:55 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-08-04T23:53:58 - INFO: Reading sonar track took 0.23160624504089355 sec! 2026-08-04T23:53:58 - INFO: Reading sonar alignment track took {0.0041942596435546875} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-08-04T23:53:59 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-08-04T23:53:59 - INFO: Calculating the size for all frames ... 2026-08-04T23:54:03 - INFO: 200 frames are processed in 4.10 seconds. rate: 48.72 fp/s 2026-08-04T23:54:03 - INFO: Median Scale of 200 frame found to be: 0.5195540821705854 2026-08-04T23:54:03 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-08-04T23:54:03 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-08-04T23:54:54 - INFO: {7315} frames are processed in {50.78} seconds. Rate: 144.05 fp/s Track data saved to /working/1a4adc0b-7eef-4776-b0e7-c4044f45379f/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/1a4adc0b-7eef-4776-b0e7-c4044f45379f/processing/data/laser_aligned.ptd.dat