how to publish data to /odom using python?
Hello all,
I'm trying to write a script for Robot Butler. BUt i'm facing a few problems. Once the Robot has served enough people, i want th robot to go back to its inital position to get it filled. I have saved the initial position, but I don't know how to use this information to make the robot to go to its initial position.
Can someone help me?
Asked by krishna43 on 2015-05-28 21:05:37 UTC
Comments
I'm not sure how publishing odom exactly relates to this problem. If you "saved the initial position" there likely is already odom. Can you elaborate on what exactly you did and what you want to achieve?
Asked by dornhege on 2015-05-29 02:26:45 UTC
Hey,
I'm trying to make the robot return to the initial position once it served enough people. i tried saving the initial position and publishing the initial position to the /odom topic. But it didn;t work.
Is there any other way i can make the Robot go back to the initial position?
Asked by krishna43 on 2015-05-31 14:33:44 UTC
/odom only reports, where the robot is, not where it goes. You need to use navigation components like move_base. Basically the same that you used to serve people.
Asked by dornhege on 2015-06-01 03:38:48 UTC
Thanks for your suggestion. I will look into it.
And do i need to use any path planning algorithms or inverse dynamics to move Robot from point B to point A?
Asked by krishna43 on 2015-06-01 20:16:51 UTC
You will probably need something like that. That is what move_base is for. But you should already have that if your robot drove away somewhere in the first place.
Asked by dornhege on 2015-06-02 03:18:09 UTC
So, i just need to publish data to move_base topic,Right?
Asked by krishna43 on 2015-06-02 10:57:14 UTC