ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

tabletop_segmentation fails (eigen error)

asked 2011-06-29 03:01:26 -0600

GuiHome gravatar image

Hi,

using the customized object manipulation stack for sr_hand, with diamondback packages openni, household_object_database, tabletop_object_detector, object_manipulation, I ran into this error when asking to detect an object :

tabletop_segmentation: /opt/ros/diamondback/stacks/ geometry/eigen/include/Eigen/ src/Core/DenseStorage.h:69: Eigen::internal::plain_array< T, Size, MatrixOrArrayOptions, 16>::plain_array() [with T = float, int Size = 4, int MatrixOrArrayOptions = 0]: Assertion `(reinterpret_cast<size_t>( array) & 0xf) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/ dox/UnalignedArrayAssert.html" " * READ THIS WEB PAGE !!! ***"' failed. Not sure this is duplicate of "eigen-package-error-while-running-tod_detecting"

What should I do to get rid of this error ?

best regards, Guillaume WALCK

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2011-07-02 13:20:25 -0600

Nutan gravatar image

HI, Because that package is for 64 bit system, so you should change some commands. Change them to this stype

pcl::PointCloud<point>::ConstPtr table_projected_ptr (new pcl::PointCloud<point>(table_projected));

edit flag offensive delete link more

Comments

Indeed, I am running a 32bit Ubuntu. Thanks a lot, appears it was the reason it failed. I changed several such lines in tabletop_segmentation.cpp and I have no more issues. As soon as I get a 64bit version I will test again and come back if the changes are also required on 64bits.
GuiHome gravatar image GuiHome  ( 2011-07-04 00:10:41 -0600 )edit
0

answered 2011-10-14 08:50:52 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hello, I have the same problem but I'm not sure what commands should I change in order to make it run in Ubuntu 32bit. Could you give me more details.

edit flag offensive delete link more

Comments

ex : pcl::PointCloud<Point>::ConstPtr table_projected_ptr = boost::make_shared<const pcl::PointCloud<Point>> (table_projected); should be pcl::PointCloud<point>::ConstPtr table_projected_ptr(new pcl::PointCloud<point>(table_projected)); Do this for all (4 or 5) the *_ptr using boost::make_shared
GuiHome gravatar image GuiHome  ( 2011-10-21 07:12:44 -0600 )edit

Question Tools

Stats

Asked: 2011-06-29 03:01:26 -0600

Seen: 454 times

Last updated: Oct 14 '11