PlanSys2 / ros2_planning_system

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

[simple_bt_builder] Question about action parallelization algorithm #331

Open Rezenders opened 1 month ago

Rezenders commented 1 month ago

Why does it only consider the at_start effects when checking if actions A and B are parallelizable? Shouldn't it also consider the at_end effects?

What if action A has some over_all requirements that are affected by action B's at_end effects and action B finishes first?

https://github.com/PlanSys2/ros2_planning_system/blob/b82cc6fe5d577e481b0aa01b6b779f94d33b9ebe/plansys2_executor/src/plansys2_executor/bt_builder_plugins/simple_bt_builder.cpp#L166-L178

fmrico commented 3 weeks ago

Probably we could explore also this, but I don't remember the reasons.