Release v1.0.0

chiyu
ken910606 2 months ago
parent 8cd2a33840
commit b70b99d572

@ -22,9 +22,11 @@ from mission_planner import FormationPlanner
# ================================================================================ # ================================================================================
class ControlStationUI(QMainWindow): class ControlStationUI(QMainWindow):
VERSION = '1.0.0'
def __init__(self): def __init__(self):
super().__init__() super().__init__()
self.setWindowTitle('GCS') self.setWindowTitle(f'GCS v{self.VERSION}')
self.resize(1400, 900) self.resize(1400, 900)
# 初始化ROS2 # 初始化ROS2
@ -675,7 +677,7 @@ class ControlStationUI(QMainWindow):
'y': y 'y': y
} }
# 更新 overview table 的位置欄位 (只顯示 x, y) # 更新 overview table 的位置欄位 (只顯示 x, y)
local_text = f"({x:.1f}, {y:.1f})" local_text = f"{x:.1f}, {y:.1f}"
self.update_overview_table(drone_id, 'local', local_text) self.update_overview_table(drone_id, 'local', local_text)
elif msg_type == 'hud': elif msg_type == 'hud':

Loading…
Cancel
Save