46 const std::vector<std::string>& joint_names)
50 controller.
type_ = type;
51 controller.
joints_ = joint_names;
63 if (searched_ros_controller && searched_ros_controller->
type_ == new_controller.
type_)
77 if (ros_control_config.name_ == controller_name)
79 searched_ros_controller = &ros_control_config;
84 return searched_ros_controller;
89 for (std::vector<ControllerInfo>::iterator controller_it =
controllers_.begin(); controller_it !=
controllers_.end();
92 if (controller_it->name_ == controller_name)
ControllerInfo * findControllerByName(const std::string &controller_name)
std::vector< ControllerInfo > controllers_
Controllers config data.
bool deleteController(const std::string &controller_name)
bool addController(const std::string &name, const std::string &type, const std::vector< std::string > &joint_names)
Adds a controller to controllers_ vector.
std::vector< std::string > joints_