From 9621f8296866d3f33e54d5cefc2f5082210e7f66 Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 5 Nov 2025 01:05:25 +0100 Subject: [PATCH] Fix decoding of Autel Robotics Evo II Dual 640T V3 drone onboard thermal imager files --- src/infiray_irg.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/infiray_irg.py b/src/infiray_irg.py index 8a3dd85..615dac4 100644 --- a/src/infiray_irg.py +++ b/src/infiray_irg.py @@ -69,8 +69,9 @@ def load(data, print_debug_information=False): if header[-2:] != bytes([0xac,0xca]): raise ValueError(f'Header end marker not found. Got header: {header[-2]:02x} {header[-1]:02x}') - if flag0 == 1: # Seen in Autel Robotics Evo II Dual 640T V3 file - fine_img = (fine_img / 64) - 25.0 + if flag0 == 1: # Seen in Autel Robotics Evo II Dual 640T V3 file. + # I now have two files from different drones of this manufacturer. + fine_img = (fine_img / 10) - 273.15 else: # C201 files # 1/16th Kelvin steps