anqixu / ueye_cam

A ROS nodelet and node that wraps the driver API for UEye cameras by IDS Imaging Development Systems GMBH.
Other
60 stars 102 forks source link

ueye_cam nodelet with single subscriber using 70 % CPU #94

Closed dt-developer1 closed 3 years ago

dt-developer1 commented 3 years ago

I am using 3 IDS Ueyecameras with This package. I am publishing all data to ros master and tested the live streams using rqt_image_view and with simaple subscriber python code.

All 3 cameras with publishing only taking 1 % CPU. But using python simple subscriber sample code to view image taking 70% CPU. Alos , tried with rqt_)imageview, it also taking same amount of CPU. "top" command showing ueye nodelet is taking 500% cpu and some other command showing 60% of total CPU used.

How to reduce this?

OS : Ubuntu 18.04 ROS : Melodic ROS_Melodic_ueyecam_cpu_usage

nullket commented 3 years ago