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
How to use the new @donkey_car graphical UI to edit driving data for better training https://www.youtube.com/watch?v=J5-zHNeNebQ
Monday
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Saturday
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Nov 25
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Nov 23
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Nov 23
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31
DIY Robocars via Twitter
RT @JoeSpeeds: @chr1sa awesomely scary to see in person as our $1M robot almost clipped the walls as it spun at 140mph. But it was also awe…
Oct 29
DIY Robocars via Twitter
RT @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
Oct 25
DIY Robocars via Twitter
RT @IMS: It’s only fitting that @BostonDynamics Spot is waving the green flag for today’s @IndyAChallenge! Watch LIVE 👉 https://t.co/NtKnO…
Oct 23
DIY Robocars via Twitter
RT @IndyAChallenge: Congratulations to @TU_Muenchen the winners of the historic @IndyAChallenge and $1M. The first autonomous racecar comp…
Oct 23
DIY Robocars via Twitter
RT @JoeSpeeds: 🏎@TU_Muenchen #ROS 2 @EclipseCyclone #DDS #Zenoh 137mph. Saturday 10am EDT @IndyAChallenge @Twitch http://indyautonomouschallenge.com/stream
Oct 23
DIY Robocars via Twitter
RT @DAVGtech: Another incident: https://t.co/G1pTxQug6B
Oct 23
More…