37 from json 
import loads, dumps
    40 """ Methods to interact with the param server.  Values have to be passed    41 as JSON in order to facilitate dynamically typed SRV messages """    44 param_server_lock = threading.RLock()
    47     if params_glob 
and not any(fnmatch.fnmatch(str(name), glob) 
for glob 
in params_glob):
    57         raise Exception(
"Due to the type flexibility of the ROS parameter server, the value argument to set_param must be a JSON-formatted string.")
    58     with param_server_lock:
    59         rospy.set_param(name, d)
    63     if params_glob 
and not any(fnmatch.fnmatch(str(name), glob) 
for glob 
in params_glob):
    75     with param_server_lock:
    76         value = rospy.get_param(name, d)
    80     if params_glob 
and not any(fnmatch.fnmatch(str(name), glob) 
for glob 
in params_glob):
    86     with param_server_lock:
    87         return rospy.has_param(name)
    90     if params_glob 
and not any(fnmatch.fnmatch(str(name), glob) 
for glob 
in params_glob):
    97         with param_server_lock:
    98             rospy.delete_param(name)
   101     if params_glob 
and not any(fnmatch.fnmatch(str(name), glob) 
for glob 
in params_glob):
   107     return rospy.search_param(name)
   110     with param_server_lock:
   113             return filter(
lambda x: any(fnmatch.fnmatch(str(x), glob) 
for glob 
in params_glob), rospy.get_param_names())
   116             return rospy.get_param_names()
 def has_param(name, params_glob)
def set_param(name, value, params_glob)
def delete_param(name, params_glob)
def get_param_names(params_glob)
def get_param(name, default, params_glob)
def search_param(name, params_glob)