The SimpleNavigationServer provides a simple navigation server, which does not bind a map representation to Move Base Flex. It combines the execution classes which use the mbf_abstract_core/AbstractController, mbf_abstract_core/AbstractPlanner and the mbf_abstract_core/AbstractRecovery base classes as plugin interfaces. More...
#include <simple_navigation_server.h>
Public Member Functions | |
virtual bool | initializeControllerPlugin (const std::string &name, const mbf_abstract_core::AbstractController::Ptr &controller_ptr) |
Empty init method. Nothing to initialize. More... | |
virtual bool | initializePlannerPlugin (const std::string &name, const mbf_abstract_core::AbstractPlanner::Ptr &planner_ptr) |
Empty init method. Nothing to initialize. More... | |
virtual bool | initializeRecoveryPlugin (const std::string &name, const mbf_abstract_core::AbstractRecovery::Ptr &behavior_ptr) |
Pure virtual method, the derived class has to implement. Depending on the plugin base class, some plugins need to be initialized! More... | |
virtual mbf_abstract_core::AbstractController::Ptr | loadControllerPlugin (const std::string &controller_type) |
Loads the plugin associated with the given controller type parameter. More... | |
virtual mbf_abstract_core::AbstractPlanner::Ptr | loadPlannerPlugin (const std::string &planner_type) |
Loads the plugin associated with the given planner_type parameter. More... | |
virtual mbf_abstract_core::AbstractRecovery::Ptr | loadRecoveryPlugin (const std::string &recovery_type) |
Loads a Recovery plugin associated with given recovery type parameter. More... | |
SimpleNavigationServer (const TFPtr &tf_listener_ptr) | |
Constructor. More... | |
virtual | ~SimpleNavigationServer () |
Destructor. More... | |
Public Member Functions inherited from mbf_abstract_nav::AbstractNavigationServer | |
AbstractNavigationServer (const TFPtr &tf_listener_ptr) | |
virtual void | callActionExePath (ActionServerExePath::GoalHandle goal_handle) |
virtual void | callActionGetPath (ActionServerGetPath::GoalHandle goal_handle) |
virtual void | callActionMoveBase (ActionServerMoveBase::GoalHandle goal_handle) |
virtual void | callActionRecovery (ActionServerRecovery::GoalHandle goal_handle) |
virtual void | cancelActionExePath (ActionServerExePath::GoalHandle goal_handle) |
virtual void | cancelActionGetPath (ActionServerGetPath::GoalHandle goal_handle) |
virtual void | cancelActionMoveBase (ActionServerMoveBase::GoalHandle goal_handle) |
virtual void | cancelActionRecovery (ActionServerRecovery::GoalHandle goal_handle) |
bool | getRobotPose (geometry_msgs::PoseStamped &robot_pose) |
virtual void | initializeServerComponents () |
virtual mbf_abstract_nav::AbstractControllerExecution::Ptr | newControllerExecution (const std::string plugin_name, const mbf_abstract_core::AbstractController::Ptr plugin_ptr) |
virtual mbf_abstract_nav::AbstractPlannerExecution::Ptr | newPlannerExecution (const std::string plugin_name, const mbf_abstract_core::AbstractPlanner::Ptr plugin_ptr) |
virtual mbf_abstract_nav::AbstractRecoveryExecution::Ptr | newRecoveryExecution (const std::string plugin_name, const mbf_abstract_core::AbstractRecovery::Ptr plugin_ptr) |
virtual void | startActionServers () |
virtual void | stop () |
virtual | ~AbstractNavigationServer () |
The SimpleNavigationServer provides a simple navigation server, which does not bind a map representation to Move Base Flex. It combines the execution classes which use the mbf_abstract_core/AbstractController, mbf_abstract_core/AbstractPlanner and the mbf_abstract_core/AbstractRecovery base classes as plugin interfaces.
Definition at line 63 of file simple_navigation_server.h.
mbf_simple_nav::SimpleNavigationServer::SimpleNavigationServer | ( | const TFPtr & | tf_listener_ptr | ) |
Constructor.
tf_listener_ptr | Shared pointer to a common TransformListener |
Definition at line 46 of file simple_navigation_server.cpp.
|
virtual |
Destructor.
Definition at line 138 of file simple_navigation_server.cpp.
|
virtual |
Empty init method. Nothing to initialize.
name | The name of the controller |
controller_ptr | pointer to the controller object which corresponds to the name param |
Implements mbf_abstract_nav::AbstractNavigationServer.
Definition at line 105 of file simple_navigation_server.cpp.
|
virtual |
Empty init method. Nothing to initialize.
name | The name of the planner |
planner_ptr | pointer to the planner object which corresponds to the name param |
Implements mbf_abstract_nav::AbstractNavigationServer.
Definition at line 77 of file simple_navigation_server.cpp.
|
virtual |
Pure virtual method, the derived class has to implement. Depending on the plugin base class, some plugins need to be initialized!
name | The name of the recovery behavior |
behavior_ptr | pointer to the recovery behavior object which corresponds to the name param |
Implements mbf_abstract_nav::AbstractNavigationServer.
Definition at line 130 of file simple_navigation_server.cpp.
|
virtual |
Loads the plugin associated with the given controller type parameter.
controller_type | The type of the controller plugin |
Implements mbf_abstract_nav::AbstractNavigationServer.
Definition at line 86 of file simple_navigation_server.cpp.
|
virtual |
Loads the plugin associated with the given planner_type parameter.
planner_type | The type of the planner plugin to load. |
Implements mbf_abstract_nav::AbstractNavigationServer.
Definition at line 59 of file simple_navigation_server.cpp.
|
virtual |
Loads a Recovery plugin associated with given recovery type parameter.
recovery_name | The name of the Recovery plugin |
Implements mbf_abstract_nav::AbstractNavigationServer.
Definition at line 112 of file simple_navigation_server.cpp.
|
private |
Definition at line 136 of file simple_navigation_server.h.
|
private |
Definition at line 135 of file simple_navigation_server.h.
|
private |
Definition at line 137 of file simple_navigation_server.h.