-
Notifications
You must be signed in to change notification settings - Fork 67
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
Multiple Nodes #142
Comments
micro-ROS is not thread-safe by default. The recommended option for this use case is using a single node in a single task. |
OK, here's an update. Or else, try multi-threading with multi-core STM32 boards. I instead use only 1 FreeRTOS task to host everything. Still creating multiple nodes with multiple topics. The publishers are slightly delayed from each other as the number of publisher scale up. If this is what you're looking for, this is how I setup multiple nodes multiple topics (open for more examples and better suggestions 🙏 Thanks!) :
Inside the infinite loop
|
Hi, is there any example or support for multiple nodes?
I have 2 FreeRTOS tasks, each of them is hosting 1 node. Both FreeRTOS tasks are using the same U(S)ART DMA (ie: usart4).
However, when I run the micro_ros_agent on the workstation, it only detects 1 node with the following behavior :
Below is the "colcon.meta" which I have set the "-DRMW_UXRCE_MAX_NODES" to 2.
Can someone please guide me on this?
The text was updated successfully, but these errors were encountered: