Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Just curious about how the publishing frequency is implemented? #155

Open
leoxiang66 opened this issue Nov 18, 2024 · 1 comment
Open

Just curious about how the publishing frequency is implemented? #155

leoxiang66 opened this issue Nov 18, 2024 · 1 comment

Comments

@leoxiang66
Copy link

Hi I walk through the code for a while but I didn't find how the publishing frequency is implemented?

Anyone please help me thx!

@georgflick
Copy link

it's in the checkTimer function in pub_handler.cpp

if (now_time - last_pub_time_ < std::chrono::nanoseconds(publish_interval_)) {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants