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

Chris Anderson liked Zara Mae Pickering's profile
May 21
Azjeg liked Azjeg's profile
Apr 27
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
More…