MoveItMultiControllerManager discovers all running ros_control node and delegates member function to the corresponding MoveItControllerManager instances.
More...
|
virtual void | getActiveControllers (std::vector< std::string > &names) |
| Read all active, managed controllers from discovered interfaces. More...
|
|
virtual moveit_controller_manager::MoveItControllerHandlePtr | getControllerHandle (const std::string &name) |
| Find appropriate interface and delegate handle creation. More...
|
|
virtual void | getControllerJoints (const std::string &name, std::vector< std::string > &joints) |
| Find appropriate interface and delegate joints query. More...
|
|
virtual void | getControllersList (std::vector< std::string > &names) |
| Read all managed controllers from discovered interfaces. More...
|
|
virtual ControllerState | getControllerState (const std::string &name) |
| Find appropriate interface and delegate state query. More...
|
|
virtual bool | switchControllers (const std::vector< std::string > &activate, const std::vector< std::string > &deactivate) |
| delegates switch to all known interfaces. Stops of first failing switch. More...
|
|
| MoveItControllerManager () |
|
virtual | ~MoveItControllerManager () |
|
|
typedef std::map< std::string, moveit_ros_control_interface::MoveItControllerManagerPtr > | ControllerManagersMap |
|
|
void | discover () |
| Poll ROS master for services and filters all controller_manager/list_controllers instances Throttled down to 1 Hz, controller_managers_mutex_ must be locked externally. More...
|
|
|
static std::string | getNamespace (const std::string &name) |
| Get namespace (including leading and trailing slashes) from controller name. More...
|
|
MoveItMultiControllerManager discovers all running ros_control node and delegates member function to the corresponding MoveItControllerManager instances.
Definition at line 404 of file controller_manager_plugin.cpp.
void moveit_ros_control_interface::MoveItMultiControllerManager::discover |
( |
| ) |
|
|
inlineprivate |
Poll ROS master for services and filters all controller_manager/list_controllers instances Throttled down to 1 Hz, controller_managers_mutex_ must be locked externally.
Definition at line 415 of file controller_manager_plugin.cpp.
virtual void moveit_ros_control_interface::MoveItMultiControllerManager::getActiveControllers |
( |
std::vector< std::string > & |
names | ) |
|
|
inlinevirtual |
virtual moveit_controller_manager::MoveItControllerHandlePtr moveit_ros_control_interface::MoveItMultiControllerManager::getControllerHandle |
( |
const std::string & |
name | ) |
|
|
inlinevirtual |
virtual void moveit_ros_control_interface::MoveItMultiControllerManager::getControllerJoints |
( |
const std::string & |
name, |
|
|
std::vector< std::string > & |
joints |
|
) |
| |
|
inlinevirtual |
virtual void moveit_ros_control_interface::MoveItMultiControllerManager::getControllersList |
( |
std::vector< std::string > & |
names | ) |
|
|
inlinevirtual |
virtual ControllerState moveit_ros_control_interface::MoveItMultiControllerManager::getControllerState |
( |
const std::string & |
name | ) |
|
|
inlinevirtual |
static std::string moveit_ros_control_interface::MoveItMultiControllerManager::getNamespace |
( |
const std::string & |
name | ) |
|
|
inlinestaticprivate |
Get namespace (including leading and trailing slashes) from controller name.
- Parameters
-
- Returns
- extracted namespace or / is none is found
Definition at line 453 of file controller_manager_plugin.cpp.
virtual bool moveit_ros_control_interface::MoveItMultiControllerManager::switchControllers |
( |
const std::vector< std::string > & |
activate, |
|
|
const std::vector< std::string > & |
deactivate |
|
) |
| |
|
inlinevirtual |
boost::mutex moveit_ros_control_interface::MoveItMultiControllerManager::controller_managers_mutex_ |
|
private |
ros::Time moveit_ros_control_interface::MoveItMultiControllerManager::controller_managers_stamp_ |
|
private |
The documentation for this class was generated from the following file: