how to automatically restart the AMCL with the python code
I am trying to give a 2d_pose for the robot through initalpose topic. And I can see the robot is getting placed right on the position.
But it's not initializing the AMCL particles as it do on rviz with the green marker. I am trying various ways to give 2d pose for robot through python script and want to initialize AMCL on the pose.(Because the application needs giving a 2d pose for the robot from different locations)
Can someone help me with that.