RepeatUnlessFailureWithinTick Class
Decorator that ticks its child up to num_cycles times within a single parent tick, stopping on first failure. More...
Declaration
class moveit_pro::behaviors::RepeatUnlessFailureWithinTick { ... }
#include <repeat_unless_failure_within_tick.hpp>
Base class
Public Constructors Index
Public Destructor Index
Public Static Functions Index
Description
Decorator that ticks its child up to num_cycles times within a single parent tick, stopping on first failure.
Thin alias for BT::RepeatNode registered under an explicit name so the within-tick loop semantics are obvious at the call site. Prefer RepeatUnlessFailureEachTick unless the entire loop genuinely needs to run inside one parent tick.
With a synchronous always-successful child and num_cycles="-1", this decorator deadlocks the tree. See the Behavior Tree Troubleshooting documentation.
| Data Port Name | Port Type | Object Type |
|---|
| num_cycles | input | int |
Definition at line 28 of file repeat_unless_failure_within_tick.hpp.
Public Constructors
RepeatUnlessFailureWithinTick()
| moveit_pro::behaviors::RepeatUnlessFailureWithinTick::RepeatUnlessFailureWithinTick (const std::string & name, const BT::NodeConfiguration & config) |
|
Public Destructor
~RepeatUnlessFailureWithinTick()
| moveit_pro::behaviors::RepeatUnlessFailureWithinTick::~RepeatUnlessFailureWithinTick () |
|
default
|
Public Static Functions
metadata()
| BT::KeyValueVector moveit_pro::behaviors::RepeatUnlessFailureWithinTick::metadata () |
|
static
|
providedPorts()
| BT::PortsList moveit_pro::behaviors::RepeatUnlessFailureWithinTick::providedPorts () |
|
static
|
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus 2.2.2 by Doxygen 1.9.8.