How to provide same parameter for multiple nodes using parameter file
Hi, I was writing a parameter file for multiple nodes and was wondering if I can pass the same parameter for multiple nodes without me specifically mentioning it in the parameters list of each node. like
lidar_data:
ros__parameters:
robot_name: "BOT02/"
gpio_reader:
ros__parameters:
robot_name: "BOT02/"
gpio_writer:
ros__parameters:
robot_name: "BOT02/"
Over here I have passed robot_name to each node and in the future, if I want to change the name I have to replace it for each node. Is there something like declaring on the top of the parameter file like we do with packages and that variable is passed on wherever is required?
Thanks in advance.