部分重构与自动巡飞

This commit is contained in:
2026-06-02 11:03:37 +08:00
parent e92124d3bf
commit c6fc0dd775
10 changed files with 587 additions and 7 deletions
+33
View File
@@ -0,0 +1,33 @@
{
"model": {
"model_path": "./om/yolo26n-balloon.om",
"conf_threshold": 0.25,
"device_id": 0
},
"video": {
"video_source": 0,
"jpeg_quality": 75
},
"network": {
"ground_station_ip": "192.168.31.239",
"udp_port": 9999
},
"flight_control": {
"connection_string": "/dev/ttyUSB0",
"baud_rate": 57600
},
"pid_y": {
"kp": 1.0,
"ki": 0.02,
"kd": 0.3,
"max_out": 0.8,
"min_out": -0.8
},
"pid_z": {
"kp": 1.0,
"ki": 0.02,
"kd": 0.3,
"max_out": 0.4,
"min_out": -0.4
}
}