This PR updates the examples to work with the recent changes to PlanSys2 in PR #131. Specifically, the plan is now passed into the executor rather than being computed within the executor. A bug was also found and fixed (credit goes to @xydesa) in the patrol navigation example. In a previous refactoring effort, the execute_and_check_plan function was modified to return false to indicate done. However, this example was not updated for that change.
This PR updates the examples to work with the recent changes to PlanSys2 in PR #131. Specifically, the plan is now passed into the executor rather than being computed within the executor. A bug was also found and fixed (credit goes to @xydesa) in the patrol navigation example. In a previous refactoring effort, the execute_and_check_plan function was modified to return false to indicate done. However, this example was not updated for that change.