Skip to content

Commit 0ee0a20

Browse files
committed
Fix some string-embedded XML indentation.
1 parent 0786475 commit 0ee0a20

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

python_examples/ex01_sample.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
<root BTCPP_format="4" >
1212
1313
<BehaviorTree ID="MainTree">
14-
<Sequence name="root">
15-
<AlwaysSuccess/>
16-
<SaySomething message="this works too" />
17-
<ThinkWhatToSay text="{the_answer}"/>
18-
<SaySomething message="{the_answer}" />
19-
</Sequence>
14+
<Sequence name="root">
15+
<AlwaysSuccess/>
16+
<SaySomething message="this works too" />
17+
<ThinkWhatToSay text="{the_answer}"/>
18+
<SaySomething message="{the_answer}" />
19+
</Sequence>
2020
</BehaviorTree>
2121
2222
</root>

python_examples/ex02_generic_data.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
<root BTCPP_format="4" >
1313
1414
<BehaviorTree ID="MainTree">
15-
<Sequence name="root">
16-
<AlwaysSuccess/>
17-
<Rotate position="[1.0, 0.0]" theta="90." out="{rotated}" />
18-
<Translate position="{rotated}" offset="[0.1, 0.1]" out="{translated}" />
19-
<Print value="{translated}" />
20-
</Sequence>
15+
<Sequence name="root">
16+
<AlwaysSuccess/>
17+
<Rotate position="[1.0, 0.0]" theta="90." out="{rotated}" />
18+
<Translate position="{rotated}" offset="[0.1, 0.1]" out="{translated}" />
19+
<Print value="{translated}" />
20+
</Sequence>
2121
</BehaviorTree>
2222
2323
</root>

python_examples/ex04_ros_interop.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
<root BTCPP_format="4" >
2929
3030
<BehaviorTree ID="MainTree">
31-
<ReactiveSequence name="root">
32-
<Print value="{tf}" />
33-
<GetRosTransform frame_id="odom" child_frame_id="base_link" tf="{tf}" />
34-
</ReactiveSequence>
31+
<ReactiveSequence name="root">
32+
<Print value="{tf}" />
33+
<GetRosTransform frame_id="odom" child_frame_id="base_link" tf="{tf}" />
34+
</ReactiveSequence>
3535
</BehaviorTree>
3636
3737
</root>

python_examples/ex06_async_nodes.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
<root BTCPP_format="4" >
2222
2323
<BehaviorTree ID="MainTree">
24-
<ReactiveSequence name="root">
25-
<Print value="{command}" />
26-
<MyAsyncNode start="[0.1, -0.2]" goal="[-0.6, 0.3]" command="{command}" />
27-
</ReactiveSequence>
24+
<ReactiveSequence name="root">
25+
<Print value="{command}" />
26+
<MyAsyncNode start="[0.1, -0.2]" goal="[-0.6, 0.3]" command="{command}" />
27+
</ReactiveSequence>
2828
</BehaviorTree>
2929
3030
</root>

0 commit comments

Comments
 (0)