Function plansys2::check(const plansys2_msgs::msg::Tree&, std::shared_ptr<plansys2::ProblemExpertClient>, uint32_t)

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:
  • node[in] The root node of the PDDL expression.

  • problem_client[in] The problem expert client.

Returns:

ret Truth value of the PDDL expression.