refactors the navigational functions to use a builder function
implements callbacks for the takeoff, landing, and navigational functions that are triggered upon the completion of those actions
The callbacks allow code similar to this to be written without the need for manual timeouts (using Q.js, and where q is a function that converts a callback-based function into a promise-based one).
This pull request
The callbacks allow code similar to this to be written without the need for manual timeouts (using Q.js, and where
q
is a function that converts a callback-based function into a promise-based one).