Fawkes API
Fawkes Development Version
|
23 #include <navgraph/constraints/static_list_node_constraint.h>
38 : NavGraphNodeConstraint(name)
49 std::vector<fawkes::NavGraphNode> &node_list)
121 const std::vector<fawkes::NavGraphNode> &
void remove_node(const fawkes::NavGraphNode &node)
Remove a single node from the constraint list.
bool has_node(const fawkes::NavGraphNode &node)
Check if constraint has a specific node.
virtual ~NavGraphStaticListNodeConstraint()
Virtual empty destructor.
bool modified_
Set to true if changes are made to the constraint.
NavGraphStaticListNodeConstraint(std::string name)
Constructor.
virtual bool compute(void)
Perform compuations before graph search and to indicate re-planning.
void clear_nodes()
Remove all nodes.
void add_node(const fawkes::NavGraphNode &node)
Add a single node to constraint list.
void add_nodes(const std::vector< fawkes::NavGraphNode > &nodes)
Add multiple nodes to constraint list.
const std::vector< fawkes::NavGraphNode > & node_list() const
Get list of blocked nodes.
std::vector< fawkes::NavGraphNode > node_list_
Node list.