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

If you use amcl for localization, there is a service called global_localization that will disperse the particles ramdomly at startup (oposed to giving amcl a initialpose). However as far as I know, you then have to move around with the robot for some time for the particles to "align"/localize. From that point on you can give a goal to move_base and it will navigate there. Likely you will have to order the first movments via some other node, as move_base will very likely not find a path as its lost without localization from amcl.

If you use amcl for localization, there is a service called global_localization that will disperse the particles ramdomly at startup (oposed to giving amcl a an initialpose). However as far as I know, you then have to move around with the robot for some time for the particles to "align"/localize. From that point on you can give a goal to move_base and it will navigate there. Likely you will have to order the first movments via some other node, as move_base will very likely not find a path as its lost without localization from amcl. amcl.

If you use amcl for localization, there is a service called global_localization that will disperse the particles ramdomly at startup (oposed to giving amcl an initialpose). However as far as I know, you then have to move around with the robot for some time for the particles to "align"/localize. From that point on you can give a goal to move_base and it will navigate there. Likely Possibly you will have to order the first movments movements via some other node, as move_base will very likely not find a path as its lost without localization from amcl.amcl but maybe it still works. There is also a way to give a initialpose to amcl that practically includes the hole map, might be worth a try as well.

If you use amcl for localization, there is a service called global_localization that will disperse the particles ramdomly at startup (oposed to giving amcl an initialpose). However as far as I know, you then have to move around with the robot for some time for the particles to "align"/localize. From that point on you can give a goal to move_base and it will navigate there. Possibly you will have to order the first movements via some other node, as move_base will very likely possibly get into trouble with ever changing localization at this point, or amcl will not find even publish a path as its lost without localization from amcl but maybe it still works. until some quality parameter is fullfiled. There is also a way to give a initialpose to amcl that practically includes the hole map, might be worth a try as well.