This commit is contained in:
2026-05-28 17:30:54 +03:00
parent fc072d798e
commit 6477ce0776
16 changed files with 604 additions and 39 deletions

View File

@@ -312,10 +312,10 @@ class AutoPilot(Pilot):
# Пытаемся найти ориентир на картинке:
self.prev_chunk = current_chunk
# Для улучшения среднего FPS
if self.frame_count % 5 == 0:
pos_by_chunk = self.get_position_by_chunk()
if pos_by_chunk is not None:
self.pos = pos_by_chunk
# if self.frame_count % 5 == 0:
# pos_by_chunk = self.get_position_by_chunk()
# if pos_by_chunk is not None:
# self.pos = pos_by_chunk
command = self.make_command()
self.timer.reset()