ControllerInterface.ice
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  * @package RobotControllers::RobotNJointControllersInterface
17  * @author Jianfeng Gao ( jianfeng dot gao at kit dot edu )
18  * @date 2021
19  * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
20  * GNU General Public License
21  */
22 
23 #pragma once
24 
25 #include <ArmarXCore/interface/core/BasicTypes.ice>
26 #include <ArmarXCore/interface/serialization/Eigen.ice>
27 
28 #include <RobotAPI/interface/core/Trajectory.ice>
29 #include <RobotAPI/interface/units/RobotUnit/NJointController.ice>
30 
32 #include <armarx/control/interface/ConfigurableNJointControllerInterface.ice>
34 
35 
36 module armarx
37 {
38  module control
39  {
40  // class KeypointMPControllerConfig extends NJointTaskspaceAdmittanceControllerConfig
41  // {
42  // // dmp configuration
43  // int numKeypoints;
44  // string controlParamJsonFile = "";
45  //
46  // float keypointKp;
47  // float keypointKi;
48  // float keypointKd;
49  // float maxControlValue;
50  // float maxDerivation;
51  // float filterCoeff;
52  // bool isRigid;
53  // Eigen::VectorXf pointCtrlMask;
54  // Eigen::VectorXf initialKeypointPosition;
55  // };
56 
57 
58  // interface KeypointMPControllerInterface extends NJointTaskspaceAdmittanceControllerInterface, MPPoolInterface
59  // {
60  // void setKeypoints(Eigen::VectorXf xyz);
61  // void resetKeypoints(int n_points, float keypoint_stiffness, bool is_rigid, Eigen::VectorXf ctrl_mask, Eigen::VectorXf init_keypoints_position);
62  // void toggleMP(bool enableMP);
63  // };
64 
68 
72 
76 
80 
84 
88 
92 
93  // interface NJointKeypointsAdmittanceMPControllerInterface extends NJointKeypointsAdmittanceControllerInterface, MPPoolInterface
94  // {};
95 
96  // interface NJointKeypointsImpedanceMPControllerInterface extends NJointKeypointsImpedanceControllerInterface, MPPoolInterface
97  // {};
98 
102  {
103  void setCurveProjection(
104  Eigen::Vector3f curve_proj_point, float proj_value, Eigen::Vector3f curve_vec);
105  Eigen::Vector3f getCurveKeypointPosition();
106  };
107 
110  {
111  void updateBiKACConfig(armarx::aron::data::dto::Dict config);
112  armarx::aron::data::dto::Dict getBiKACConfig();
113  };
114  }; /// control
115 }; /// armarx
ControllerInterface.ice
armarx::control::NJointTaskspaceCollisionAvoidanceMixedImpedanceVelocityControllerInterface
Definition: ControllerInterface.ice:105
armarx::control::NJointTaskspaceImpedanceControllerInterface
Definition: ControllerInterface.ice:48
armarx::control::NJointTSAdmittanceMPControllerInterface
Definition: ControllerInterface.ice:65
armarx::control::NJointTSMixedImpedanceVelocityMPControllerInterface
Definition: ControllerInterface.ice:81
armarx::MPPoolInterface
Definition: MPPoolInterface.ice:38
armarx::control::NJointBiKACInterface
Definition: ControllerInterface.ice:108
armarx::control::NJointTSImpedanceMPControllerInterface
Definition: ControllerInterface.ice:69
armarx::control::NJointTSVelocityMPControllerInterface
Definition: ControllerInterface.ice:85
armarx::control::NJointTaskspaceMixedImpedanceVelocityControllerInterface
Definition: ControllerInterface.ice:79
MPPoolInterface.ice
armarx::control::NJointKeypointsImpedanceControllerInterface
Definition: ControllerInterface.ice:130
armarx::control::NJointTaskspaceAdmittanceControllerInterface
Definition: ControllerInterface.ice:111
armarx::control::NJointTaskspaceCollisionAvoidanceImpedanceControllerInterface
Definition: ControllerInterface.ice:60
armarx::control::NJointTaskspaceVelocityControllerInterface
Definition: ControllerInterface.ice:92
armarx::control::NJointTSCollisionAvoidanceImpedanceMPControllerInterface
Definition: ControllerInterface.ice:73
armarx::control::NJointTSCollisionAvoidanceMixedImpedanceVelocityMPControllerInterface
Definition: ControllerInterface.ice:89
control
This file is part of ArmarX.
armarx::control::NJointKVILImpedanceMPControllerInterface
Definition: ControllerInterface.ice:99
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::control::NJointTSSafetyImpedanceMPControllerInterface
Definition: ControllerInterface.ice:77
armarx::control::NJointTaskspaceSafetyImpedanceControllerInterface
Definition: ControllerInterface.ice:66