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

UCLIENT_PROFILE_MULTITHREAD not working for FreeRTOS #114

Open
DrMarkusKrug opened this issue Aug 11, 2023 · 0 comments
Open

UCLIENT_PROFILE_MULTITHREAD not working for FreeRTOS #114

DrMarkusKrug opened this issue Aug 11, 2023 · 0 comments

Comments

@DrMarkusKrug
Copy link

After generating the micro ros library with the multithread flag enabled (and adding the FreeRTOS headers to the compile search path) I realized that my application is broken. It seems to me that at least the custom transport for writing data to the host is not working properly. The data structure for the belong DMA receive channel is not initialized and the transmit doesn't seem to be correct (see screenshot on the right hand side).
Screenshot from 2023-08-11 13-33-37
If I use a non multithread version of the micro ros library the exact same position in the code (and also in the execution order) looks like:
Screenshot from 2023-08-11 13-37-17

From previous experience I assume that something is going wrong in allocating the memory for the protecting semaphores that are used in the ROS2 or DDS layers.

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