Python code for sending navigation goal to TurtleBot
I would like to write a Class Navi in Python that loads a known yaml map, runs amcl and move_base to move the TurtleBot to the goal. I know I can do it with rviz, but I want to do it using Python codes so I can incorporate them with other codes. There is a tutorial: http://ros.org/wiki/navigation/Tutorials/SendingSimpleGoals but the code is in C++ and it does not load the map and does not do localization and also is not tailor made for TurtleBot.
It will be best if someone already have such code. Otherwise I shall appreciate if you can teach me what do I need to import and how to call the libraries. Thank you very much for your help.