Adding a make_plan service to move_base
I need a makeplan service for movebase that takes a map as a parameter and returns the plan for the specified map, without changing the map used by move_base to compute the robot's trajectory. To clarify, I need this service as a way to choose among a set of maps.
I would appreciate any suggestions on the best way to do this.
Note that I realize there is a way to create a plugin for movebase that inherits from navcore::BaseGlobalPlanner and set is as the 'baseglobalplanner' param when I launch movebase, but I prefer inheriting from movebases's global_planner::GlobalPlanner if possible, since I only need to add functionality and would prefer using all the other methods of the original class.
I am using melodic on Ubuntu 18.04
Thank you !
Asked by skeren on 2019-10-17 10:25:19 UTC
Comments
PRs are always welcome.
Asked by stevemacenski on 2019-10-17 12:08:46 UTC
Can you tell me what PR stands for ?
Asked by skeren on 2019-10-17 12:12:04 UTC
pull request, you're welcome to add that functionality and then submit for acceptance into move_base codebase.
Asked by stevemacenski on 2019-10-17 12:29:12 UTC
Ok - thank you! I will try that, but I am not sure how much time that would take. Any suggestions in the meantime ? Is my only option for now to copy the code from GlobalPlanner from planner_core and add my functionality to the copied class ?
Asked by skeren on 2019-10-17 12:38:47 UTC