forked from chiyu1468/AirTrapMine
Release v1.0.0
This commit is contained in:
+4
-2
@@ -22,9 +22,11 @@ from mission_planner import FormationPlanner
|
||||
# ================================================================================
|
||||
|
||||
class ControlStationUI(QMainWindow):
|
||||
VERSION = '1.0.0'
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.setWindowTitle('GCS')
|
||||
self.setWindowTitle(f'GCS v{self.VERSION}')
|
||||
self.resize(1400, 900)
|
||||
|
||||
# 初始化ROS2
|
||||
@@ -675,7 +677,7 @@ class ControlStationUI(QMainWindow):
|
||||
'y': 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)
|
||||
|
||||
elif msg_type == 'hud':
|
||||
|
||||
Reference in New Issue
Block a user