+ [ true = true ] + echo --sonar + python -m profile_alignment --sonar --shape /working/shape.shape.json --write-shape /working/shape.json /working/165716ea-003d-4ae7-8d82-772c056fd2c8/processing/data/laser.ptd.dat fit 2026-07-01T02:35:26 - INFO: Profile Alignment 0.0.32 2026-07-01T02:35:26 - INFO: Alignment track will be output to /working/165716ea-003d-4ae7-8d82-772c056fd2c8/processing/data =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-01T02:35:26 - INFO: Input: /working/165716ea-003d-4ae7-8d82-772c056fd2c8/processing/data/laser.ptd.dat 2026-07-01T02:35:26 - INFO: Sonar: True 2026-07-01T02:35:26 - INFO: Method: fit 2026-07-01T02:35:26 - INFO: Shape: /working/shape.shape.json 2026-07-01T02:35:26 - INFO: Shape info: /working/shape.json 2026-07-01T02:35:26 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in binary format... Completed! =-=-=-=-=-Adding Sonar points -=-=-=-=-=-=- 2026-07-01T02:35:30 - INFO: Reading sonar track took 0.29070544242858887 sec! 2026-07-01T02:35:30 - INFO: Reading sonar alignment track took {0.0019299983978271484} sec! =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 2026-07-01T02:35:30 - INFO: Calculating the size for all frames ... 2026-07-01T02:35:36 - INFO: 200 frames are processed in 5.16 seconds. rate: 38.78 fp/s 2026-07-01T02:35:36 - INFO: Median Scale of 200 frame found to be: 0.33782765162599215 2026-07-01T02:35:36 - INFO: The selected reference shape JSON to: {/working/shape.json} 2026-07-01T02:35:36 - INFO: Fit to reference shape ... Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } Optimization failed for a frame: {ABNORMAL: } 2026-07-01T02:37:54 - INFO: {13705} frames are processed in {137.84} seconds. Rate: 99.43 fp/s Track data saved to /working/165716ea-003d-4ae7-8d82-772c056fd2c8/processing/data/alignment.track.json Writing PTD file in binary format... Completed! PTD file is written to: /working/165716ea-003d-4ae7-8d82-772c056fd2c8/processing/data/laser_aligned.ptd.dat