@@ -52,10 +52,6 @@ and should be evaluated as code. For a concrete example see below:
5252In the above example the ` qos_profile ` is evaluated as python code. Notice to
5353use any python module you must use the fully qualified name.
5454
55- note: Boolean values should be considered python as checking the truth of a
56- python string will always be evaluated as ` True ` , e.g. ` if "False": ` will evaluate
57- to ` True ` .
58-
5955### Idioms
6056
6157Idioms are also now supported. An idiom is a special function that produces
@@ -79,14 +75,14 @@ Create an XML file that represents your behavior tree. The XML structure should
7975define the nodes and their attributes. It should be similar to the following:
8076
8177``` xml
82- <py_trees .composites.Parallel name =" TutorialOne" synchronise =" $( False) " >
83- <py_trees .composites.Sequence name =" Topics2BB" memory =" $( False) " >
78+ <py_trees .composites.Parallel name =" TutorialOne" synchronise =" False" >
79+ <py_trees .composites.Sequence name =" Topics2BB" memory =" False" >
8480 <py_trees_ros .battery.ToBlackboard name =" Battery2BB"
8581 topic_name =" /battery/state"
8682 qos_profile =" $(py_trees_ros.utilities.qos_profile_unlatched())"
8783 threshold =" 30.0" />
8884 </py_trees .composites.Sequence>
89- <py_trees .composites.Selector name =" Tasks" memory =" $( False) " >
85+ <py_trees .composites.Selector name =" Tasks" memory =" False" >
9086 <py_trees .behaviours.Running name =" Idle" />
9187 <py_trees .behaviours.Periodic name =" Flip Eggs" n =" 2" />
9288 </py_trees .composites.Selector>
@@ -162,7 +158,7 @@ another subtree. However, be aware that the all directories are absolute, but it
162158is possible to use python to determine the path like so:
163159
164160``` xml
165- <py_trees .composites.Parallel name =" Subtree Tutorial" synchronise =" $( False) " >
161+ <py_trees .composites.Parallel name =" Subtree Tutorial" synchronise =" False" >
166162 <subtree
167163 name =" my_subtree"
168164 include =" $(os.path.join(ament_index_python.packages.get_package_share_directory('my_package'), 'tree', 'subtree.xml'))" />
@@ -222,4 +218,4 @@ and finally in subtree2
222218<py_trees .composites.Sequence name =" Cascading Arg Tutorial" >
223219 <py_trees .behaviors.Success name =" ${baz}" />
224220</py_trees .composites.Sequence>
225- ```
221+ ```
0 commit comments