Hello,
I am implementing an interface for executing full flight plans with the GuidedPilotingItf. The input would contain a list of lat/long coordinates for the drone to travel to, and they would be executed sequentially with the Guided pilot interface.
However, I need to be able to detect RTH, so that these Guided missions don’t keep executing.
** Unless RTH makes the Guided Pilot unavailable? I would love to know **
Given that RTH doesn’t disable Guided pilot interface, how can I detect that the RTH button has been pressed so that I stop executing Guided pilot missions?
EDIT:
Follow up question, If I were to loop through a list of say, 5, locations and executed them in order with the GuidedPilotingItf, would the locations be stored in a queue on the drone to be executed? I don’t need to wait for one to finish before calling the next one, do I? If so, how would I know that one has completed?