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

Latched topic instead of continuously looped #12

Open
horverno opened this issue Jan 24, 2023 · 0 comments
Open

Latched topic instead of continuously looped #12

horverno opened this issue Jan 24, 2023 · 0 comments
Labels
question Further information is requested

Comments

@horverno
Copy link
Member

Instead of 40 HZ (ros::Rate rate(40);) a latched topic.

Quote from ROS documentation:

latch [optional] - Enables "latching" on a connection. When a connection is latched, the last message published is saved and automatically sent to any future subscribers that connect. This is useful for slow-changing to static data like a map. Note that if there are multiple publishers on the same topic, instantiated in the same node, then only the last published message from that node will be sent, as opposed to the last published message from each publisher on that single topic.

@horverno horverno added the question Further information is requested label Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant