31 #ifndef ROBOT_CONTROLLERS_INTERFACE_CONTROLLER_LOADER_H 32 #define ROBOT_CONTROLLERS_INTERFACE_CONTROLLER_LOADER_H 43 class ControllerManager;
59 bool stop(
bool force);
83 #endif // ROBOT_CONTROLLERS_INTERFACE_CONTROLLER_MANAGER_H bool stop(bool force)
This calls through to controller, saves state locally.
pluginlib::ClassLoader< robot_controllers::Controller > plugin_loader_
void update(const ros::Time &time, const ros::Duration &dt)
If controller is active, calls through to controller.
ControllerPtr getController()
Returns the controller held by this loader.
bool start()
This calls through to controller, saves state locally.
Base class for a controller manager.
ControllerLoader()
Initialize this loader.
bool init(const std::string &name, ControllerManager *manager)
Load the controller.
boost::shared_ptr< ControllerLoader > ControllerLoaderPtr
bool isActive()
Returns true if the controller is active.
bool reset()
This calls through to controller.
Class for loading and managing a single controller.
ControllerPtr controller_