fix: passer MAVSDK et pymavlink en mode client UDP vers mavp2p
mavp2p tourne en serveur (udps) sur 14551 et 14552. Les anciens bind serveur (udp://:14551, udpin:0.0.0.0:14552) causaient "Address already in use". Les deux connexions passent maintenant en mode client vers 127.0.0.1. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@ -5,8 +5,8 @@ load_dotenv()
|
|||||||
|
|
||||||
GEMINI_API_KEY = os.getenv("GEMINI_API_KEY")
|
GEMINI_API_KEY = os.getenv("GEMINI_API_KEY")
|
||||||
GEMINI_MODEL = "gemini-2.5-flash"
|
GEMINI_MODEL = "gemini-2.5-flash"
|
||||||
MAVLINK_ADDRESS = "udp://:14551"
|
MAVLINK_ADDRESS = "udp://127.0.0.1:14551"
|
||||||
MAVLINK_PYMAV = "udpin:0.0.0.0:14552"
|
MAVLINK_PYMAV = "udpout:127.0.0.1:14552"
|
||||||
NATS_SERVER = "nats://localhost:4222"
|
NATS_SERVER = "nats://localhost:4222"
|
||||||
TELEGRAM_TOKEN = os.getenv("TELEGRAM_TOKEN", "")
|
TELEGRAM_TOKEN = os.getenv("TELEGRAM_TOKEN", "")
|
||||||
TELEGRAM_CHAT_ID = os.getenv("TELEGRAM_CHAT_ID", "")
|
TELEGRAM_CHAT_ID = os.getenv("TELEGRAM_CHAT_ID", "")
|
||||||
|
|||||||
Reference in New Issue
Block a user