moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
Public Member Functions | |
MoveItSimpleControllerManager ()=default | |
~MoveItSimpleControllerManager () override=default | |
void | initialize (const rclcpp::Node::SharedPtr &node) override |
moveit_controller_manager::MoveItControllerHandlePtr | getControllerHandle (const std::string &name) override |
Return a given named controller. More... | |
void | getControllersList (std::vector< std::string > &names) override |
Get the list of known controller names. More... | |
void | getActiveControllers (std::vector< std::string > &names) override |
Get the list of active controllers. More... | |
virtual void | getLoadedControllers (std::vector< std::string > &names) |
void | getControllerJoints (const std::string &name, std::vector< std::string > &joints) override |
Report the joints a controller operates on, given the controller name. More... | |
moveit_controller_manager::MoveItControllerManager::ControllerState | getControllerState (const std::string &name) override |
Report the state of a controller, given its name. More... | |
bool | switchControllers (const std::vector< std::string > &, const std::vector< std::string > &) override |
Activate and deactivate controllers. More... | |
Public Member Functions inherited from moveit_controller_manager::MoveItControllerManager | |
MoveItControllerManager () | |
Default constructor. This needs to have no arguments so that the plugin system can construct the object. More... | |
virtual | ~MoveItControllerManager () |
Protected Attributes | |
rclcpp::Node::SharedPtr | node_ |
std::map< std::string, ActionBasedControllerHandleBasePtr > | controllers_ |
std::map< std::string, moveit_controller_manager::MoveItControllerManager::ControllerState > | controller_states_ |
Definition at line 87 of file moveit_simple_controller_manager.cpp.
|
default |
|
overridedefault |
|
inlineoverridevirtual |
Get the list of active controllers.
If there is only one controller in the system, this will be active. When multiple controllers exist, and they operate on overlapping sets of joints, not all controllers should be active at the same time.
Implements moveit_controller_manager::MoveItControllerManager.
Definition at line 240 of file moveit_simple_controller_manager.cpp.
|
inlineoverridevirtual |
Return a given named controller.
Implements moveit_controller_manager::MoveItControllerManager.
Definition at line 215 of file moveit_simple_controller_manager.cpp.
|
inlineoverridevirtual |
Report the joints a controller operates on, given the controller name.
In order to decide which controller to use, it is necessary to reason about the joints a controller operates on.
Implements moveit_controller_manager::MoveItControllerManager.
Definition at line 256 of file moveit_simple_controller_manager.cpp.
|
inlineoverridevirtual |
Get the list of known controller names.
Implements moveit_controller_manager::MoveItControllerManager.
Definition at line 228 of file moveit_simple_controller_manager.cpp.
|
inlineoverridevirtual |
Report the state of a controller, given its name.
Implements moveit_controller_manager::MoveItControllerManager.
Definition at line 274 of file moveit_simple_controller_manager.cpp.
|
inlinevirtual |
Definition at line 248 of file moveit_simple_controller_manager.cpp.
|
inlineoverridevirtual |
Implements moveit_controller_manager::MoveItControllerManager.
Definition at line 94 of file moveit_simple_controller_manager.cpp.
|
inlineoverridevirtual |
Activate and deactivate controllers.
Implements moveit_controller_manager::MoveItControllerManager.
Definition at line 280 of file moveit_simple_controller_manager.cpp.
|
protected |
Definition at line 289 of file moveit_simple_controller_manager.cpp.
|
protected |
Definition at line 288 of file moveit_simple_controller_manager.cpp.
|
protected |
Definition at line 287 of file moveit_simple_controller_manager.cpp.