Skip to content

Do main process in callback function #8

Open
tongtybj wants to merge 2 commits into
kam3k:masterfrom
tongtybj:process_in_callback
Open

Do main process in callback function #8
tongtybj wants to merge 2 commits into
kam3k:masterfrom
tongtybj:process_in_callback

Conversation

@tongtybj
Copy link
Copy Markdown

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