Ask Your Question
0

ros publisher Node speed

asked 2017-05-17 06:04:59 -0500

UsmanArif gravatar image

I am running a ros publisher/subscriber node, which receives a single image from a /image_pub topic , do some processing and publish the results on /results topic. The image_pub topic is publishing at 20Hz but my publisher/subscriber node runs at 12 hz(i found it using rostopic hz /results). Is there any way to improve the speed or tell my program to run at 20Hz. At start it was running at 20Hz. Then i turned off my Linux for lunch, came back and restarted my program. Now its running at 12 hz. I have restarted it again and again but still runs at 12 hz. Any solution..?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-05-18 18:51:55 -0500

UsmanArif gravatar image

Got the answer, I am using ORB features detection, and in some cases the number of detected points is quite large, making my program slower.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2017-05-17 06:04:59 -0500

Seen: 276 times

Last updated: May 18 '17