Skip to content

Do main process in callback function #8

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tongtybj
Copy link

I can not understand the motivation to use a independent while scope to do the main function:
https://github.com/kam3k/laser_line_extraction/blob/master/src/line_extraction_node.cpp#L24-L29

Actually, for the consistency of the sensor flow, it is better to do the main process in sensor callback function, and use the same timestamp with the sensor' one.

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

Successfully merging this pull request may close these issues.

1 participant