pal_statistics topics.yaml syntax defined any place?

asked 2019-09-03 15:08:28 -0500

Is the syntax for the topics.yaml defined anyplace other then as an example on the tutorials page in the configuration section?

http://wiki.ros.org/pal_statistics/Tu...

I would like to send multiple stats using the same topic and not have them aggregated together. Sending each stat with a different topic works great but seems to be a lot of overhead.

$ cat topics.yaml 
topics:
    - name: '/my_statistics_topic'
      stats:
          - name: 'my_var'
            type: ['g']
    - name: '/your_statistics_topic'
      stats:
          - name: 'your_var'
            type ['g]

Putting my_var and your_var in the same stats section aggregates the values.

edit retag flag offensive close merge delete

Comments

I don't think there is any way to do it without actually changing the source code for reading yaml

Choco93 gravatar imageChoco93 ( 2019-09-04 06:40:39 -0500 )edit