Robotics StackExchange | Archived questions

compiling error with: ROS Fuerte + pcl

I'm using Ubuntu 12.04 + ROS Fuerte + pcl and ros_pcl packages. When I try to use an object of the class PointCloudColorHandlerCustom, belonging to the pcl library (1.5) included in ROS, I have an error.

The code is the following:

pcl::visualization::PointCloudColorHandlerCustom<pcl::PointXYZ> blue_color (particle_cloud, 250, 99, 71);

and the error is:

The type 'pcl::visualization::PointCloudColorHandlerCustom' must implement the inherited pure virtual method 'pcl::visualization::PointCloudColorHandler::getColor' 

P.S. I'm trying to port under ROS the openni_tracking example.

Asked by Vito on 2013-07-02 07:05:38 UTC

Comments

what are your includes?

Asked by jcc on 2013-07-02 16:20:00 UTC

you can see my includes here: http://pastebin.com/qfhBi08d

Asked by Vito on 2013-07-02 21:24:31 UTC

Answers