PlanSys2 / ros2_planning_system_examples

56 stars 30 forks source link

Pass plan to executor #19

Closed jjzapf closed 3 years ago

jjzapf commented 3 years ago

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.