Open Junming-Liang opened 10 months ago
I found the reason why the published best effort topics could not be received. The solution is the same as for this issue:https://github.com/micro-ROS/micro_ros_setup/issues/236. It's because when I subscribed to the corresponding topics in ROS, I did not set the QOS to best effort.However, I still have not found a solution for the issue with the Trigger.
Can we close this as solved?
Can we close this as solved?
Thank you very much for your reply. After setting the publisher correctly, my issue was actually resolved. Now I can subscribe and publish related topics normally. However, my question about the Trigger remains unresolved. After I set up the Trigger, there is still the issue that none of the topics can enter the callback function, whether using rclc_executor_trigger_one or rclc_executor_trigger_all. This is very frustrating for me.
@JanStaschulat could you take a look at this issue about triggering the executor in RCLC?
Issue template
Steps to reproduce the issue
Expected behavior
All subscribers should be able to enter their callback functions when there are publishers in the system.
Actual behavior
When using only subscribers, everything works fine. However, when adding publishers to the system, some subscribers cannot enter their callback functions. (This problem also occurs when I don't set up a publisher and receive topic messages at a high frequency)The following solutions have been attempted but did not fully resolve the issue:
Additional information
This is my source code app.c:
Three publisher working but no one enter callback,Looking forward to your reply very much