Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assertion on unaligned arrays #68

Closed
Tariq-Abuhashim opened this issue May 25, 2020 · 1 comment
Closed

assertion on unaligned arrays #68

Tariq-Abuhashim opened this issue May 25, 2020 · 1 comment

Comments

@Tariq-Abuhashim
Copy link

Tariq-Abuhashim commented May 25, 2020

Compiled using catkin_make:
compiler is gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609

when running the example:
./devel/lib/depth_clustering/show_objects_moosmann --path data/scenario1/

Result is:
INFO: Reading from: data/scenario1/
INFO: running on Moosman data
INFO: Getting file paths from folder: data/scenario1/
INFO: There are 2513 '.png' files in the folder.
INFO: Getting file paths from folder: data/scenario1/
INFO: There are 1 'img.cfg' files in the folder.
INFO: Set en_US.UTF-8 locale.
INFO: Reading config.
INFO: Skipping commentary:
# imgHSize; imgVSize; horizStartAngle(grad); horizStopAngle(grad); vertAngle_1; vertAngle_2; ...; vertAngle_n
start:180.000000, stop:-180.000000, span:360.000000, step:-0.413793
INFO: Params sucessfully read. Rows: 64, Cols: 870

Setting Connection
|| Sender: DepthGroundRemover (id: 1)
|| Type: STREAMER
|| |
|| V
|| Client: ImageBasedClustere<(short)1, (short)1> > (id: 3)

Setting Connection
|| Sender: ImageBasedClustere<(short)1, (short)1> > (id: 3)
|| Type: STREAMER
|| |
|| V
|| Client: ObjectPainter (id: 4)

show_objects_moosmann: /usr/local/include/eigen3/Eigen/src/Core/DenseStorage.h:128: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 32>::plain_array() [with T = float; int Size = 16; int MatrixOrArrayOptions = 0]: Assertion `(internal::UIntPtr(eigen_unaligned_array_assert_workaround_gcc47(array)) & (31)) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ****"' failed.
Aborted (core dumped)

@Tariq-Abuhashim
Copy link
Author

Tariq-Abuhashim commented May 25, 2020

I have fixed this issue.
It turned out that the source isn't compatible with PCL 1.9.
I uninstalled PCL, and used PCL 1.7 shipped with ROS.
I recall also testing it with PCL 1.8 successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant