ros / ros_comm

ROS communications-related packages, including core client libraries (roscpp, rospy, roslisp) and graph introspection tools (rostopic, rosnode, rosservice, rosparam).
http://wiki.ros.org/ros_comm
747 stars 914 forks source link

Param cached update very slowly. #2288

Open Andor233 opened 1 year ago

Andor233 commented 1 year ago
    def send_param(param, value):
        print(value)

    rospy.impl.paramserver.get_param_server_cache().set_notifier(send_param)
    rospy.get_param_cached("test")

When I set the param "test", the value will be printed with over 1 min delay.