Decorator that ticks its child up to num_cycles times within a single parent tick, stopping on first failure.
More...
#include <repeat_unless_failure_within_tick.hpp>
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.
- Warning
- 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 |
◆ RepeatUnlessFailureWithinTick()
| moveit_pro::behaviors::RepeatUnlessFailureWithinTick::RepeatUnlessFailureWithinTick |
( |
const std::string & |
name, |
|
|
const BT::NodeConfiguration & |
config |
|
) |
| |
◆ ~RepeatUnlessFailureWithinTick()
| moveit_pro::behaviors::RepeatUnlessFailureWithinTick::~RepeatUnlessFailureWithinTick |
( |
| ) |
|
|
overridedefault |
◆ 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: