code: def set_parameter(self, name, value):
          
          i = self.get_parameter_names(include_frozen=True).index(name)
          v = self.get_parameter_vector(include_frozen=True)
          v[i] = value
          self.set_parameter_vector(v, include_frozen=True)
docs: Set a parameter value by name
  
          Args:
              name: The name of the parameter
              value (float): The new value for the parameter