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

Time performance was dropped by transmission period.

$
0
0
Hello, guys. I have used ROS Kinetic on ubuntu 16.04. I make a two node. The one is publisher node to publish image topic. Another is subscriber node to subscribe publisher's topic. The transmission period of the publisher node is 30 fps approximately. As you can see in the code below, When I remove the remark of line include the `cv::wait(30)` function, Subscriber does not work at regular intervals. Performance dropped to 1 fps. I can not find a clue. Can you tell me what keywords I can find information about? ...(On Subscriber Node)... while(ros::ok()) { ros::spinOnce(); image_sub_ = it_.subscribe("/video/image/ch0", 1, &imageCb); // 30 fps by publisher! // chKey = cv::waitKey(30); } ...

Viewing all articles
Browse latest Browse all 99

Trending Articles



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