File tree 5 files changed +11
-7
lines changed
include/behaviortree_cpp_v3/decorators
5 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ It is also the first practical example that uses `Decorators` and `Fallback`.
23
23
<Inverter >
24
24
<IsDoorOpen />
25
25
</Inverter >
26
- <RetryUntilSuccesful num_attempts =" 4" >
26
+ <RetryUntilSuccessful num_attempts =" 4" >
27
27
<OpenDoor />
28
- </RetryUntilSuccesful >
28
+ </RetryUntilSuccessful >
29
29
<PassThroughDoor />
30
30
</Sequence >
31
31
</BehaviorTree >
Original file line number Diff line number Diff line change 53
53
<w >150</w >
54
54
<h >40</h >
55
55
</coordinates >
56
- <panel_attributes >RetryUntilSuccesful
56
+ <panel_attributes >RetryUntilSuccesfful
57
57
(num_attempts=4)</panel_attributes >
58
58
<additional_attributes />
59
59
</element >
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Robot Behaviors</panel_attributes>
43
43
<w >150</w >
44
44
<h >40</h >
45
45
</coordinates >
46
- <panel_attributes >RetryUntilSuccesful </panel_attributes >
46
+ <panel_attributes >RetryUntilSuccessful </panel_attributes >
47
47
<additional_attributes />
48
48
</element >
49
49
<element >
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ static const char* xml_text = R"(
29
29
<Inverter>
30
30
<Condition ID="IsDoorOpen"/>
31
31
</Inverter>
32
- <RetryUntilSuccesful num_attempts="4">
32
+ <RetryUntilSuccessful num_attempts="4">
33
33
<OpenDoor/>
34
- </RetryUntilSuccesful >
34
+ </RetryUntilSuccessful >
35
35
<PassThroughDoor/>
36
36
</Sequence>
37
37
</BehaviorTree>
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ namespace BT
32
32
* <RetryUntilSuccessful num_attempts="3">
33
33
* <OpenDoor/>
34
34
* </RetryUntilSuccessful>
35
+ *
36
+ * Note:
37
+ * RetryNodeTypo is only included to support the depricated typo
38
+ * "RetryUntilSuccesful" (note the single 's' in Succesful)
35
39
*/
36
40
class RetryNode : public DecoratorNode
37
41
{
@@ -64,7 +68,7 @@ class RetryNode : public DecoratorNode
64
68
65
69
class
66
70
[[deprecated(" RetryUntilSuccesful was a typo and deprecated, use RetryUntilSuccessful instead." )]]
67
- RetryNodeTypo : RetryNode{
71
+ RetryNodeTypo : public RetryNode{
68
72
public:
69
73
RetryNodeTypo (const std::string& name, int NTries)
70
74
: RetryNode (name, NTries)
You can’t perform that action at this time.
0 commit comments