+ [ true = true ] + echo --sonar + python -m profile_alignment --result /working/result.json --sonar --write-shape /working/shape.json /working/16660e3a-f717-4570-890d-07f31321ff86/processing/data/laser.ptd.dat fit 2026-07-29T05:11:21 - INFO: Profile Alignment 0.0.42 2026-07-29T05:11:21 - INFO: Alignment track will be output to /working/16660e3a-f717-4570-890d-07f31321ff86/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-29T05:11:21 - INFO: Input: /working/16660e3a-f717-4570-890d-07f31321ff86/processing/data/laser.ptd.dat =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... 2026-07-29T05:11:21 - INFO: Sonar: True 2026-07-29T05:11:21 - INFO: Method: fit 2026-07-29T05:11:21 - INFO: Shape: /app/profile_alignment/ref_shapes/circle.shape.json 2026-07-29T05:11:21 - INFO: Shape info: /working/shape.json 2026-07-29T05:11:21 - INFO: Track format: json Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-29T05:11:25 - INFO: Reading sonar track took 0.1631181240081787 sec! 2026-07-29T05:11:25 - INFO: Reading sonar alignment track took {0.004584789276123047} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-29T05:11:26 - INFO: Reference shape is detected as CIRCLE, forcing rotation to zero 2026-07-29T05:11:26 - INFO: Calculating the size for all frames ... 2026-07-29T05:11:33 - INFO: 200 frames are processed in 7.26 seconds. rate: 27.56 fp/s 2026-07-29T05:11:33 - INFO: Median Scale of 200 frame found to be: 0.5327486642273831 2026-07-29T05:11:33 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-29T05:11:33 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-07-29T05:12:30 - INFO: {6501} frames are processed in {56.74} seconds. Rate: 114.57 fp/s Track data saved to /working/16660e3a-f717-4570-890d-07f31321ff86/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/16660e3a-f717-4570-890d-07f31321ff86/processing/data/laser_aligned.ptd.dat