point_cloud2 read_points asking too much from python?

asked 2016-04-07 06:23:33 -0500

chiyuan gravatar image

updated 2016-04-07 06:24:05 -0500

I'm writing a particle filter in python, and have a point cloud message coming in at a frequency of 10Hz, i.e 0.1secs for measurement update. When I use point_cloud2.read_points to grab the message, I realized that it is already taking 0.15s.

Am I asking too much from rospy, and should switch to C++ and use the pcl conversion instead, or is there any alternatives?

edit retag flag offensive close merge delete