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

Revision history [back]

click to hide/show revision 1
initial version

"the particles all of the sudden got spread out (scattered all over the screen)" - this sounds like AMCL is going into an initialization state of some sort.

This doesn't just happen all by itself; there's probably something happening that triggers this behaviour. If you figure out what that is, you'll probably learn why AMCL is getting lost. Looking at the log output from AMCL is probably a good start.

A quick look at the AMCL wiki page shows two things that could be triggering this from outside of the AMCL node:

  • The initialpose topic reinitializes the particle filter with a specific mean and covariance
  • The global_localization service causes AMCL to disperse the particles in the filter throughout the map