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

How should I deal with the update function in converting from node to nodelet #109

Open
SeokHwanHam opened this issue Mar 30, 2021 · 0 comments

Comments

@SeokHwanHam
Copy link

Hi,
I want to convert a ROS driver in node into nodelet.
For update function which is called every loop such as:

while(ros::OK())
{
update();
ros::spinOnce();
}

How this "update()" call is to be converted in nodelet?

I think createTimer(Duration(0, 0), update) does. But I cannot be assured because I don't exactly know how the ROS Timer works under the hood and I cannot find anything about this by googling.

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

1 participant