Function plansys2::apply(const plansys2_msgs::msg::Tree&, std::shared_ptr<plansys2::ProblemExpertClient>, uint32_t)
Defined in File Utils.hpp
Function Documentation
-
bool plansys2::apply(const plansys2_msgs::msg::Tree &tree, std::shared_ptr<plansys2::ProblemExpertClient> problem_client, uint32_t node_id = 0)
Apply a PDDL expression represented as a tree.
This function calls the evaluate function.
- Parameters:
node – [in] The root node of the PDDL expression.
problem_client – [in] The problem expert client.
- Returns:
success Indicates whether the execution was successful.