Control Libraries 6.3.4
|
Factory to create a shared pointer to a controller. More...
#include <ControllerFactory.hpp>
Public Member Functions | |
std::shared_ptr< IController< CartesianState > > | create_controller (CONTROLLER_TYPE type, const std::list< std::shared_ptr< ParameterInterface > > ¶meters, unsigned int) |
std::shared_ptr< IController< JointState > > | create_controller (CONTROLLER_TYPE type, const std::list< std::shared_ptr< ParameterInterface > > ¶meters, unsigned int dimensions) |
std::shared_ptr< IController< CartesianState > > | create_controller (CONTROLLER_TYPE type, const std::list< std::shared_ptr< ParameterInterface > > ¶meters, const robot_model::Model &robot_model) |
std::shared_ptr< IController< JointState > > | create_controller (CONTROLLER_TYPE type, const std::list< std::shared_ptr< ParameterInterface > > ¶meters, const robot_model::Model &robot_model) |
Static Public Member Functions | |
static std::shared_ptr< IController< S > > | create_controller (CONTROLLER_TYPE type, unsigned int dimensions=6) |
Create a controller of the desired type. More... | |
static std::shared_ptr< IController< S > > | create_controller (CONTROLLER_TYPE type, const std::list< std::shared_ptr< state_representation::ParameterInterface > > ¶meters, unsigned int dimensions=6) |
Create a controller of the desired type with initial parameters. More... | |
static std::shared_ptr< IController< S > > | create_controller (CONTROLLER_TYPE type, const robot_model::Model &robot_model) |
Create a controller of the desired type with an associated robot model. More... | |
static std::shared_ptr< IController< S > > | create_controller (CONTROLLER_TYPE type, const std::list< std::shared_ptr< state_representation::ParameterInterface > > ¶meters, const robot_model::Model &robot_model) |
Create a controller of the desired type with initial parameters and an associated robot model. More... | |
Factory to create a shared pointer to a controller.
S | Underlying state type of the controller |
Definition at line 18 of file ControllerFactory.hpp.
|
static |
Create a controller of the desired type with an associated robot model.
type | The type of controller |
robot_model | The robot model to associate with the controller. This is used to infer the dimensionality of the controller and influence controller behaviour depending on the controller type. |
Definition at line 73 of file ControllerFactory.hpp.
std::shared_ptr< IController< CartesianState > > controllers::ControllerFactory< CartesianState >::create_controller | ( | CONTROLLER_TYPE | type, |
const std::list< std::shared_ptr< ParameterInterface > > & | parameters, | ||
const robot_model::Model & | robot_model | ||
) |
Definition at line 69 of file ControllerFactory.cpp.
std::shared_ptr< IController< JointState > > controllers::ControllerFactory< JointState >::create_controller | ( | CONTROLLER_TYPE | type, |
const std::list< std::shared_ptr< ParameterInterface > > & | parameters, | ||
const robot_model::Model & | robot_model | ||
) |
Definition at line 82 of file ControllerFactory.cpp.
std::shared_ptr< IController< JointState > > controllers::ControllerFactory< JointState >::create_controller | ( | CONTROLLER_TYPE | type, |
const std::list< std::shared_ptr< ParameterInterface > > & | parameters, | ||
unsigned int | dimensions | ||
) |
Definition at line 43 of file ControllerFactory.cpp.
std::shared_ptr< IController< CartesianState > > controllers::ControllerFactory< CartesianState >::create_controller | ( | CONTROLLER_TYPE | type, |
const std::list< std::shared_ptr< ParameterInterface > > & | parameters, | ||
unsigned int | |||
) |
Definition at line 14 of file ControllerFactory.cpp.
|
static |
Create a controller of the desired type with initial parameters and an associated robot model.
type | The type of controller |
parameters | A list of parameters to set on the controller |
robot_model | The robot model to associate with the controller |
|
static |
Create a controller of the desired type with initial parameters.
type | The type of controller |
parameters | A list of parameters to set on the controller |
dimensions | The dimensionality of the controller (6 for Cartesian space, number of joints for joint space) |
|
static |
Create a controller of the desired type.
type | The type of controller |
dimensions | The dimensionality of the controller (6 for Cartesian space, number of joints for joint space) |
Definition at line 66 of file ControllerFactory.hpp.