@sky-stack wrote:
I am trying to run a dronekit program from the drone itself. Since all dronekit programs start off with connecting to the drone I decided to create the mavlink connection through the local feedback IP - but I can’t seem to get it to work. In short, what should I type in as $TELEM1 (or $TELEM2) to send telemetry to the localhost/local feedback loop?
Here is what I did:
- I make sure the localfeedback IP is 127.0.0.1 with
2)then <sudo nano /etc/default/arducopter> and mofify the telem variables:
TELEM1="-A udp:127.0.0.1:14550" #Localfeedback loop
TELEM2="-A udp:10.0.0.48:14550" #Pointed to GCS
then #implement changes
then run hello-drone.py dronekit algorithm.
–> it should just connect to the drone and output some information about it. Look at link for more info.
–> http://python.dronekit.io/guide/quick_start.html5)It says no heartbeat detected and times-out.
Note 1: I kept the telem pointed to my GCS and still managed to connect and receive telemetry. (and run dronekit apps from there.)
Note 2: I am fairly sure the dronekit program works just fine because it works when I run it from the GCS. (Yes, I changed the connection string appropriately.)
Thank you in advance!
I appreciate any help
Posts: 2
Participants: 2