-
Notifications
You must be signed in to change notification settings - Fork 135
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
rcl_executor_spin stuck on freeRTOS #667
Comments
Avoid using Use this approach:
|
Just a question. If I define a custom transport in the microros thread task like this:
And then in the transport_read i call a blocking task operation like:
Does this operation affect the execution of the main thread? The main thread won't execute until the end of the delay inside the read or will it normally continue its execution? |
yes, if you block in the read operation it will block the spin. |
And also the main thread that has set the custom transport? |
no, the read operation happens inside the spin, so only is blocked the task that runs the spin. |
Issue template
I am trying to define a pub/sub node on microros. Using the following code the execution stops at rclc_executor_spin. Is there something wrong with the initialization?
The text was updated successfully, but these errors were encountered: