Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

How to publish ROS2 msg in loop? #156

Open
MikoyChinese opened this issue Sep 9, 2020 · 0 comments
Open

How to publish ROS2 msg in loop? #156

MikoyChinese opened this issue Sep 9, 2020 · 0 comments

Comments

@MikoyChinese
Copy link

Hi,
I am newer for ROS2, and I check your code that I have no idea about how to publish ROS2 msg in loop. The only timer in node is:

timer_ = this->create_wall_timer(std::chrono::seconds(1), std::bind(&RealSenseCameraNode::publishStaticTransforms, this));

So how can you always update color and depth msg?

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

No branches or pull requests

1 participant