Compilation error with kinetic [closed]

asked 2017-03-24 05:13:58 -0600

terminxd gravatar image

updated 2017-03-27 03:41:38 -0600

error: ‘sensor_msgs::PointCloud {aka struct sensor_msgs::PointCloud_<std::allocator<void> >}’ has no member named ‘get_points_size’

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

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

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by NEngelhard
close date 2017-03-27 07:14:41.467074

Comments

2

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

nlamprian gravatar imagenlamprian ( 2017-03-24 05:29:10 -0600 )edit