controller_descriptions.h
Go to the documentation of this file.
1 /**
2  * This file is part of ArmarX.
3  *
4  * ArmarX is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * ArmarX is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * @author Fabian Reister ( fabian dot reister at kit dot edu )
17  * @date 2022
18  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
19  * GNU General Public License
20  */
21 
22 #pragma once
23 // BO
24 //#include "armarx/control/common/control_law/KeypointsImpedanceController.h"
25 //#include "armarx/control/common/control_law/TaskspaceAdmittanceController.h"
26 //#include "armarx/control/common/control_law/TaskspaceImpedanceController.h"
27 //#include "armarx/control/common/control_law/TaskspaceMixedImpedanceVelocityController.h"
28 // AronDTO
30 #include <armarx/control/njoint_controller/task_space/ControllerInterface.h>
31 //#include <armarx/control/common/control_law/aron/KeypointControllerConfig.aron.generated.h>
32 #include <armarx/control/common/control_law/aron/CollisionAvoidanceControllerConfig.aron.generated.h>
33 #include <armarx/control/common/control_law/aron/TaskspaceAdmittanceControllerConfig.aron.generated.h>
34 #include <armarx/control/common/control_law/aron/TaskspaceImpedanceControllerConfig.aron.generated.h>
35 #include <armarx/control/common/control_law/aron/TaskspaceMixedImpedanceVelocityControllerConfig.aron.generated.h>
36 #include <armarx/control/common/control_law/aron/TaskspaceVelocityControllerConfig.aron.generated.h>
38 #include <armarx/control/njoint_controller/joint_space/aron/WholeBodyTrajectoryControllerConfig.aron.generated.h>
39 
41 {
42  // template <>
43  // struct ControllerDescription<armarx::control::common::ControllerType::TSAdm>
44  // {
45  // using AronDTO = armarx::control::arondto::TaskSpaceAdmittanceControllerConfig;
46 
47  // constexpr static const char* name = "NJointTSAdmittance";
48  // };
49 
50  template <>
52  {
53  using AronDTO =
54  armarx::control::common::control_law::arondto::TaskspaceImpedanceControllerConfigDict;
55 
56  using Proxy = armarx::control::NJointTaskspaceImpedanceControllerInterfacePrx;
57  // using BO = armarx::control::common::control_law::TaskspaceImpedanceController::ConfigDict;
58 
59  constexpr static const char* name = "NJointTaskspaceImpedanceController";
60  };
61 
62  template <>
64  {
65  using AronDTO = armarx::control::common::control_law::arondto::
66  CollisionAvoidanceTSImpedanceControllerConfig;
67 
68  constexpr static const char* name = "NJointTaskspaceCollisionAvoidanceImpedanceController";
69  };
70 
71  template <>
73  {
74  using AronDTO = armarx::control::common::control_law::arondto::
75  TaskspaceMixedImpedanceVelocityControllerConfigDict;
76 
77  constexpr static const char* name = "NJointTaskspaceMixedImpedanceVelocityController";
78  };
79 
80  template <>
82  {
83  using AronDTO =
84  armarx::control::common::control_law::arondto::TaskspaceVelocityControllerConfigDict;
85 
86  constexpr static const char* name = "NJointTaskspaceVelocityController";
87  };
88 
89  template <>
91  {
92  using AronDTO = armarx::control::common::control_law::arondto::
93  CollisionAvoidanceTSMixedImpedanceVelocityControllerConfig;
94 
95  constexpr static const char* name =
96  "NJointTaskspaceCollisionAvoidanceMixedImpedanceVelocityController";
97  };
98 
99  template <>
101  {
102  using AronDTO =
103  armarx::control::common::control_law::arondto::TaskspaceAdmittanceControllerConfigDict;
104 
105 
106  constexpr static const char* name = "NJointTaskspaceAdmittanceController";
107  };
108 
109  // template <>
110  // struct ControllerDescription<armarx::control::common::ControllerType::KptImpedance>
111  // {
112  // using AronDTO = armarx::control::common::control_law::arondto::KeypointControllerConfig;
113 
114  // // using BO = armarx::control::common::control_law::KeypointsImpedanceController::Config;
115 
116  // constexpr static const char* name = "NJointKeypointsImpedanceController";
117  // };
118 
119  // template <>
120  // struct ControllerDescription<armarx::control::common::ControllerType::TSBiImpedance>
121  // {
122  // using AronDTO =
123  // armarx::control::common::control_law::arondto::TaskspaceImpedanceControllerConfigDict;
124 
125  // using BO = armarx::control::common::control_law::TaskspaceImpedanceController::ConfigDict;
126 
127  // constexpr static const char* name = "NJointTaskspaceBimanualImpedanceController";
128  // };
129 
130  template <>
133  {
134  using AronDTO = armarx::control::njoint_controller::joint_space::
135  whole_body_trajectory_controller::arondto::Config;
136 
137  using BO = armarx::control::njoint_controller::joint_space::
138  whole_body_trajectory_controller::arondto::Config;
139 
140  constexpr static const char* name = "NJointWholeBodyTrajectoryController";
141  };
142 
143 } // namespace armarx::control::client
armarx::control::client::ControllerDescription< armarx::control::common::ControllerType::TSVel >::AronDTO
armarx::control::common::control_law::arondto::TaskspaceVelocityControllerConfigDict AronDTO
Definition: controller_descriptions.h:84
armarx::control::common::ControllerType::TSImp
@ TSImp
armarx::control::client
This file is part of ArmarX.
Definition: ComponentPlugin.cpp:20
armarx::control::client::ControllerDescription< armarx::control::common::ControllerType::TSImpCol >::AronDTO
armarx::control::common::control_law::arondto::CollisionAvoidanceTSImpedanceControllerConfig AronDTO
Definition: controller_descriptions.h:66
armarx::control::common::ControllerType::TSAdm
@ TSAdm
armarx::control::client::ControllerDescription
Definition: ControllerDescription.h:103
armarx::control::common::ControllerType::WholeBodyTrajectoryController
@ WholeBodyTrajectoryController
type.h
armarx::control::client::ControllerDescription< armarx::control::common::ControllerType::TSImp >::AronDTO
armarx::control::common::control_law::arondto::TaskspaceImpedanceControllerConfigDict AronDTO
Definition: controller_descriptions.h:54
armarx::control::common::ControllerType::TSMixImpVelCol
@ TSMixImpVelCol
armarx::control::common::ControllerType::TSMixImpVel
@ TSMixImpVel
armarx::control::client::ControllerDescription< armarx::control::common::ControllerType::TSImp >::Proxy
armarx::control::NJointTaskspaceImpedanceControllerInterfacePrx Proxy
Definition: controller_descriptions.h:56
armarx::control::client::ControllerDescription< armarx::control::common::ControllerType::TSMixImpVel >::AronDTO
armarx::control::common::control_law::arondto::TaskspaceMixedImpedanceVelocityControllerConfigDict AronDTO
Definition: controller_descriptions.h:75
ControllerDescription.h
armarx::control::client::ControllerDescription< armarx::control::common::ControllerType::WholeBodyTrajectoryController >::BO
armarx::control::njoint_controller::joint_space::whole_body_trajectory_controller::arondto::Config BO
Definition: controller_descriptions.h:138
armarx::control::common::ControllerType::TSVel
@ TSVel
armarx::control::client::ControllerDescription< armarx::control::common::ControllerType::WholeBodyTrajectoryController >::AronDTO
armarx::control::njoint_controller::joint_space::whole_body_trajectory_controller::arondto::Config AronDTO
Definition: controller_descriptions.h:135
armarx::control::common::ControllerType::TSImpCol
@ TSImpCol
armarx::control::client::ControllerDescription< armarx::control::common::ControllerType::TSAdm >::AronDTO
armarx::control::common::control_law::arondto::TaskspaceAdmittanceControllerConfigDict AronDTO
Definition: controller_descriptions.h:103
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:27
armarx::control::client::ControllerDescription< armarx::control::common::ControllerType::TSMixImpVelCol >::AronDTO
armarx::control::common::control_law::arondto::CollisionAvoidanceTSMixedImpedanceVelocityControllerConfig AronDTO
Definition: controller_descriptions.h:93