rosapi: how to filter topics
I am trying to understand rosapi.
Here is my test:
- Launching some of my own ros nodes
- Doing
rostopic list
reveals a long list of topics - Launching
rosapi
with a launch file that sets the topics_glob param. The console output confirms that the topics_glob is set as expected:
SUMMARY ======== PARAMETERS * /rosapi/params_glob: [*] * /rosapi/services_glob: [*] * /rosapi/topics_glob: [/rosout] * /rosdistro: kinetic * /rosversion: 1.12.13
But when I then do rosservice call /rosapi/topics
, all existing topics are listed, incl /rosout.
I expected to see only the /rosout listed due to the topics_glob.
Are my expectations wrong?
What is the right use of the *_glob
parameters?