Hello Joshua,
When I try the TCP connection on 127.0.0.1:5760 I get this error message:
The sequence contains no elements.
at System.Linq.Enumerable.Aggregate[TSource](IEnumerable`1 source, Func`3 func)
at MissionPlanner.MAVLinkInterface.OpenBg(IProgressReporterDialogue PRsender, Boolean getparams) in C:\Users\mich1\Desktop\CubePilot\MissionPlanner\ExtLibs\ArduPilot\Mavlink\MAVLinkInterface.cs:line 960.
at MissionPlanner.Controls.ProgressReporterDialogue.RunBackgroundOperation(Object o) in C:\Users\mich1\Desktop\CubePilot\MissionPlanner\ExtLibs\Controls\ProgressReporterDialogue.cs:line 111.
and when I try to connect via UDP on port 14550 I get this error message:
Normally, each socket address (protocol, network address, or port) may only be used once
in System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
in System.Net.Sockets.Socket.Bind (EndPoint localEP)
in MissionPlanner.Comms.UdpSerial.Open() in C:\Users\mich1\Desktop\CubePilot\MissionPlanner\ExtLibs\Comms\CommsUdpSerial.cs:line 130.
at MissionPlanner.MAVLinkInterface.OpenBg(IProgressReporterDialogue PRsender, Boolean getparams) in C:\Users\mich1\Desktop\CubePilot\MissionPlanner\ExtLibs\ArduPilot\Mavlink\MAVLinkInterface.cs:line 960.
at MissionPlanner.Controls.ProgressReporterDialogue.RunBackgroundOperation(Object o) in C:\Users\mich1\Desktop\CubePilot\MissionPlanner\ExtLibs\Controls\ProgressReporterDialogue.cs:line 111.
I also tried UDPCI with the lokal IP 172.23…:14550, but I got the same error message as with TCP-connection.
I attached the screenshots and one of the SITL code.
SC_TCP_connection_error-compressed.pdf (129.7 KB)
SC_UDP_connection_error-compressed.pdf (127.7 KB)
Thank you upfront!