forked from chiyu1468/AirTrapMine
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
根因:adapter 的 pos_global_int service 被序列化(預設 mutually-exclusive callback group) + 阻塞等 msg87 echo。實飛慢速鏈路下多機序列化,只有頭一台 能在 client timeout 內拿到 echo,其餘被判失敗 → 重試 → fallback LOITER 停飛。 (SITL echo 快故全過)。指令其實在等 echo 前就已送達飛控。 閉環改法(全在 src/GUI/,繞過 adapter 瓶頸): - mission_executor: 每點只送一次 → 每 resend_interval_sec(預設2.5s) 週期性 重送當前 setpoint(GUIDED 目標冪等,掉包自癒);換點純靠 GPS 到達判定; _on_send_result 降級為觀測,不再累計失敗切 LOITER。 - command_sender: Ros2CommandSender echo timeout 2.0→0.5s,echo miss 快速 放棄換下一台,避免序列化塞爆 client poll。 - gui: 建構子接 resend_interval_sec。 順帶:總覽表新增「任務狀態」列,每台一格即時顯示 WP 進度 + 通訊狀態 (送出OK/送出未驗證/等待同伴),實飛可一眼分辨哪台通訊不穩 vs 卡住; 此列獨立保存,不被遙測 refresh 蓋掉。 SITL 驗證通過。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
1 week ago | |
|---|---|---|
| .. | ||
| GUI | 1 week ago | |
| external | 6 months ago | |
| fc_interfaces | 1 month ago | |
| fc_network_adapter | 1 month ago | |
| fc_network_apps | 2 months ago | |
| fc_network_module | 2 months ago | |
| someotherpkg/src | 4 months ago | |
| unitdev01 | 7 months ago | |
| unitdev02 | 2 months ago | |
| unitdev03 | 1 year ago | |
| unitdev04 | 3 months ago | |
| .codex | 1 month ago | |