PlanSys2 / ros2_planning_system

This repo contains a PDDL-based planning system for ROS2.
Apache License 2.0
396 stars 87 forks source link

[executor] fail execute_plan action if initial conditions changed #300

Closed MostafaGomaa closed 8 months ago

MostafaGomaa commented 9 months ago

We terminate the program is many scenarios instead of just returning an explicit value. We currently terminate if the initial conditions change before the plan is started. This is prone to happen in the real world.

This PR sends an explicit result with a failure result to "execute_plan" goals for which the initial requirements change after planning and before execution.

fmrico commented 8 months ago

Merging!!! :rocket:

Thanks @MostafaGomaa