Robotics StackExchange | Archived questions

vfh_cluster_classifier's demo got a error

Hi!

I'm learning the package : vfhclusterclassifier for object recognition.

I'm using ubuntu 11.04 and ros-electric.

I'm following the page : http://www.ros.org/wiki/vfhclusterclassifier#.I'm learning the demos and using the given training data(vfhclusterclassifier_demo.tbz), when doing it in the following way :

launch vfh_cluster_classifier estimate_vfh.launch
bash 0.estimate_vfh.sh

Error message as bellow:

[ INFO] [1318608232.064758242]: waitForService: Service [/manager_read/load_nodelet] is now available.
[ INFO] [1318608239.141654826]: [/Reader::onInit] New file given: /home/kexiang/test/data/200.921.07/1258648625333_cluster_1_nxyz.pcd
nodelet: /home/kexiang/ros_workstation/perception_pcl/flann/include/flann/algorithms/kdtree_single_index.h:155: void flann::KDTreeSingleIndex<Distance>::BoundingBox::computeFromData(const    flann::Matrix<typename Distance::ElementType>&) [with Distance = flann::L2_Simple<float>,   typename Distance::ElementType = float]: Assertion `data.rows>0' failed.
[manager_compute-2] process has died [pid 2262, exit code -6].
log files: /home/kexiang/.ros/log/69a14588-f67b-11e0-a8e0-14feb5ad45b6/manager_compute-2*.log
[VFH-4] process has finished cleanly.
log file: /home/kexiang/.ros/log/69a14588-f67b-11e0-a8e0-14feb5ad45b6/VFH-4*.log

Maybe flann::Matrix data hasn't been assigned correctly during pcl/VFHEstimator, but I'm not very sure. Thanks for advice!

Asked by kexiang on 2011-10-14 05:00:27 UTC

Comments

Answers