Function plansys2::check(const plansys2_msgs::msg::Tree&, std::shared_ptr<plansys2::ProblemExpertClient>, uint32_t)
Defined in File Utils.hpp
Function Documentation
-
bool plansys2::check(const plansys2_msgs::msg::Tree &tree, std::shared_ptr<plansys2::ProblemExpertClient> problem_client, uint32_t node_id = 0)
Check a PDDL expression represented as a tree. This function calls the evaluate function.
- Parameters:
tree – [in] The root node of the PDDL expression.
problem_client – [in] The problem expert client.
node_id – [in] Node identifier in the tree (default: 0).
- Returns:
bool Truth value of the PDDL expression.