srunner/scenariomanager/scenarioatomics/atomic_behaviors.py
def update(self):
        """
        update value of global osc parameter.
        """
        old_value = CarlaDataProvider.get_osc_global_param_value(self._parameter_ref)

        if self._rule == '+':
            new_value = self._value + float(old_value)
        elif self._rule == '*':
            new_value = self._value * float(old_value)
        else:
            new_value = self._value

        CarlaDataProvider.update_osc_global_params({self._parameter_ref: new_value})
        new_status = py_trees.common.Status.SUCCESS

        self.logger.debug("%s.update()[%s->%s]" % (self.__class__.__name__, self.status, new_status))
        return new_status

        update value of global osc parameter.
        
update value of global osc parameter.
update value of global osc parameter .
def update(self):
        old_value = CarlaDataProvider.get_osc_global_param_value(self._parameter_ref)
        if self._rule == '+':
            new_value = self._value + float(old_value)
        elif self._rule == '*':
            new_value = self._value * float(old_value)
        else:
            new_value = self._value
        CarlaDataProvider.update_osc_global_params({self._parameter_ref: new_value})
        new_status = py_trees.common.Status.SUCCESS
        self.logger.debug("%s.update()[%s->%s]" % (self.__class__.__name__, self.status, new_status))
        return new_status
def update ( self ) : old_value = CarlaDataProvider . get_osc_global_param_value ( self . _parameter_ref ) if self . _rule == '+' : new_value = self . _value + float ( old_value ) elif self . _rule == '*' : new_value = self . _value * float ( old_value ) else : new_value = self . _value CarlaDataProvider . update_osc_global_params ( { self . _parameter_ref : new_value } ) new_status = py_trees . common . Status . SUCCESS self . logger . debug ( "%s.update()[%s->%s]" % ( self . __class__ . __name__ , self . status , new_status ) ) return new_status
update value of global osc parameter.
update value of global osc parameter .
"""
        update value of global osc parameter.
        """
self