Ask Your Question

Run time assertion in eigen/src/Core/Block.h while using pcl::NormalEstimation

asked 2011-06-23 12:55:36 -0500

Ankit gravatar image

updated 2011-09-03 15:34:57 -0500

kwc gravatar image

I am using diamondback version of ROS on Ubuntu 10.10. I am trying to estimate the normals of the point cloud using pcl::NormalEstimation class. But on running the code, I get runtime assertion on line 278 of the Block.h file. Here's the console output:

Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel, true>
::Block(XprType&, typename Eigen::internal::
traits<Eigen::Block<XprType, BlockRows, BlockCols, InnerPanel, true> >::Index) 
[with XprType = Eigen::Matrix<float, 3, 3, 0, 3, 3>, 
int BlockRows = 3, int BlockCols = 1, bool InnerPanel = true]: 
Assertion `(i>=0) && ( ((BlockRows==1) && (BlockCols==XprType::ColsAtCompileTime) 
&& i<xpr.rows()) ||((BlockRows==XprType::RowsAtCompileTime) && (BlockCols==1) 
&& i<xpr.cols()))' failed.

Does anybody know why this might be happening?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-09-02 10:35:16 -0500

Mac gravatar image

This question is best asked on pcl-users.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-06-23 12:55:36 -0500

Seen: 1,231 times

Last updated: Sep 02 '11