| 33 | BT::FallbackNode fal_conditions; |
| 34 | |
| 35 | BehaviorTreeTest() |
| 36 | : root("root_sequence") |
| 37 | , action_1("action_1", milliseconds(100)) |
| 38 | , condition_1("condition_1") |
| 39 | , condition_2("condition_2") |
| 40 | , fal_conditions("fallback_conditions") |
| 41 | { |
| 42 | root.addChild(&fal_conditions); |
| 43 | { |
| 44 | fal_conditions.addChild(&condition_1); |
| 45 | fal_conditions.addChild(&condition_2); |
| 46 | } |
| 47 | root.addChild(&action_1); |
| 48 | } |
| 49 | ~BehaviorTreeTest() override = default; |
| 50 | BehaviorTreeTest(const BehaviorTreeTest&) = delete; |
| 51 | BehaviorTreeTest& operator=(const BehaviorTreeTest&) = delete; |