Comment 1 for bug 669407

Revision history for this message
Sander van Dijk (sgvandijk) wrote :

This is due to the SimpleLocalizer using Eigen members wrongly. It can be solved by adding the following line in the public section of Localizer/SimpleLocalizer/simplelocalizer.hh (for instance at line 101):

      EIGEN_MAKE_ALIGNED_OPERATOR_NEW

However, it is probably better to use the KalmanLocalizer instead of SimpleLocalizer instead, because the SimpleLocalizer actually doesn't do much useful. For this, change:

  SLocalizer::initialize<SimpleLocalizer>();

To

  SLocalizer::initialize<KalmanLocalizer>();

in examples/helloworld/HelloWorldAgent/init.cc. This is changed in the bzr repository, and fixed in the next version. Also see attached patch.