Changing Publishing Frequency of Logged Topics

Hello Everyone,

I want to adjust the publishing frequency of logged topics. My purpose is to make timestamps of some topics the same as each other. For example vehicle angular velocity topic is logged 100 times, while the trajectory setpoint is logged 5 times in a second. I need to match different topics’ data according to their timestamps, but the frequency difference is creating a problem.

I edited the intervals of topics in logged_topics.cpp file. However, this didn’t solve the issue. What should I change?

Thanks for your help,
Best regards.

You can edit the intervals in logged_topics.cpp but it will still only be published on-update. Topics will not have the exact same timestamp since the value is in microseconds and they’d have to be published at exactly the same time for their timestamps to match.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.