File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -79,9 +79,9 @@ def __init__(self, name: str):
79
79
) # convenience
80
80
self .status = common .Status .INVALID
81
81
self .iterator = self .tick ()
82
- self .parent : typing .Optional [
83
- Behaviour
84
- ] = None # will get set if a behaviour is added to a composite
82
+ self .parent : typing .Optional [Behaviour ] = (
83
+ None # will get set if a behaviour is added to a composite
84
+ )
85
85
self .children : typing .List [Behaviour ] = [] # only set by composite behaviours
86
86
self .logger = logging .Logger (name )
87
87
self .feedback_message = "" # useful for debugging, or human readable updates, but not necessary to implement
Original file line number Diff line number Diff line change 17
17
##############################################################################
18
18
19
19
20
- def create_root () -> (
21
- typing .Tuple [
22
- py_trees .behaviour .Behaviour ,
23
- py_trees .behaviour .Behaviour ,
24
- py_trees .behaviour .Behaviour ,
25
- ]
26
- ):
20
+ def create_root () -> typing .Tuple [
21
+ py_trees .behaviour .Behaviour ,
22
+ py_trees .behaviour .Behaviour ,
23
+ py_trees .behaviour .Behaviour ,
24
+ ]:
27
25
trigger_one = py_trees .decorators .FailureIsRunning (
28
26
name = "FisR" , child = py_trees .behaviours .SuccessEveryN (name = "Joystick 1" , n = 4 )
29
27
)
You can’t perform that action at this time.
0 commit comments