Hi everyone, I am trying to get real time sensor data mounted on my drone. I am using a Pixhawk as the flight controller and MAVLink for radio connection. I need to get the sensor data via Mavlink,…Continue
Pat, I'm trying to do something similar. I'm handling telemetry through a RFD900+ radio and ALSO through a Raspberry pi that has a Verizon 4G "dongle" attached (as a backup). I built an on-board data selector to handling the switching between the two.
Whenever the RFD900 runs out of range, the Verizon connection takes over. But now, I'm doing all this manually. I want to write a script that initially connects to COM3 on my laptop, and when the heartbeats stop coming in for "x" seconds, Mission Planner automatically switches over to the Verizon connection (and back, if necessary). The Verizon connection is over tcp. Most of the time, I can use the RFD900 and not use any data, but if I get out of radio range, it would be great if things "just happened" automatically.
I also have the capability of streaming live HD video (from the Raspberry pi camera) over the Verizon connection, but I use that sparingly since I have to pay for TWO data plans (copter to Verizon and Verizon to laptop). Presently, I'm using tcp protocol which only gives me 2-3 frames/sec, but I'm working on incorporating webRTC , which will give me 1920X1280 video at 30 frames/sec. I actually have webRTC running in the Raspberry pi, but I have to build a webRTC server (using Amazon services) to handle the connections between the two 4G devices.
No comments yet!
You need to be a member of DIY Drones to add comments!