Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 99

what if computation complexity cannot meet the demand of callback frequency

$
0
0
According to the totorials, the callback function frequency is dependent on the its subscribing topic frequency. What will happen if the callback function is very complex and the computation time is very long. For example, the scanCallBack function process "/scan" topic data. Suppose the "/scan" topic data publish rate is 100Hz. But the one loop computation time of scanCallBack function needs 0.1s, I.E. ite max frequency can only be 10Hz. What will be the actual rate. Anyone can give any idea?

Viewing all articles
Browse latest Browse all 99

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>