Hi Erel,
I have run the DroneMission example from your
DJI library post and it works wonderfully when I press "Start Mission" and "Stop Mission" buttons! However, when I try to press "Start Mission" again, the buttons just flicker (enable and disable) but the drone does not resume flight. In order for me to get the app to work again, I had to restart my drone, the remote, and the app all together.
Can you please explain what could be the reason behind the mission not being restarted after I prematurely hit the "Stop Mission" button? The WaypointOperator label always says "READY_TO_EXECUTE" when I press "Start Mission" but no auto-takeoff after the first flight. Does WaypointOperator perform auto-takeoff only on the first time? Does the app attempt to reconnect if it loses connection with the remote?
Also some of these may be obvious, could you please clarify what exactly these functions do to the drone?
WaypointOperator.Initialize
WaypointOperator.StartMission
WaypointOperator.PauseMission
WaypointOperator.ResumeMission
WaypointOperator.StopMission
I want to take my DJI phantom for a flight today and I want to be careful not to drop the drone out of the sky.
Thanks! I am extremely grateful for your help!