修bug
This commit is contained in:
parent
99b8153684
commit
b6c7c4d2c1
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user