Hello guys,

  • On one hand, I receive GPS coordinates, say every 5 minutes of a slowly moving object 5 miles from me ;
  • On the other hand, I need to define that moving object as the next waypoint to my plane to take a picture of it ;

I know I could enter the GPS data manually in my GCS then send the waypoint to the plane by telemetry.

Now, is there a way to automatically feed those GPS coordinates as a "dynamic" waypoint to my plane + APM so that my plane can for sure fly over the slowly moving object ?

By "slow" motion target, I mean less than 10 km/h in random directions, while my plane can fly 60km/h in straight line to that target.

Thank you

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

Join diydrones

Email me when people reply –

Replies

  • Hi,

    The simplest method of doing this would be to use the MP GCS python scripting.  I would get the script to take in your updated location somehow (read from a file, read it from a webservice, read it from a serial device, etc....) then I would get it to setup a location / waypoint object and then use this object when calling the guided mode.

    An example of using the object is here: http://diydrones.com/forum/topics/how-to-python-script-a-time-based...

    You only need to add the code to retrieve the 'location', copy the bits from the linked script (set a location and set mode to guided) and put it into a loop - once every x amount of time.

    This above example would require the use of the telemetry radio and an active link to the GCS.

    The 2nd method is to use a companion computer to basically do the same but it would be in the air with the APM.  You'd need to have some link to the companion computer, be it GSM or Telemetry radio, etc.....

    Regards,

    Chris

This reply was deleted.

Activity