Hi again Radu,<br><br>checked out version 32771 and now its working fine for me too. Thanks!<br><br>Cheers,<br>Aitor<br><br><div class="gmail_quote">On Mon, Sep 20, 2010 at 5:07 AM, Radu Bogdan Rusu <span dir="ltr"><<a href="mailto:rusu@willowgarage.com">rusu@willowgarage.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hmm, I think I fixed it. Aitor, Sabrina, would it be possible to try trunk (32769+)? If this works for you, then I will include it in the next release (0.3.1) as soon as you reply back.<br>
<br>
-- <br>
Cheers,<br>
Radu.<div class="im"><br>
<br>
<br>
On 09/16/2010 11:14 AM, Aitor Aldomā wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
yes, I think so...Thanks.<br>
<br>
Cheers,<br>
Aitor<br>
<br>
On Thu, Sep 16, 2010 at 5:13 PM, Radu Bogdan Rusu <<a href="mailto:rusu@willowgarage.com" target="_blank">rusu@willowgarage.com</a><br></div><div><div></div><div class="h5">
<mailto:<a href="mailto:rusu@willowgarage.com" target="_blank">rusu@willowgarage.com</a>>> wrote:<br>
<br>
Aitor, Sabrina,<br>
<br>
I'll try to fix this today. Your platforms are standard 32bit right?<br>
<br>
Cheers,<br>
Radu.<br>
<br>
<br>
On 09/16/2010 07:04 AM, Aitor Aldomā wrote:<br>
<br>
Hi Sabrina,<br>
<br>
adding -DEIGEN_DONT_VECTORIZE didnt work for me either. Then I found<br>
this document:<br>
<a href="http://eigen.tuxfamily.org/index.php?title=FAQ#I_disabled_vectorization.2C_but_I.27m_still_getting_annoyed_about_alignment_issues.21" target="_blank">http://eigen.tuxfamily.org/index.php?title=FAQ#I_disabled_vectorization.2C_but_I.27m_still_getting_annoyed_about_alignment_issues.21</a><br>
<br>
Define EIGEN_DONT_ALIGN<br>
Or define both EIGEN_DONT_VECTORIZE and<br>
EIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT<br>
<br>
Tried all possible combinations but it didnt work :) I was still<br>
becoming the assertion. So, what I did in the end (not a very clean<br>
solution) was,<br>
<br>
Added this to CMakeList.txt in pcl:<br>
add_definitions(-DEIGEN_DISABLE_UNALIGNED_ARRAY_ASSERT<br>
-DEIGEN_DONT_VECTORIZE)<br>
add_definitions(-DEIGEN_DONT_ALIGN)<br>
<br>
and finally comment the line in MapBase.h giving the assertion.<br>
//ei_assert(EIGEN_IMPLIES(ei_traits<Derived>::Flags&AlignedBit,<br>
(size_t(m_data)&0xf)==0)<br>
// && "data is not aligned");<br>
<br>
and remake PCL...<br>
<br>
No idea which side effects this might have but its working fine now.<br>
Anyway, just a temporal dirty solution.<br>
<br>
Hope it works for you too.<br>
Regards<br>
<br>
Aitor<br>
<br>
On Thu, Sep 16, 2010 at 12:40 PM, Sabrina Kliegl<br>
<<a href="mailto:skliegl@get.upb.de" target="_blank">skliegl@get.upb.de</a> <mailto:<a href="mailto:skliegl@get.upb.de" target="_blank">skliegl@get.upb.de</a>><br></div></div><div><div></div><div class="h5">
<mailto:<a href="mailto:skliegl@get.upb.de" target="_blank">skliegl@get.upb.de</a> <mailto:<a href="mailto:skliegl@get.upb.de" target="_blank">skliegl@get.upb.de</a>>>> wrote:<br>
<br>
Hi Radu,<br>
<br>
I am facing a similar problem as Aitor (I am using the<br>
tabletop_object_detector). Which CMakeLists.txt do I have to<br>
modify<br>
exactly?<br>
<br>
I tried the CMakeLists.txt in pcl then "make clean" and<br>
"make", but<br>
still get<br>
the failed assertion.<br>
<br>
Regards,<br>
Sabrina<br>
<br>
Am Dienstag 14 September 2010 10:42:22 schrieb Radu Bogdan Rusu:<br>
> Aitor,<br>
><br>
> Thanks for the bug report. We're aware of the eigen 32-bit<br>
> allocation/vectorization problems and are working on fixing<br>
these. In the<br>
> meantime, you can enable EIGEN_DONT_VECTORIZE<br>
(-DEIGEN_DONT_VECTORIZE to<br>
> add_definitions in CMakeLists.txt), which will fix these issues<br>
on 32bit<br>
> architectures.<br>
><br>
> Cheers,<br>
> Radu.<br>
><br>
> On 09/14/2010 11:29 AM, Aitor Aldomā wrote:<br>
> > Hi everyone,<br>
> ><br>
> > was using the PCL to detect the dominant plane from a point<br>
cloud,<br>
> > similar to what is done in package tabletop_object_detector<br>
using<br>
> > SACSegmentation or SACSegmentationFromNormals and one assertion<br>
fails:<br>
> ><br>
> ><br>
<br>
/home/aa/ros/stacks/point_cloud_perception/eigen3/include/Eigen/src/Core/<br>
> >MapBase.h:192: void Eigen::MapBase<Derived>::checkSanity() const<br>
[with<br>
> > Derived = Eigen::Map<Eigen::Matrix<float, 4, 1, 0, 4, 1>, 1,<br>
> > Eigen::Stride<0, 0><br>
> ><br>
> > >]: Assertion `(!(ei_traits<Derived>::Flags&AlignedBit) ||<br>
> ><br>
> > ((size_t(m_data)&0xf)==0)) && "data is not aligned"' failed.<br>
> ><br>
> > Tried the example from:<br>
> ><br>
<a href="http://www.ros.org/wiki/pcl/Tutorials/Planar%20model%20segmentation" target="_blank">http://www.ros.org/wiki/pcl/Tutorials/Planar%20model%20segmentation</a><br>
> ><br>
> > and the error persists but it does not occur always, just every<br>
now and<br>
> > then :S I am testing on a 32-Bit Ubuntu operating system.<br>
> ><br>
> > Any idea? I would really appreciate it.<br>
> ><br>
> > Thanks in advance.<br>
> > Aitor<br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > ros-users mailing list<br>
> > <a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a> <mailto:<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a>><br></div></div>
<mailto:<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a> <mailto:<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a>>><div class="im"><br>
<br>
> > <a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
><br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a> <mailto:<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a>><br></div>
<mailto:<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a> <mailto:<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a>>><div class="im"><br>
<br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a> <mailto:<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a>><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br>
<br></div>
--<div class="im"><br>
| Radu Bogdan Rusu | <a href="http://rbrusu.com/" target="_blank">http://rbrusu.com/</a><br>
<br>
<br>
</div></blockquote>
<br>
</blockquote></div><br>