MavLink UDP connections

I've written some C# software to listen to the RS-232 telemetry feed from the Taranis RC transmitter, sent by Frsky SmartPort sensors, and decode it on the PC.  For each telemetry value, like battery voltage, GPS location, etc., I update a ViewModel that can be bound to any UI on Windows that supports the INotifyPropertyChanged interface (Winforms, WPF, Windows Store apps). That GitHub project is here:  https://github.com/Swifter/TaranisTelemetry

Now, I want to take that decoded telemetry and produce MavLink packets to send to Mission Planner and QGroundControl via UDP on port 14550.  Every second, I produce a Heartbeat and System Status packet and send that to the Mission Planner UDP port.   On Mission Planner, I select UDP and Port 14550, but nothing ever happens. 

The log says the VerifyConnected() generates a System.Exception: The socket/serialproxy is closed.  I'm not running Mission Planner in a debugger, I'm using the downloaded release edition from the website.

Any immediate insight here?  Next, I'm going to try this with QGroundControl, and then try Mission Planner again, hopefully in the debugger, but I thought I'd ask here first.

Thanks in advance,

Paul

Seattle, WA  USA

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

Join diydrones

Email me when people reply –

Replies

  • Too late for a reply... but just to record I believe the solution is described here

    "

    You should be listening form messages on port 14550 on your computer. When you get a UDP packet, inspect it to see where it came from (should be 10.1.1.10) and which port. Then send your message to that 'return port', the port wiil not be 14550.
    "

  • Ok, so after a little tweaking of the socket code, I can connect to both QGroundControl and Mission Planner, although the Mission Planner connection eventually times out on getting params.  But, Mavlink does work.

    Now, it's a matter of sending the correct Mavlink packets when the telemetry is updated.  I should have this working shortly.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @Jetsonhacks: And I helped with the course! JetBot, JetBot, happy little JetBot! JetBot ... GO! Meet the Jetson Specialists Inspiring a…
17 hours ago
DIY Robocars via Twitter
RT @a1k0n: Designed RPi + camera mounts + new bumper for the new car. Fits great on the car first try, except my longest camera cable doesn…
17 hours ago
gotham liked gotham's profile
yesterday
DIY Robocars via Twitter
RT @RoboticMasters: Monaco GP Circuit in the Donkey Sim (coming soon). Including buildings, tunnel and all! https://github.com/robotics-masters/sim-donkeycar-f1/tree/f1-tracks @diyr…
Wednesday
DIY Robocars via Twitter
RT @breadcentric: Here are the details of #AWSDeepRacer finals: https://blog.deepracing.io/2020/12/01/aws-deepracer-league-finals-2020-round-1-schedule/ #awsreinvent2020 #AWSreInvent https://t.co/ovqsjp8V…
Wednesday
DIY Robocars via Twitter
RT @breadcentric: #AWSDeepRacer League #awsreinvent2020 Open race is on Dec 1st - Dec 31st in three categories, 15 DeepRacer Evo (with LIDA…
Wednesday
DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars It's just something that's easy to track with chroma keying. I ended up using different colors on th…
Monday
DIY Robocars via Twitter
Monday
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…
Nov 23
DIY Robocars via Twitter
Nov 23
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
More…