Mission Planner UDP and TCP/IP Connection

I have been trying to get the Mission Planner to accept UDP and TCP/IP inputs.

I keep getting a time out error on a UDP  connection.  I have tried various playback rates and real-time rates, but I always get a time out error.

Is there anything special with UDP and TCP/IP connections?

Thanks,

Warren

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    both tcp and udp should work. it is required to be 2 way however.

    • I'm using the wifly module connected to my board (crius aiop), the wifly and my pc are connected to a router, mission planner is seeing the udp connection but can't load the configuration, I get connection time out, I think I'm having a problem with port numbers.

      • Developer

        MP replies to the same ip/port that the packet originates from.

        • I'm having this problem know that I can't get over, when i try to connect I get this message " getting params(sysid 1,compid1)--> the first image, and the the second message comes up --> the second image,i have set the MP to listen to port 2000 the same that my wifi module transmit on, and i have set the correct baudrate on my wifi module according to the serial on my board ( crius aiop 1.1 flashed with MPNG 3.01 r4), i don't know whats causing this problem.

          Thanks.

          3702752651?profile=original3702752949?profile=original

          https://storage.ning.com/topology/rest/1.0/file/get/3702752949?profile=original
          • Developer

            please use something like wireshark to see what is going on.

            • I solved my problem, it seems that there is a problem in megapirotng 3.01 r4 serial 2 and 0, when i flashed my board with the mpng 2.8 r3, the connection was established successfully using tcp connection.

              • Hello. I'm on a similar project. Which tcp port did you use to connect to it? Have you tried UDP port 14550? Thanks in advance.

    • Do you have some example code?

      How do you do a two way on UDP?

  • Hi warren, I have the same problem now did you manage to solve it?

    • No.

      I am thinking about just adding another receiver.

      That should be an easy way to bypass the problem.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
Monday
DIY Robocars via Twitter
Monday
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
DIY Robocars via Twitter
Excellent use of cardboard instead of 3D printing! https://twitter.com/Ingmar_Stapel/status/1324960595318333441
Nov 7
DIY Robocars via Twitter
RT @chr1sa: We've got a record 50 teams competing in this month's @DIYRobocars @donkey_car virtual AI car race. Starting today at 10:00am…
Nov 7
DIY Robocars via Twitter
Nov 6
DIY Robocars via Twitter
RT @a1k0n: Car's view, using a fisheye camera. The ceiling light tracking algorithm gave me some ideas to improve ConeSLAM, and having grou…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: To get ground truth I measured the rug, found the pixel coordinates of its corners, calibrated my phone camera with my standard…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: @DIYRobocars is back in December, but outside. Time to reinvestigate ConeSLAM! I rigged up a quick and dirty ground-truth captur…
Nov 5
More…