yaml文件同步到ros parameter server

import roslib
roslib.load_manifest("rosparam")
import rosparam

paramlist=rosparam.load_file("/path/to/myfile",default_namespace="my_namespace")
for params, ns in paramlist:
    rosparam.upload_params(ns,params)

参考:https://answers.ros.org/question/58819/programatically-load-yaml-config-file-to-the-parameter-server/