Robotics StackExchange | Archived questions

pal_statistics topics.yaml syntax defined any place?

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/Tutorials/Aggregate%2C%20store%20and%20visualise%20statistics

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 myvar and yourvar in the same stats section aggregates the values.

Asked by rdinoff on 2019-09-03 15:08:28 UTC

Comments

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

Asked by Choco93 on 2019-09-04 06:40:39 UTC

Answers