SLAM - detect initial position
Hello there, I just performed SLAM with navigation_stack and V-REP simulator. As I know for know, we should give initial position of the robot so that AMCL performs localization and costmaps are generated properly.
My question is: Is there a way to skip the procedure of the user giving the initial position?
You can set the initial pose estimate in your AMCL launch file. It's still the "user" that provides it, but at least you don't have to do it in RViz. What I usually do is set the initial pose to
[0 0 0]
and then start the robot roughly at the origin of the SLAM-generated map. It quickly converges.