Robotics StackExchange | Archived questions

Compilation error with kinetic

error: ‘sensormsgs::PointCloud {aka struct sensormsgs::PointCloudstd::allocator<void >}’ has no member named ‘getpoints_size’

cout << "The first segment of the first track has " << cloud.getpointssize() << " points." << endl;

Could anyone tell me,what could i change? Because i'm getting error during compilation. Thanks!

Asked by terminxd on 2017-03-24 05:13:58 UTC

Comments

sensor_msgs::PointCloud is a plain message type. There are no special member functions like get_points_size.

Asked by nlamprian on 2017-03-24 05:29:10 UTC

Answers