2036.6.10小更新

This commit is contained in:
2026-06-10 15:55:07 +08:00
parent b994a5fbbc
commit 9e9d827928
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
"udp_port": 9999
},
"flight_control": {
"connection_string": "/dev/ttyUSB0",
"connection_string": "udpout:172.0.0.1:14550",
"baud_rate": 57600
},
"fc_info":{
+1 -1
View File
@@ -231,7 +231,7 @@ class UAVControlLoop:
""" 🛸 无人机飞控闭环控制核心 """
def __init__(self, fc_cfg, pid_y_cfg, pid_z_cfg):
connection_string = fc_cfg.get("connection_string", "/dev/ttyUSB0")
connection_string = fc_cfg.get("connection_string", "udpout:172.0.0.1:14550")
baud_rate = fc_cfg.get("baud_rate", 57600)
# 初始化控制驱动端