This commit is contained in:
龙澳 2025-01-17 15:50:54 +08:00
parent 99b8153684
commit b6c7c4d2c1

View File

@ -192,7 +192,7 @@ class ImagePreprocessor:
previous_points = self.gps_points.copy() previous_points = self.gps_points.copy()
# 按时间戳排序 # 按时间戳排序
self.gps_points = self.gps_points.sort_values('timestamp') self.gps_points = self.gps_points.sort_values('date')
# 保留索引为偶数的行(即隔一个保留一个) # 保留索引为偶数的行(即隔一个保留一个)
self.gps_points = self.gps_points.iloc[::2].reset_index(drop=True) self.gps_points = self.gps_points.iloc[::2].reset_index(drop=True)