Hotspot WireClaw, iptables ports MAVLink, modèle Gemini 2.5-flash

This commit is contained in:
nicoboy
2026-06-01 19:12:32 +02:00
parent 6306e823f4
commit a6abcb7d9d
2 changed files with 5 additions and 1 deletions

View File

@ -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"

View File

@ -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..."