From a6abcb7d9db07bb0cfcdfff91e9f57f04b5b1f40 Mon Sep 17 00:00:00 2001 From: nicoboy Date: Mon, 1 Jun 2026 19:12:32 +0200 Subject: [PATCH] =?UTF-8?q?Hotspot=20WireClaw,=20iptables=20ports=20MAVLin?= =?UTF-8?q?k,=20mod=C3=A8le=20Gemini=202.5-flash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.py | 2 +- start.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index 97166b6..f134ebd 100644 --- a/config.py +++ b/config.py @@ -4,7 +4,7 @@ import os load_dotenv() GEMINI_API_KEY = os.getenv("GEMINI_API_KEY") -GEMINI_MODEL = "gemini-2.0-flash" +GEMINI_MODEL = "gemini-2.5-flash" MAVLINK_ADDRESS = "udp://:14551" MAVLINK_PYMAV = "udpin:0.0.0.0:14552" NATS_SERVER = "nats://localhost:4222" diff --git a/start.sh b/start.sh index 8e07225..3bb35e8 100755 --- a/start.sh +++ b/start.sh @@ -13,6 +13,10 @@ pkill -f "web_server" 2>/dev/null sleep 2 sudo fuser -k 14550/udp 14551/udp 14552/udp 2>/dev/null sleep 1 +# Créer le hotspot WiFi drone +echo "Démarrage hotspot WireClaw..." +sudo nmcli dev wifi hotspot ifname wlP1p1s0 ssid "WireClaw" password "wireclaw2024" +sleep 3 # 2. Lancer ArduCopter SITL directement echo "Lancement ArduCopter..."