-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move the monolithic move_base action out of mbf_abstract_nav #16
Comments
If this state machine code is going to be moved, I would suggest moving it to another node to keep the mbf_costmap_2d_nav server clean:
This way, the MoveBase action can be deprecated: https://github.com/magazino/move_base_flex/blob/advanced_naming/mbf_msgs/action/MoveBase.action |
mmm.... 🤔 I don't want to deprecate mbf_msgs/MoveBase action! The first idea behind MBF is to allow external executives to manage navigation, but we also want to overcome the limitations of current move_base, by providing a much more detailed MoveBase action. A different thing is the move_base_msgs/MoveBase action provided by the move_base_legacy_relay.py scripts, that it's there to allow us to claim that MBF is fully backward-compatible with current move_base, and yes, is deprecated (though not clearly stated... will fix that in the wiki) |
Ok. If I understand this correctly: you want to provide one action to move the base right? Why not make a separate node then (or even package) that exposes this functionality and calls the other actions of the server? This way, this node can be used for all servers and you make a clear separation between the server and the statemachine logic. Basically this is transferring the statemachine logic (that is now in the astract server), to a separate node. In order to be backwards compatible and provide a richer move interface. This can then also be used as an example for others to implement there own statemachine. |
🤔 |
Right, this actions get implemented as a MoveBaseAction object, same way as Controller/Planner/RecoveryAction are. Not sure if it's the cleanest option... but makes sense to me, and so I'll let it as it is by now. @reinzor suggestion of a external node makes sense too, though, so I'll keep the idea in mind |
It's obviously anything but "abstract". Most simple change is to put it on mbf_costmap_2d_nav, but as @reinzor suggested, putting it in a separated node that calls the other actions would extend this feature to whatever navigation system we use, not only costmap-based navigation.
The text was updated successfully, but these errors were encountered: