Hi!

I've been running MAVproxy on a Lubuntu 14.04 OS as a forwarding tool to communicate with my Pixhawk/PX4 through the mobile network. The Pixhawk sends data to MAVproxy which forwards to the IP of the ground control station. However, the connection between the MAVproxy and the Pixhawk is lost randomly after being active for a while. This mostly happens at launch of the UAV, leaving me connectionless throughout the flight. I've been doing some troubleshooting and found that it's only MAVproxy that loses the connection with the autopilot. MAVproxy gives the message  "Link 1 down" and then proceeds by sending "no link" indefinitely, until the system is restarted. The computer (Odroid XU3) is still connected to the autopilot during this time and is continuously receiving data. After restart it finds the connection again and the communication is healthy for a while and then the issue comes back. Have anyone encountered this issue before or has an idea of how it can be resolved? What other options is there than MAVproxy if you want to forward mavlink commands to the internet?

Any information is appreciated!

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

Join diydrones

Email me when people reply –

Replies

  • I think so,

    add these lines to config.txt 

    enable_uart=1
    dtoverlay=pi3-disable-bt

    and make sure your baud rate is 57600 and use /dev/ttyAMA0 and not /dev/ttyS0.

    I did this and it worked! good luck

  • I get the same message. did you found the solution?



    Akshay Mahadev TIMMALAPUR said:

    Hi Anton Lidbom, I am stuck at same stage. I get link 1 down and then keep getting "no link". Did you manage to find a solution?

    Thanks for sharing.

    MAVproxy connection issue with Pixhawk/PX4 - no link
    Hi! I've been running MAVproxy on a Lubuntu 14.04 OS as a forwarding tool to communicate with my Pixhawk/PX4 through the mobile network. The Pixhawk…
  • Hi Anton Lidbom, I am stuck at same stage. I get link 1 down and then keep getting "no link". Did you manage to find a solution?

    Thanks for sharing.

  • Developer
    Are you using tcp or udp as the connection protocol to the gcs...? If your using tcp then a dropped connection will happen each time your ip address changes, which happens when you are on a different mobile phone tower, try using udp instead. Otherwise it seems you could tweak the install to restart mavproxy when it looses the link, or tweak mavproxy itself to do the same,
    • I'm using UDP and run the connection through a VPN tunnel so that the IP never changes. Although, that shouldn't matter since the mavproxy is directly connected to the autopilot via the telemetry port.  Restarting mavproxy automatically could perhaps make it possible to regain the link, but I would rather never loose it at all. If I can't resolve this data link issue I might try to find another way to forward the connection.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Our next @DIYRobocars virtual AI car race is next Saturday. Compete from home using the @donkey_car simulator -- no physical ca…
13 hours ago
DIY Robocars via Twitter
RT @RoboticMasters: Students from @Sydney_Uni working hard on improvements and changes to @donkey_car simulator. @diyrobocars @adafruit…
13 hours ago
DIY Robocars via Twitter
Practice virtual race this Saturday; the real thing will be on Oct 3 https://www.meetup.com/DIYRobocars/
Wednesday
DIY Robocars via Twitter
Wednesday
Derrick Davies liked lisa TDrones's profile
Wednesday
DIY Robocars via Twitter
Sep 21
DIY Robocars via Twitter
RT @SahikaGenc: AWS DeepRacer & Hot Wheels Track https://youtu.be/4H0Ei07RdR4 via @YouTube
Sep 14
DIY Robocars via Twitter
Sep 8
DIY Robocars via Twitter
RT @davsca1: We are releasing the code of our Fisher Information Field, the first dedicated map for perception-aware planning that is >10x…
Sep 8
DIY Robocars via Twitter
RT @SmallpixelCar: How this works: 1)object detection to find cones in single camera image, 30 frames/sec on @NVIDIAEmbedded Xavier. 2)comp…
Sep 8
DIY Robocars via Twitter
RT @SmallpixelCar: Use two color cones to guide the robocar. No map needed, on onsite training needed. Just place the cones and it will fol…
Sep 7
DIY Robocars via Twitter
Sep 7
DIY Robocars via Twitter
RT @roboton_io: Great to see http://roboton.io running at 60fps on the cheapest #chromebook we could find! #edtech #robotics #educat…
Sep 3
DIY Robocars via Twitter
RT @openmvcam: Crazy in-depth article about using the OpenMV Cam for Astrophotography: https://github.com/frank26080115/OpemMV-Astrophotography-Gear https://t.co/BPoK9QDEwS
Sep 3
DIY Robocars via Twitter
RT @openmvcam: Hi folks, it's finally here! Our first draft of our Arduino Interface Library is out! It works over SoftwareSerial, Hardware…
Sep 3
DIY Robocars via Twitter
RT @chr1sa: Please let them have an open API. This would be perfect for @DIYRobocars races https://twitter.com/NintendoAmerica/status/1301513099707658246
Sep 3
More…