I have 2 ROS nodes running sequentially from a script. Node1 sets some params in the parameter server which are to be used by node2. But node2 starts after node1 is killed. Currently I have a yaml config file where the dummy values of the params are saved and I load this file in the launch file. As soon as node1 starts I can see the params being updated in the server to new values. Node1 is killed and node2 starts. But node2 is using the dummy values set in yaml
How do I make sure node2 uses new values set by node1 in the parameter server?
using rospy.set_param
to set the values in node1 and rospy.get_param
in node2 to read the params
Originally posted by dee-mikey on ROS Answers with karma: 5 on 2021-06-14
Post score: 0
Original comments
Comment by abhishek47 on 2021-06-15:\
I have a yaml config file where the dummy values of the params are saved and I load this file in the launch file.
Can you edit your question to include that section of the launch file?