When specifying the --master parameter in mavproxy I've noticed that using UDP it will listen for packets whereas using TCP is will try and make a connection.  

Is there any way to get mavproxy to listen for a TCP connection from anther machine that will connect and send out mavlink packets?

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

Join diydrones

Email me when people reply –

Replies

  • Found the problem, I hadn't specified an --out to mavproxy so there was no connection to listen for a HEARTBEAT on. Silly. 

  • Developer

    Hi Nicholas,

    Currently mavproxy doesn't support that. You could easily add it by patching mavutil.py in pymavlink, but I'm curious why you want this? Using a TCP connection to an aircraft would be a very bad idea, as TCP handles packet loss very badly, and will clag up for a long time on significant packet loss.

    Cheers, Tridge

This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…