How to determine the source list content with rosparam tag?


I compared these two files: fetch_planning_execution.launch and rbkairos_planning_execution.launch

I found out there is a slight difference:

in rbkairos_planning_execution.launch:

<rosparam param="/source_list">[/rbkairos/joint_states]</rosparam>

in fetch_planning_execution.launch:

<rosparam param="/source_list">[/joint_states]</rosparam>

So how could one know when he/she should add the robot namespace before the /join_states here? In which file we could check?

All the best,

@albertoezquerro Sir, could you please help me figure out it?

Hello @yijionglin.bourne,

You can check it by doing a rostopic list, with the following command:

rostopic list | grep joint_states

This way you will check easily if it contains a namespace or not.


1 Like