Get the *tip* of this behaviour's subtree (if it has one) after it's last tick. This corresponds to the the deepest node that was running before the subtree traversal reversed direction and headed back to this node.
(self)
| 89 | self.status = new_status |
| 90 | |
| 91 | def tip(self): |
| 92 | """ |
| 93 | Get the *tip* of this behaviour's subtree (if it has one) after it's last |
| 94 | tick. This corresponds to the the deepest node that was running before the |
| 95 | subtree traversal reversed direction and headed back to this node. |
| 96 | """ |
| 97 | if self.decorated.status != py_trees.common.Status.INVALID: |
| 98 | return self.decorated.tip() |
| 99 | |
| 100 | return super(Decorator, self).tip() |
| 101 | |
| 102 | |
| 103 | def oneshot_behavior(variable_name, behaviour, name=None): |
nothing calls this directly
no outgoing calls
no test coverage detected