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

Revision history [back]

I know how AMCL should work.

After looking at the code I realised that the current AMCL implementation, get stuck while sampling uniformly from the free space in the map for global localisation (it generated more than a million invalid samples before I killed it). A quick fix I did was to look for free space in the map, store the corresponding indices in an array, and sample from the index array uniformly.