The publish() function has been executed but sock_sendmsg() was not been called until after 100ms
littlebr369 opened this issue · 0 comments
littlebr369 commented
We have two chips communicating with each other, one is nvidia's xavier and the other is an intel chip. The xaiver chip sends a message to the intel chip through ros, and the frequency is 100hz.
But occasionally, no message can be sent within 100ms. We have accurately located the publish() function of ros already executed but not the sock_sendmsg() function in kernel. After 100ms, 10 stacked messages will be sent meanwhile sock_sendmsg() will execute 10 times.
I noticed that poll_set_ has an .update(100) with a cycle of 100ms. Does this have anything to do with the problem? What are the possibilities about this problem?