#include <crossdoor_nodes.h>
Public Member Functions | |
BT::NodeStatus | isDoorClosed () |
BT::NodeStatus | openDoor () |
BT::NodeStatus | passThroughDoor () |
BT::NodeStatus | pickLock () |
void | registerNodes (BT::BehaviorTreeFactory &factory) |
void | reset () |
BT::NodeStatus | smashDoor () |
Private Attributes | |
bool | _door_locked = true |
bool | _door_open = false |
int | _pick_attempts = 0 |
Definition at line 5 of file crossdoor_nodes.h.
NodeStatus CrossDoor::isDoorClosed | ( | ) |
Definition at line 10 of file crossdoor_nodes.cpp.
NodeStatus CrossDoor::openDoor | ( | ) |
Definition at line 22 of file crossdoor_nodes.cpp.
NodeStatus CrossDoor::passThroughDoor | ( | ) |
Definition at line 16 of file crossdoor_nodes.cpp.
NodeStatus CrossDoor::pickLock | ( | ) |
Definition at line 36 of file crossdoor_nodes.cpp.
void CrossDoor::registerNodes | ( | BT::BehaviorTreeFactory & | factory | ) |
Definition at line 56 of file crossdoor_nodes.cpp.
void CrossDoor::reset | ( | ) |
Definition at line 71 of file crossdoor_nodes.cpp.
NodeStatus CrossDoor::smashDoor | ( | ) |
Definition at line 48 of file crossdoor_nodes.cpp.
|
private |
Definition at line 29 of file crossdoor_nodes.h.
|
private |
Definition at line 28 of file crossdoor_nodes.h.
|
private |
Definition at line 30 of file crossdoor_nodes.h.