Public Member Functions | Private Attributes | List of all members
CrossDoor Class Reference

#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
 

Detailed Description

Definition at line 5 of file crossdoor_nodes.h.

Member Function Documentation

◆ isDoorClosed()

NodeStatus CrossDoor::isDoorClosed ( )

Definition at line 10 of file crossdoor_nodes.cpp.

◆ openDoor()

NodeStatus CrossDoor::openDoor ( )

Definition at line 22 of file crossdoor_nodes.cpp.

◆ passThroughDoor()

NodeStatus CrossDoor::passThroughDoor ( )

Definition at line 16 of file crossdoor_nodes.cpp.

◆ pickLock()

NodeStatus CrossDoor::pickLock ( )

Definition at line 36 of file crossdoor_nodes.cpp.

◆ registerNodes()

void CrossDoor::registerNodes ( BT::BehaviorTreeFactory factory)

Definition at line 56 of file crossdoor_nodes.cpp.

◆ reset()

void CrossDoor::reset ( )

Definition at line 71 of file crossdoor_nodes.cpp.

◆ smashDoor()

NodeStatus CrossDoor::smashDoor ( )

Definition at line 48 of file crossdoor_nodes.cpp.

Member Data Documentation

◆ _door_locked

bool CrossDoor::_door_locked = true
private

Definition at line 29 of file crossdoor_nodes.h.

◆ _door_open

bool CrossDoor::_door_open = false
private

Definition at line 28 of file crossdoor_nodes.h.

◆ _pick_attempts

int CrossDoor::_pick_attempts = 0
private

Definition at line 30 of file crossdoor_nodes.h.


The documentation for this class was generated from the following files:


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:18