23 #include <navgraph/constraints/static_list_node_constraint.h> 55 std::vector<fawkes::NavGraphNode> &
node_list)
97 const std::vector<fawkes::NavGraphNode> &nodes)
110 std::vector<NavGraphNode>::iterator n =
132 const std::vector<fawkes::NavGraphNode> &
Fawkes library namespace.
std::string name()
Get name of constraint.
void add_node(const fawkes::NavGraphNode &node)
Add a single node to constraint list.
std::vector< fawkes::NavGraphNode > node_list_
Node list.
void remove_node(const fawkes::NavGraphNode &node)
Remove a single node from the constraint list.
const std::vector< fawkes::NavGraphNode > & node_list() const
Get list of blocked nodes.
bool has_node(const fawkes::NavGraphNode &node)
Check if constraint has a specific node.
void clear_nodes()
Remove all nodes.
void add_nodes(const std::vector< fawkes::NavGraphNode > &nodes)
Add multiple nodes to constraint list.
NavGraphStaticListNodeConstraint(std::string name)
Constructor.
bool modified_
Set to true if changes are made to the constraint.
Constraint that can be queried to check if a node is blocked.
virtual ~NavGraphStaticListNodeConstraint()
Virtual empty destructor.
virtual bool compute(void)
Perform compuations before graph search and to indicate re-planning.