ArduPilot / ArduPilot/MissionPlanner

Mission planner is not connecting to flight controller on pixracer(ESP8266) on UDP

Open
#3,223 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

i was successful in connecting mission planner with flight controller using ESP8266 via UDP but while disconnecting and connecting suddenly it stopped connecting to it. Now Mission planner is not connecting to flight controller using ESP8266 via UDP.
It showing like this how to fix this.
The socket/serialproxy is closed
at MissionPlanner.Comms.UdpSerial.VerifyConnected() in C:\Users\mich1\Desktop\CubePilot\MissionPlanner\ExtLibs\Comms\CommsUdpSerial.cs.line 343
at MissionPlanner.Comms.UdpSerial.DiscardlnBuffer() in C:\Users\mich1\Desktop\CubePilot\MissionPlanner\ExtLibs\Comms\CommsUdpSerial.cs.line 280
at MissionPlanner.MAVLinkInterface.OpenBg(ProgressReporterDialogue PRsender. Boolean getparams) in C:\Users\mich1\Desktop\CubePilot\MissionPlanner\ExtLibs\ArduPilot\Mavlink\MAVLinkInterface.cs:line 864
at MissionPlanner.Controls.ProgressReporterDialogue.RunBackgroundOperation(Object o) in C:\Users\mich1\Desktop\CubePilot\MissionPlanner\ExtLibs\Controls\ProgressReporterDialogue.cs:line 111

The above is the issue showing when try to connect with mission planner help me to fix this issue and connect to mission planner.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing ExtLibs/Comms/CommsUdpSerial.cs at VerifyConnected() line 343 and DiscardlnBuffer() line 280, then follow the connection flow into ExtLibs/ArduPilot/Mavlink/MAVLinkInterface.cs at OpenBg() line 864. Reproduce the disconnect/reconnect failure with the ESP8266 UDP setup; done means the cause is identified and Mission Planner reconnects to the flight controller reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.