Base class for a controller manager.
More...
#include <controller_manager.h>
|
void | execute (const robot_controllers_msgs::QueryControllerStatesGoalConstPtr &goal) |
| Action callback. More...
|
|
void | getState (robot_controllers_msgs::QueryControllerStatesResult &result) |
| Fill in the current state of controllers. More...
|
|
bool | load (const std::string &name) |
| Load a controller. More...
|
|
Base class for a controller manager.
Definition at line 48 of file controller_manager.h.
robot_controllers::ControllerManager::ControllerManager |
( |
| ) |
|
virtual robot_controllers::ControllerManager::~ControllerManager |
( |
| ) |
|
|
inlinevirtual |
bool robot_controllers::ControllerManager::addJointHandle |
( |
JointHandlePtr & |
j | ) |
|
void robot_controllers::ControllerManager::execute |
( |
const robot_controllers_msgs::QueryControllerStatesGoalConstPtr & |
goal | ) |
|
|
private |
HandlePtr robot_controllers::ControllerManager::getHandle |
( |
const std::string & |
name | ) |
|
Get the handle associated with a particular joint/controller name.
- Parameters
-
name | The name of the joint/controller. |
Definition at line 213 of file controller_manager.cpp.
JointHandlePtr robot_controllers::ControllerManager::getJointHandle |
( |
const std::string & |
name | ) |
|
Get the joint handle associated with a particular joint name.
- Parameters
-
name | The name of the joint. |
This is mainly a convienence function.
Definition at line 233 of file controller_manager.cpp.
void robot_controllers::ControllerManager::getState |
( |
robot_controllers_msgs::QueryControllerStatesResult & |
result | ) |
|
|
private |
Startup the controller manager, loading default controllers.
- Parameters
-
nh | The proper node handle for finding parameters. |
- Returns
- 0 if success, negative values are error codes.
Note: JointHandles should be added before this is called.
Definition at line 41 of file controller_manager.cpp.
bool robot_controllers::ControllerManager::load |
( |
const std::string & |
name | ) |
|
|
private |
int robot_controllers::ControllerManager::requestStart |
( |
const std::string & |
name | ) |
|
|
virtual |
int robot_controllers::ControllerManager::requestStop |
( |
const std::string & |
name | ) |
|
|
virtual |
void robot_controllers::ControllerManager::reset |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files: