scripts/rawdata/pytreeros/smarc-project_smarc_missions_reactive_seq.py
def stop(self, new_status=pt.Status.INVALID):
        """
        Stopping a selector requires setting the current child to none. Note that it
        is important to implement this here instead of terminate, so users are free
        to subclass this easily with their own terminate and not have to remember
        that they need to call this function manually.

        Args:
            new_status (:class:`~py_trees.common.Status`): the composite is transitioning to this new status
        """
        # retain information about the last running child if the new status is
        # SUCCESS or FAILURE
        if new_status == pt.Status.INVALID:
            self.current_child = None
        pt.Composite.stop(self, new_status)

        Stopping a selector requires setting the current child to none. Note that it
        is important to implement this here instead of terminate, so users are free
        to subclass this easily with their own terminate and not have to remember
        that they need to call this function manually.

        Args:
            new_status (:class:`~py_trees.common.Status`): the composite is transitioning to this new status
        
Stopping a selector requires setting the current child to none. Note that it
is important to implement this here instead of terminate, so users are free
to subclass this easily with their own terminate and not have to remember
that they need to call this function manually.
Stopping a selector requires setting the current child to none . Note that it is important to implement this here instead of terminate so users are free to subclass this easily with their own terminate and not have to remember that they need to call this function manually .
def stop(self, new_status=pt.Status.INVALID):
        if new_status == pt.Status.INVALID:
            self.current_child = None
        pt.Composite.stop(self, new_status)
def stop ( self , new_status = pt . Status . INVALID ) : if new_status == pt . Status . INVALID : self . current_child = None pt . Composite . stop ( self , new_status )
Stopping a selector requires setting the current child to none.
Stopping a selector requires setting the current child to none .
"""
        Stopping a selector requires setting the current child to none. Note that it
        is important to implement this here instead of terminate, so users are free
        to subclass this easily with their own terminate and not have to remember
        that they need to call this function manually.

        Args:
            new_status (:class:`~py_trees.common.Status`): the composite is transitioning to this new status
        """ # retain information about the last running child if the new status is # SUCCESS or FAILURE
self
new_status
new_status (
`~py_trees.common.Status`): the composite is transitioning to this new status
` ~py_trees . common . Status ` ) : the composite is transitioning to this new status