Change Waypoints while Flying

Hello all, 

I am doing some experiments with a quadcopter which is using the APM 2.6.
What i want to do is to skip some of the waypoints of the drone while is flying.
Example:

...as the drone flies normally I want to click a button in the mission planner and skip the waypoints 2 to 4 and go to waypoint 5. By clicking again the same (or an other button) skip the waypoint 5 and go to 6.etc

Does any body know how could i do something like that because i have searched a lot but i can't find any help.

Thank you!
Orestis

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

Join diydrones

Email me when people reply –

Replies

  • Developer

    >>>Does any body know how could i do something like that because i have searched a lot but i can't find any help.

    We need to do a better job of steering people to the wiki.  Help us out here.  Where have you searched for information?  Where were you lead to that did not take you to the wiki?

    The information you need is here.

    http://copter.ardupilot.com/wiki/common-planning-a-mission-with-way...

    • Thank you Mike and Craig! 
      It's my fault, I am sorry, but I haven't explained myself fully. Eventually I want to do this swapping of Waypoints without manually clicking in the button, but automatically through the code. Do you know where exactly in the source code I should write a "swap_waypoint() " function which could enable my code to switch waypoints according to some logic? (e.g. let's say that every 20 seconds I want to skip the next waypoint and move to the following one)
      I guess that if there is a button "Set WP" there should be a way to trigger that function behind the "Set_WP_button" in the source code. Any idea how or where this could be done?

      I really appreciate your time and your answers. :) Thank you!


  • Mission Planner/Flight Data/Actions

    Second drop down list of waypoints, select waypoint

    Click button to right "Set WP"

This reply was deleted.

Activity